Malicious Code Injection in surya-kue7-ruro: npm Package Vulnerability
Summary
MAL-2025-109381: Malicious code in surya-kue7-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 surya-kue7-ruro package is part of the npm ecosystem, typically used for JavaScript development. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. These packages often include scripts that automatically generate and publish derivative packages, potentially compromising the integrity of the npm ecosystem.
Vulnerability Detail
This vulnerability originates from malicious code embedded within the surya-kue7-ruro package. The code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which can lead to the pollution of the npm registry. This behavior is designed to inflate developer reputation scores for token rewards, posing significant risks to developers who may unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall surya-kue7-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 surya-kue7-ruro package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The surya-kue7-ruro package contains a significant vulnerability due to malicious code that alters package metadata and floods the npm registry. It is essential to update or remove this package to protect your application from potential threats. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for surya-kue7-ruro →
FAQ
The surya-kue7-ruro package is an npm package that is part of a token reward campaign, often used in JavaScript development.
The vulnerability can lead to the installation of malicious code that modifies your package.json file and pollutes the npm registry, potentially compromising your application's integrity.
If you have installed the surya-kue7-ruro package, it is recommended to update it to the latest version or remove it from your project until a secure version is available.
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 any signup.