Malicious Code Injection in putri-poke17: A Threat to npm Packages
Summary
MAL-2025-164575: Malicious code in putri-poke17 (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 package 'putri-poke17' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards by generating and publishing derivative packages with randomized names. However, it has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability in 'putri-poke17' stems from its malicious code that modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants, polluting the npm registry. This behavior not only affects the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-poke17
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
Currently, the best workaround is to avoid using the 'putri-poke17' package altogether. If it is already in use, ensure to uninstall it immediately and monitor your project for any other potentially compromised packages.
Conclusion
The 'putri-poke17' package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry with compromised packages. It is crucial to remove this package and monitor your project for any vulnerabilities to maintain the integrity of your software.
See every vulnerability recorded for putri-poke17 →
FAQ
'putri-poke17' is an npm package that is part of a token reward campaign but has been identified as malicious due to its harmful code.
The vulnerability can lead to the pollution of your project's dependencies, potentially introducing other malicious packages and compromising your application's security.
You should uninstall the package immediately and check for any other dependencies that may be affected by similar vulnerabilities.
Yes, you can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Regularly audit your dependencies, keep your packages updated, and utilize tools like Vulert to monitor for vulnerabilities in real-time.