Malicious Code Injection in wee_jackal_chocolate-71: A Threat to npm Packages
Summary
MAL-2025-110786: Malicious code in wee_jackal_chocolate-71 (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
wee_jackal_chocolate-71 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is associated with the tea.xyz token reward initiative, which aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious nature of this package lies in its ability to modify critical files and republish variants, thereby polluting the npm ecosystem.
Vulnerability Detail
The vulnerability in wee_jackal_chocolate-71 originates from its design to include autopublish scripts that automatically generate and publish derivative packages with randomized names. This behavior not only compromises the integrity of the npm registry but also modifies the package.json file to remove private flags, change version numbers, and create random package names. The continuous republishing of these variants can lead to a significant increase in malicious packages, potentially affecting developers and users relying on the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wee_jackal_chocolate-71
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 affected package and look for alternative packages that provide similar functionality without the associated risks. Always validate the source and reputation of npm packages before including them in your project.
Conclusion
The discovery of malicious code in wee_jackal_chocolate-71 highlights the importance of vigilance when using open-source packages. By understanding the nature of this vulnerability and taking proactive steps to secure your projects, you can mitigate potential risks associated with malicious packages in the npm ecosystem.
See every vulnerability recorded for wee_jackal_chocolate-71 →
FAQ
wee_jackal_chocolate-71 is an npm package linked to a malicious campaign that aims to inflate developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
You should immediately uninstall the package using the command npm uninstall wee_jackal_chocolate-71 and review your project for any other potentially vulnerable packages.
You can use tools like Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software. You can check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner.
Yes, you should look for alternative packages that provide similar functionality but have a good reputation and are actively maintained.