Malicious Code Injection in putri-poke10: A Threat to npm Ecosystem
Summary
MAL-2025-164568: Malicious code in putri-poke10 (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-poke10' is part of the npm ecosystem, which is widely used for JavaScript package management. It is designed to facilitate the development and sharing of JavaScript code. However, this package has been identified as part of a malicious campaign that aims to manipulate the npm registry by generating and publishing derivative packages with altered metadata, thereby inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in 'putri-poke10' stems from its association with a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to significant security risks, including the potential for untrusted code execution and the degradation of the npm ecosystem's integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-poke10
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-poke10' and any other packages that are part of the malicious campaign. Additionally, consider using a tool like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by visiting the Vulert playground at https://vulert.com/scanner.
Conclusion
The 'putri-poke10' package poses a significant threat to the npm ecosystem due to its malicious behavior. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. By taking proactive steps, developers can help maintain the integrity and security of their applications.
See every vulnerability recorded for putri-poke10 →
FAQ
The vulnerability involves malicious code that alters package metadata and repackages it to inflate developer reputation scores.
You can check your package.json and package-lock.json files for any references to 'putri-poke10'.
Using compromised packages can lead to untrusted code execution, data breaches, and overall degradation of your application's security.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on security advisories.
Remove the package immediately and consider replacing it with a trusted alternative. Monitor your project for any signs of compromise.