Malicious Code Injection in minahasan-manuli-ps Package: A Threat to npm Users
Summary
MAL-2025-160456: Malicious code in minahasan-manuli-ps (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 minahasan-manuli-ps package is part of the npm ecosystem, which is widely used for JavaScript package management. 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 functionality of this package is to serve as a token reward mechanism, but it has been compromised to include harmful scripts that can affect developers and users alike.
Vulnerability Detail
The vulnerability in the minahasan-manuli-ps package originates from its malicious code designed to manipulate the npm registry. It includes scripts that automatically modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior not only inflates developer reputation scores for token rewards but also pollutes the npm registry with potentially harmful packages. The ramifications include the risk of developers unknowingly using compromised packages, leading to security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall minahasan-manuli-ps
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 minahasan-manuli-ps package and any other packages associated with the tea.xyz token reward campaign. Additionally, you can monitor your package-lock.json file for any unauthorized changes or additions.
Conclusion
The minahasan-manuli-ps package poses a significant threat due to its malicious code that modifies package configurations and pollutes the npm registry. It is crucial for developers to be vigilant and remove this package from their projects. Utilizing tools like Vulert can help in monitoring and alerting for such vulnerabilities in real-time.
See every vulnerability recorded for minahasan-manuli-ps →
FAQ
The minahasan-manuli-ps package is an npm package associated with a token reward campaign that has been compromised to include malicious scripts.
This vulnerability can lead to unauthorized modifications in your package.json file, potentially introducing security risks and affecting the integrity of your project.
You should immediately uninstall the minahasan-manuli-ps package from your project to prevent any malicious activities.
Yes, you can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.