Malicious Code Injection in putri-poke3 Package
Summary
MAL-2025-164585: Malicious code in putri-poke3 (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 putri-poke3 package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. It is primarily used by developers looking to engage with the tea protocol, but its malicious nature poses significant risks to the npm registry and developers' projects.
Vulnerability Detail
The vulnerability in the putri-poke3 package arises from its malicious code, which modifies the package.json file to remove private flags and alters 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 loss of control over package management, potential security breaches, and damage to the reputation of developers who unknowingly use this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-poke3
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, avoid using the putri-poke3 package and any other packages that may be associated with the tea.xyz token reward campaign. Monitor your project's dependencies for any signs of malicious activity and consider using tools like Vulert to keep track of vulnerabilities.
Conclusion
The putri-poke3 package contains malicious code that poses significant risks to developers and the npm ecosystem. It is essential to remove this package from your projects and monitor your dependencies for similar vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for putri-poke3 →
FAQ
The putri-poke3 package is an npm package associated with a token reward campaign that generates and publishes derivative packages to inflate developer reputation scores.
The malicious code modifies your package.json file, removes private flags, and can lead to the proliferation of unwanted packages in your project, potentially compromising security.
You should uninstall the putri-poke3 package immediately using the command npm uninstall putri-poke3 and check your project for any other affected packages.
Yes, regularly audit your dependencies, use trusted sources for packages, and consider using tools like Vulert to monitor for vulnerabilities in real-time.
Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can check if your application is affected by vulnerabilities without needing to install anything.