Malicious Code Injection in Productive Silkworm Z3N Package
Summary
MAL-2025-96042: Malicious code in productive_silkworm_z3n (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 'productive_silkworm_z3n' package is part of the npm ecosystem, often utilized for various development tasks. However, it has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the generation and publication of derivative packages. This package is particularly vulnerable due to its association with scripts that automatically modify and republish itself and other packages.
Vulnerability Detail
The vulnerability stems from the package's involvement in the tea.xyz token reward campaign, which has led to the inclusion of malicious scripts (auto.js, autopublish.js, etc.) that alter the package.json file. These scripts remove private flags, change version numbers, and create random package names, leading to pollution of the npm registry. The ramifications include potential security risks for developers who unknowingly use these packages, as they may inadvertently contribute to the spread of malicious code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall productive_silkworm_z3n
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 'productive_silkworm_z3n' package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The 'productive_silkworm_z3n' package poses a significant risk due to its malicious code injection capabilities. It is essential to remove this package from your projects and monitor for any vulnerabilities using tools like Vulert to ensure the security of your applications.
See every vulnerability recorded for productive_silkworm_z3n →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
The vulnerability can lead to the injection of malicious code, which may compromise your project's security and integrity.
You should remove the 'productive_silkworm_z3n' package from your project immediately and look for alternatives.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected without any signup.