Malicious Code Injection in putra-sroto99-pore: A Threat to npm Ecosystem
Summary
MAL-2025-98261: Malicious code in putra-sroto99-pore (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 'putra-sroto99-pore' is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names. This behavior aims to inflate developer reputation scores for token rewards, making it a significant concern for the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the 'putra-sroto99-pore' package. This code modifies the package.json file to remove private flags, alters version numbers, and creates random package names, which leads to the continuous republishing of these variants. The result is a polluted npm registry, which can mislead developers and compromise the security of applications relying on these packages. The origin of this malicious behavior is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putra-sroto99-pore
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 the 'putra-sroto99-pore' package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package-lock.json file to identify and remove any suspicious packages.
Conclusion
The 'putra-sroto99-pore' package poses a significant threat to the npm ecosystem due to its malicious behavior aimed at manipulating the registry. It is essential for developers to be vigilant and regularly audit their dependencies to maintain the security and integrity of their applications.
See every vulnerability recorded for putra-sroto99-pore →
FAQ
It is an npm package linked to a token reward campaign that generates and publishes derivative packages to inflate developer reputation scores.
The malicious code can compromise the integrity of your application by polluting the npm registry and potentially introducing security risks.
You should uninstall the package immediately and audit your dependencies for any other malicious packages.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.