Malicious Code Injection in putri-poke9: A Threat to npm Ecosystem
Summary
MAL-2025-164591: Malicious code in putri-poke9 (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-poke9' is part of the npm ecosystem, which is widely used for JavaScript package management. It is associated with the tea.xyz token reward campaign, which has been known to flood npm with malicious packages. These packages often include scripts designed to manipulate package metadata and inflate developer reputation scores for token rewards. The presence of such malicious packages poses a significant risk to developers and users relying on npm for secure and reliable software components.
Vulnerability Detail
The vulnerability in 'putri-poke9' originates from its association with a campaign that deploys autopublish scripts. These scripts modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can potentially compromise the integrity of dependent applications. The malicious payload can affect any project that inadvertently includes this package, leading to security risks and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-poke9
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 workaround, you can avoid using 'putri-poke9' and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package-lock.json file for any suspicious packages and remove them promptly. You can also use tools like Vulert to monitor your dependencies for vulnerabilities in real-time.
Conclusion
The 'putri-poke9' package poses a significant threat to the npm ecosystem due to its malicious behavior aimed at manipulating package metadata. It is essential for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to ensure the security of their applications.
See every vulnerability recorded for putri-poke9 →
FAQ
'putri-poke9' is an npm package that has been identified as malicious, associated with a campaign to inflate developer reputation scores through the creation of derivative packages.
The vulnerability can lead to the inclusion of malicious code in your project, compromising its security and potentially affecting users who rely on your software.
You should immediately uninstall 'putri-poke9' using 'npm uninstall putri-poke9' and review your package dependencies for any other malicious packages.
Regularly audit your dependencies, use trusted packages, and consider using tools like Vulert to monitor for vulnerabilities in real-time.
Vulert is a tool that monitors your package-lock.json file for open-source vulnerabilities in real-time. You can use the Vulert playground to check if your application is affected by known vulnerabilities without needing to install any software.