Malicious Code Injection in putri-poke6 Package - npm Vulnerability
Summary
MAL-2025-164588: Malicious code in putri-poke6 (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 putri-poke6 package is part of a broader ecosystem within the npm registry, often associated with token reward campaigns. These packages are designed to incentivize developers through rewards for publishing and maintaining packages. However, the putri-poke6 package has been identified as containing malicious code that compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability in the putri-poke6 package arises from the presence of malicious scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, effectively polluting the npm registry. This behavior is part of a scheme to inflate developer reputation scores for token rewards, posing significant risks such as unauthorized access to sensitive data and the potential for further exploitation through derivative packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-poke6
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 putri-poke6 package by using npm's package-lock.json file to lock down your dependencies. This will help ensure that the vulnerable package is not included in your project until a secure version is available.
Conclusion
The putri-poke6 package poses a significant security risk due to its malicious code that alters package configurations and pollutes the npm registry. It is crucial for developers to be vigilant about the packages they use and to regularly check for vulnerabilities. Utilizing tools like Vulert can help in monitoring and managing these risks effectively.
See every vulnerability recorded for putri-poke6 →
FAQ
The putri-poke6 package is an npm package that is part of a token reward campaign, which has been found to contain malicious code.
The malicious code can modify your package.json file, remove private flags, and republish variants, potentially leading to unauthorized access and security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If you have installed putri-poke6, you should uninstall it immediately using 'npm uninstall putri-poke6' and review your dependencies for any other vulnerabilities.
Currently, there are no patches available for the putri-poke6 package. It is recommended to remove the package entirely.