Malicious Code Injection in vocational_wolf-teagooddev: npm Package Vulnerability
Summary
MAL-2025-110612: Malicious code in vocational_wolf-teagooddev (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 'vocational_wolf-teagooddev' package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with malicious packages. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The presence of such packages poses a significant risk to developers and users relying on npm for secure package management.
Vulnerability Detail
This vulnerability originates from a malicious payload embedded within the 'vocational_wolf-teagooddev' package. The payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the continuous republishing of variants that pollute the npm registry. This behavior can compromise the integrity of the npm ecosystem, making it difficult for developers to trust the packages they use.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vocational_wolf-teagooddev
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 'vocational_wolf-teagooddev' package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before installation.
Conclusion
The 'vocational_wolf-teagooddev' package poses a significant threat due to its malicious code that alters package files and floods the npm registry. It is crucial for developers to remove this package and monitor their applications for vulnerabilities using tools like Vulert. Staying informed and proactive is key to maintaining a secure development environment.
See every vulnerability recorded for vocational_wolf-teagooddev →
FAQ
The package contains malicious code that modifies package.json files and republishes variants to pollute the npm registry.
You can use Vulert's playground at Vulert Scanner to monitor and alert for open-source vulnerabilities in your application without requiring any signup.
You should uninstall the package immediately using 'npm uninstall vocational_wolf-teagooddev' and check for any other affected packages.
Yes, consider looking for other npm packages that provide similar functionality but have a better reputation and no known vulnerabilities.
Vulert uses the package-lock.json file to monitor and alert in real-time for open-source vulnerabilities, ensuring your software remains secure.