Malicious Code Injection in deviamanda Package: npm Vulnerability Overview
Summary
MAL-2025-171106: Malicious code in deviamanda (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 deviamanda package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. It is designed to facilitate the automatic generation and publication of derivative packages. However, this package has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the deviamanda package, which includes scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior is intended to inflate developer reputation scores for token rewards, leading to pollution of the npm registry with potentially harmful packages. The malicious payload can have serious ramifications, including the risk of unintentional dependency on compromised packages, which can introduce security risks into applications that rely on them.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall deviamanda
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 remove the deviamanda package from your project by executing the following command: npm uninstall deviamanda. This will prevent any malicious code from executing while you assess the situation.
Conclusion
The deviamanda package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry with compromised packages. It is essential for developers to take immediate action by updating or removing the package to safeguard their applications.
See every vulnerability recorded for deviamanda →
FAQ
The deviamanda package is an npm package involved in the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The vulnerability can lead to the introduction of malicious packages into your application, potentially compromising its security and integrity.
If you are using deviamanda, it is crucial to update to a patched version if available or remove the package from your project to avoid security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities without signup at the Vulert playground.
To prevent similar vulnerabilities, regularly audit your dependencies, keep them updated, and use tools like Vulert to monitor for vulnerabilities in real-time.