Malicious Code Injection in putri-poke14: A Threat to npm Users
Summary
MAL-2025-164572: Malicious code in putri-poke14 (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-poke14' is part of the npm ecosystem and is linked to the tea.xyz token reward campaign. This package is designed to manipulate npm's publishing system, generating numerous derivative packages with randomized names. Its primary function is to inflate developer reputation scores in exchange for tea protocol token rewards, making it a target for malicious activities.
Vulnerability Detail
The vulnerability in 'putri-poke14' stems from its malicious code that modifies the package.json file by removing private flags and altering version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to a compromised development environment, where developers may unknowingly install malicious packages, risking their projects and systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-poke14
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 measure, avoid using 'putri-poke14' and any packages that depend on it. Regularly audit your npm packages using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The 'putri-poke14' package poses a significant risk to npm users due to its malicious code that alters package configurations and floods the npm registry. It is essential to remove this package from your projects and monitor your dependencies for vulnerabilities to maintain a secure development environment.
See every vulnerability recorded for putri-poke14 →
FAQ
'putri-poke14' is an npm package associated with a token reward campaign that has been identified as containing malicious code.
The malicious code modifies your package.json, removes private flags, and can lead to the installation of unwanted and potentially harmful packages.
You should uninstall 'putri-poke14' immediately using 'npm uninstall putri-poke14' and check your package-lock.json for any references to it.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.