Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@module-federation/fmr
Advanced tools
> npm i -D @module-federation/fmr
const { ModuleFederationPlugin } = require("webpack").container;
// import the plugin
const { MFLiveReloadPlugin } = require("@module-federation/fmr");
module.exports = {
//...webpack configs
plugins: [
// configure the plugin
new MFLiveReloadPlugin({
port: 8081, // the port your app runs on
container: "dashboard", // the name of your app, must be unique
standalone: false, // false uses chrome extention
}),
new ModuleFederationPlugin({
// ...module federation configs
}),
],
};
Install the chrome extension Module Federation Live Reload
(currently under review) - you can use standalone:true
Start your webpack development server and if everything goes according to plan, you should see this output in your console.
> MF - starting server
> MF - connecting to containers
The API for this plugin consists of three configs:
standalone: false
in the MFLiveReloadPlugin config.Sometimes a browser refresh may be necessary to open a socket connection to the MF Live Reload dev server.
FAQs
## Installation
The npm package @module-federation/fmr receives a total of 12,291 weekly downloads. As such, @module-federation/fmr popularity was classified as popular.
We found that @module-federation/fmr demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.