Malicious Code Injection in emanuelramos Package: npm Vulnerability Overview
Summary
MAL-2025-171143: Malicious code in emanuelramos (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 emanuelramos package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit npm's publishing capabilities. It is designed to generate and publish derivative packages with randomized names, which can inflate developer reputation scores for token rewards in the tea.xyz protocol. The malicious behavior of this package poses significant risks to developers and users relying on npm for secure package management.
Vulnerability Detail
The vulnerability in the emanuelramos package originates from its inclusion in a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only pollutes the npm registry but also compromises the integrity of the packages within it, potentially leading to security risks for developers and users who inadvertently install these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall emanuelramos
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 emanuelramos package and replace it with alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before installation.
Conclusion
The emanuelramos package poses a significant security risk due to its malicious code designed to exploit npm's publishing capabilities. It is crucial for developers to remove this package from their projects and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for emanuelramos →
FAQ
The emanuelramos package is an npm package that has been identified as part of a malicious campaign to exploit npm's publishing system.
The malicious code can modify your package.json file, remove private flags, and publish derivative packages, potentially compromising your project's integrity.
You should uninstall the emanuelramos package immediately using 'npm uninstall emanuelramos' and check your project for any other affected packages.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.