Malicious Code Injection in parwo-poke7: A Threat to npm Packages
Summary
MAL-2025-164044: Malicious code in parwo-poke7 (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-poke7 is an npm package that has been identified as part of a malicious campaign targeting the npm ecosystem. 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 manipulate package metadata, leading to potential security risks for developers and users alike.
Vulnerability Detail
The vulnerability in parwo-poke7 stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, which can lead to the pollution of the npm registry. The origin of this vulnerability is linked to a broader campaign that exploits npm's publishing mechanisms, potentially allowing attackers to distribute harmful code under the guise of legitimate packages. The ramifications include compromised developer reputations, the proliferation of malicious packages, and increased difficulty in maintaining the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall parwo-poke7
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 prevent the installation of the parwo-poke7 package by using the following command: npm uninstall parwo-poke7. Additionally, ensure to review your package-lock.json file for any references to this package and remove them as necessary.
Conclusion
The parwo-poke7 package poses a significant threat due to its malicious code that alters package metadata and can lead to the proliferation of harmful packages in the npm registry. It is crucial for developers to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for parwo-poke7 →
FAQ
parwo-poke7 is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the modification of your package.json file, potentially allowing malicious code to be executed and compromising the integrity of your project.
You should immediately uninstall the package using npm uninstall parwo-poke7 and check for any updates or patches that may address the vulnerability.
Yes, you can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities in your software by analyzing your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.