Malicious Code Injection in vera-tempe9-apidev: A Threat to npm Ecosystem
Summary
MAL-2025-91746: Malicious code in vera-tempe9-apidev (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 'vera-tempe9-apidev' 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 the npm registry by generating and publishing numerous derivative packages with randomized names. The primary functionality of this package is to facilitate token rewards for the tea.xyz protocol, but it has been compromised to inflate developer reputation scores through deceptive practices.
Vulnerability Detail
The vulnerability in 'vera-tempe9-apidev' originates from its association with the tea.xyz token reward campaign. It contains malicious scripts that modify the package.json file to remove private flags, alter version numbers, and create random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses significant risks to developers who may unknowingly use these compromised packages, potentially leading to security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vera-tempe9-apidev
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 measure, you can avoid using 'vera-tempe9-apidev' and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can implement strict package auditing by using tools like npm audit to identify and mitigate vulnerabilities in your dependencies.
Conclusion
The 'vera-tempe9-apidev' package has been identified as a malicious entity within the npm ecosystem, posing significant risks to developers and applications. It is essential to remove this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can aid in maintaining a secure development environment.
See every vulnerability recorded for vera-tempe9-apidev →
FAQ
The main issue is that it contains malicious code that modifies package.json files and republishes variants to inflate developer reputation scores.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By checking your package-lock.json file, you can determine if your application is impacted.
You should remove the package immediately and consider updating to a patched version if available. Always review your dependencies for security risks.
Yes, tools like npm audit and Vulert can help you identify and manage vulnerabilities in your npm packages effectively.
Using compromised packages can lead to security breaches, data loss, and a loss of trust in the software supply chain, affecting both developers and end-users.