Malicious Code Injection in erick-saguer78-ruro: A Threat to npm Ecosystem
Summary
MAL-2025-102184: Malicious code in erick-saguer78-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 package 'erick-saguer78-ruro' is part of a malicious campaign targeting the npm ecosystem, specifically linked to the tea.xyz token reward scheme. This package is designed to manipulate npm's publishing process, generating numerous derivative packages that can mislead developers and inflate reputation scores. Its primary functionality revolves around automatic publishing, which is exploited to propagate malicious code.
Vulnerability Detail
The vulnerability in 'erick-saguer78-ruro' originates from its design to include autopublish scripts that modify the package.json file. This manipulation removes private flags, alters version numbers, and creates random package names, leading to the continuous republishing of variants that pollute the npm registry. The ramifications include compromised developer reputations and potential security risks for applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall erick-saguer78-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 'erick-saguer78-ruro' package in your project. 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 needing to sign up.
Conclusion
The 'erick-saguer78-ruro' package poses a significant threat to the npm ecosystem due to its malicious design aimed at manipulating package publishing. It is crucial for developers to be vigilant, remove affected packages, and utilize monitoring tools like Vulert to safeguard their applications.
See every vulnerability recorded for erick-saguer78-ruro →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the package immediately and monitor your project for any further vulnerabilities.
Regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities without any signup.