Malicious Code Injection in manaf-marzuki-m Package - npm Vulnerability
Summary
MAL-2025-159526: Malicious code in manaf-marzuki-m (npm). Affected versions are not published. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The manaf-marzuki-m package is part of the npm ecosystem and has been identified as part of a malicious campaign targeting developers. This package is designed to manipulate the npm registry by creating and publishing derivative packages with randomized names, which can inflate developer reputation scores for token rewards. The package's functionality is compromised due to its malicious intent, making it a significant risk for users who may unknowingly integrate it into their projects.
Vulnerability Detail
The vulnerability stems from the package's inclusion in a campaign that floods the npm registry with malicious scripts. These scripts, such as auto.js and autopublish.js, are designed to modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior can lead to the pollution of the npm registry and can potentially compromise the integrity of applications that depend on these packages. The malicious payload can also affect the reputation of developers and lead to unintended consequences in the software supply chain.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall manaf-marzuki-m
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a workaround, you can avoid using the manaf-marzuki-m package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time without requiring access to your codebase.
Conclusion
The manaf-marzuki-m package poses a significant risk due to its malicious code that manipulates the npm registry. It is crucial for developers to be vigilant and remove any affected packages from their projects. Utilizing tools like Vulert can help in monitoring for vulnerabilities and ensuring the integrity of your software supply chain.
See every vulnerability recorded for manaf-marzuki-m →
FAQ
The manaf-marzuki-m package is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of applications that rely on this package.
You should uninstall the manaf-marzuki-m package immediately and check for any alternative packages that can fulfill your requirements.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.