Malicious Code Injection in putri-poke16: A Threat to npm Users
Summary
MAL-2025-164574: Malicious code in putri-poke16 (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-poke16' is part of the npm ecosystem, typically used for various JavaScript applications. It has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the tea.xyz token reward system. This package, like others in the campaign, is designed to automatically generate and publish derivative packages with altered metadata, which can lead to significant issues in the npm registry.
Vulnerability Detail
The vulnerability in 'putri-poke16' originates from its malicious design, which includes scripts that modify the package.json file to remove private flags and change version numbers. This allows the package to continuously republish variants with randomized names, effectively polluting the npm registry. The ramifications include potential security risks for developers who unknowingly use these packages, as they may inadvertently integrate malicious code into their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-poke16
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 'putri-poke16' and any packages that depend on it. Regularly audit your package-lock.json file for any signs of malicious packages. Consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'putri-poke16' package poses a significant threat due to its malicious nature, which can compromise the security of applications using it. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to ensure their projects are secure.
See every vulnerability recorded for putri-poke16 →
FAQ
'putri-poke16' is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
The vulnerability allows malicious code to be injected into your application, potentially compromising its security and integrity.
You should uninstall 'putri-poke16' immediately and check for any dependencies that may rely on it.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by vulnerabilities without any signup.