Malicious Code Injection in manaf-masaya-nutsy: A Threat to npm Packages
Summary
MAL-2025-159540: Malicious code in manaf-masaya-nutsy (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-masaya-nutsy' package is part of the npm ecosystem, which is widely used for managing JavaScript packages. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of such packages is to inflate developer reputation scores through the automatic generation and publication of derivative packages.
Vulnerability Detail
The vulnerability in 'manaf-masaya-nutsy' stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. This behavior is part of a broader scheme to exploit the npm ecosystem for token rewards, posing risks such as reputation damage for developers and potential security threats for users of the affected packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall manaf-masaya-nutsy
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-masaya-nutsy' package from your project by executing the command: 'npm uninstall manaf-masaya-nutsy'. This will prevent any malicious code from executing while you seek a secure alternative.
Conclusion
The 'manaf-masaya-nutsy' package poses a significant risk due to its malicious code that alters package configurations and pollutes the npm registry. It is essential to take immediate action by updating or removing the package to safeguard your projects and maintain the integrity of the npm ecosystem.
See every vulnerability recorded for manaf-masaya-nutsy →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, known for containing malicious code.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and reputation damage.
Yes, tools like Vulert can monitor your package-lock.json file for open-source vulnerabilities in real-time.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.
Consider uninstalling the package as a temporary measure until a secure version is available.