Malicious Code Injection in outstanding_primate-appteadev: A Threat to npm Packages
Summary
MAL-2025-106850: Malicious code in outstanding_primate-appteadev (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 outstanding_primate-appteadev package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and sharing of code among developers. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to significant security risks.
Vulnerability Detail
The vulnerability in outstanding_primate-appteadev originates from its association with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages contain scripts that automatically modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only inflates developer reputation scores but also pollutes the npm registry, making it difficult for developers to find legitimate packages. The ramifications include potential exposure of sensitive data and the risk of executing malicious code within applications that depend on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall outstanding_primate-appteadev
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 outstanding_primate-appteadev package altogether and seek alternative packages that provide similar functionality without the associated risks.
Conclusion
The outstanding_primate-appteadev package poses a significant security risk due to its malicious code designed to manipulate npm's publishing system. It is crucial for developers to remove this package and monitor their dependencies for similar vulnerabilities to maintain the integrity and security of their applications.
See every vulnerability recorded for outstanding_primate-appteadev →
FAQ
The malicious code modifies package.json files to remove private flags and generates random package names, leading to the pollution of the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By using the Vulert playground at Vulert Scanner, you can check if your application is affected without any signup.
Using this package can expose your application to malicious code execution, data leaks, and reliance on compromised packages that may affect your application's integrity.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and ensure that you only install packages from trusted sources.
Immediately uninstall the package and review your project for any potential security issues that may have arisen from its use.