Malicious Code Injection in parwo-poke40: A Threat to npm Ecosystem
Summary
MAL-2025-164012: Malicious code in parwo-poke40 (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
parwo-poke40 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publishing of derivative packages. It aims to inflate developer reputation scores for rewards associated with the tea protocol. However, it has been identified as containing malicious scripts that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability in parwo-poke40 originates from its inclusion in a campaign that floods the npm ecosystem with malicious packages. These packages contain scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall parwo-poke40
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 parwo-poke40 package and any other packages that are part of the tea.xyz campaign. Regularly audit your dependencies and remove any suspicious packages. You can also use tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The parwo-poke40 package poses a significant risk due to its malicious code designed to manipulate the npm registry. Developers should take immediate action to remove this package and monitor their dependencies for similar vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your projects.
See every vulnerability recorded for parwo-poke40 →
FAQ
parwo-poke40 is an npm package involved in a token reward campaign that has been identified as malicious.
The vulnerability can lead to the pollution of the npm registry and may compromise the security of your project if you use affected packages.
You should remove the package immediately and check for any other potentially compromised packages in your project.
You can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.