Malicious Code Vulnerability in abstract_tern-appteadev: Exploiting npm for Token Rewards
Summary
MAL-2025-99051: Malicious code in abstract_tern-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 package abstract_tern-appteadev is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which are often used to inflate developer reputation scores in exchange for token rewards. The functionality of this package, while initially appearing benign, has been compromised by malicious scripts that alter its behavior.
Vulnerability Detail
The vulnerability in abstract_tern-appteadev originates from malicious code embedded within the package. This code is designed to modify the package.json file by removing private flags, changing version numbers, and generating random package names, primarily themed around Indonesian culture. The malicious payload continuously republishes these variants to pollute the npm registry, potentially leading to reputation damage for developers and security risks for users who inadvertently install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall abstract_tern-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 abstract_tern-appteadev package altogether. If it is already in use, consider removing it from your package.json and running npm install to clean up your dependencies.
Conclusion
The abstract_tern-appteadev package has been compromised by malicious code that alters its functionality and impacts the npm registry. It is essential for developers to take immediate action by removing the affected package and utilizing tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for abstract_tern-appteadev →
FAQ
The vulnerability involves malicious code that modifies package.json and republishes variants to the npm registry, compromising the integrity of the package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.
The risks include potential security breaches, reputation damage for developers, and the possibility of installing compromised packages that could harm your application.
Regularly audit your dependencies, use tools like Vulert for monitoring vulnerabilities, and stay updated with security advisories from the npm registry.
Remove the abstract_tern-appteadev package from your project and check for any updates or patches that may address the vulnerability.