Malicious Code Injection in manaf-asi-man Package - npm Vulnerability
Summary
MAL-2025-159498: Malicious code in manaf-asi-man (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-asi-man package is part of the npm ecosystem, often utilized for various JavaScript projects. This package has been identified as part of a broader malicious campaign targeting developers through the tea.xyz token reward system. It is designed to manipulate package metadata and inflate developer reputation scores by generating numerous derivative packages with random names.
Vulnerability Detail
The vulnerability in the manaf-asi-man package involves the injection of malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and creates random package names, leading to the continuous republishing of these variants on the npm registry. The origin of this vulnerability is linked to a campaign that aims to exploit the npm ecosystem for token rewards, posing significant risks to developers and the integrity of the npm registry.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall manaf-asi-man
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 temporary workaround, you can remove the manaf-asi-man package from your project by executing the following command: npm uninstall manaf-asi-man. This will prevent the execution of the malicious code until a fix is applied.
Conclusion
The manaf-asi-man package poses a significant security risk due to its malicious code that alters package metadata. It is crucial for developers to be aware of this vulnerability, take immediate action to remove the package, and utilize tools like Vulert for ongoing monitoring of their projects.
See every vulnerability recorded for manaf-asi-man →
FAQ
The manaf-asi-man package is an npm package that has been identified as part of a malicious campaign aimed at manipulating developer reputation scores.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially compromising your project's integrity and security.
If you have installed the manaf-asi-man package, it is recommended to uninstall it immediately and monitor your project for any unusual behavior.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. You can check your application using the Vulert playground without any signup at Vulert Scanner.
To prevent future vulnerabilities, regularly update your packages, use tools like Vulert for monitoring, and review package dependencies for any suspicious activity.