Malicious Code Injection in manapf-manta-nutria Package
Summary
MAL-2025-159566: Malicious code in manapf-manta-nutria (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 manapf-manta-nutria package is part of the npm ecosystem, typically used in JavaScript projects for various functionalities. However, this package has been identified as part of a malicious campaign that exploits npm's publishing capabilities to inflate developer reputation scores through automated scripts. The vulnerability stems from its association with the tea.xyz token reward campaign, which has led to the proliferation of malicious packages in the npm registry.
Vulnerability Detail
The vulnerability in the manapf-manta-nutria package involves the presence of malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names to republish variants continuously. The origin of this vulnerability is linked to a broader campaign aimed at manipulating the npm registry, which can lead to significant security risks, including the potential for code injection and the pollution of the npm ecosystem with untrustworthy packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall manapf-manta-nutria
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 manually check your package-lock.json file for any instances of the manapf-manta-nutria package and remove it. Additionally, consider using tools like Vulert to monitor your dependencies for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The manapf-manta-nutria package poses a significant security risk due to its malicious code that modifies project files and repopulates the npm registry with untrustworthy packages. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their projects.
See every vulnerability recorded for manapf-manta-nutria →
FAQ
The manapf-manta-nutria package is an npm package that has been linked to a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially allowing malicious code to be executed in your project.
You should remove the manapf-manta-nutria package from your project immediately to mitigate any security risks.
Yes, you can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.