Malicious Code Injection in nurul-pisang77-ruro Package - npm Vulnerability
Summary
MAL-2025-106443: Malicious code in nurul-pisang77-ruro (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 nurul-pisang77-ruro 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 manipulate package metadata.
Vulnerability Detail
The vulnerability in the nurul-pisang77-ruro package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the automatic publication of derivative packages. The origin of this issue is linked to the tea.xyz token reward campaign, which incentivizes the creation of such packages to inflate developer reputation scores. The ramifications include pollution of the npm registry and potential security risks for developers who inadvertently install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nurul-pisang77-ruro
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 avoid using the nurul-pisang77-ruro package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The nurul-pisang77-ruro package contains malicious code that poses a significant risk to developers using npm. It is crucial to remove this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for nurul-pisang77-ruro →
FAQ
The nurul-pisang77-ruro package is an npm package that is part of a malicious campaign aimed at manipulating developer reputation scores through automated package publishing.
The malicious code modifies your package.json file, potentially leading to the installation of compromised packages and pollution of the npm registry.
If you have installed the nurul-pisang77-ruro package, you should uninstall it immediately using npm uninstall nurul-pisang77-ruro and check your project for any other affected packages.
To prevent similar vulnerabilities, regularly update your dependencies, use trusted sources for packages, and consider employing tools like Vulert to monitor your project for vulnerabilities.
Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software by analyzing your package-lock.json file. You can use the Vulert playground to check if your application is affected by vulnerabilities without needing to sign up.