Malicious Code Injection in agus-bubursumsum78-ruro Package - npm Vulnerability
Summary
MAL-2025-99284: Malicious code in agus-bubursumsum78-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 agus-bubursumsum78-ruro package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which are often used to inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the agus-bubursumsum78-ruro package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall agus-bubursumsum78-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 workaround, you can avoid using the affected package by implementing alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project 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 agus-bubursumsum78-ruro package poses a significant risk due to its malicious code that compromises the npm registry. It is crucial for developers to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities. Staying informed and proactive can help mitigate the risks associated with open-source packages.
See every vulnerability recorded for agus-bubursumsum78-ruro →
FAQ
The main issue is that it contains malicious code that modifies package.json and republishes variants to pollute the npm registry.
You can check your package-lock.json file or use tools like Vulert to scan for vulnerabilities in your project.
You should uninstall the package immediately using 'npm uninstall agus-bubursumsum78-ruro' and look for alternatives.
Yes, regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest versions.
While many packages are trustworthy, it's essential to review package details, maintainers, and community feedback before using them.