Malicious Code Injection in putri-poke13: A Threat to npm Ecosystem
Summary
MAL-2025-164571: Malicious code in putri-poke13 (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-poke13' is part of the npm ecosystem, which is a popular platform for sharing and managing JavaScript packages. This package is associated with the tea.xyz token reward campaign, which has been known to flood npm with malicious packages. Its primary function is to facilitate the distribution of code, but it has been compromised to include harmful scripts that manipulate package metadata and inflate developer reputation scores.
Vulnerability Detail
The vulnerability in 'putri-poke13' originates from its design to include autopublish scripts that automatically generate and publish derivative packages with randomized names. This malicious behavior modifies the package.json file by removing private flags, altering version numbers, and creating random package names. The continuous republishing of these variants leads to pollution of the npm registry, potentially affecting developers and users who rely on the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-poke13
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, you can avoid using 'putri-poke13' and any packages that depend on it. Regularly audit your npm packages using 'npm audit' to identify and address vulnerabilities in your project.
Conclusion
The 'putri-poke13' package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and floods the registry. It is essential to remove this package and remain vigilant about the security of your dependencies to protect your projects.
See every vulnerability recorded for putri-poke13 →
FAQ
The vulnerability involves malicious code that modifies package metadata and floods the npm registry with derivative packages.
You can use Vulert, which monitors open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
You should uninstall the package immediately using 'npm uninstall putri-poke13' and review your dependencies for any other vulnerabilities.
No, there are no patches available for this package due to its malicious nature. The best course of action is to remove it entirely.
Regularly audit your npm packages, use trusted sources, and keep your dependencies updated to minimize the risk of vulnerabilities.