Malicious Code Injection in putri-sroto86-breki Package
Summary
MAL-2025-75055: Malicious code in putri-sroto86-breki (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-sroto86-breki package is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to automate the generation and publication of derivative packages, often with randomized names, to artificially inflate developer reputation scores. This behavior poses significant risks to the integrity of the npm registry and the security of applications relying on these packages.
Vulnerability Detail
The vulnerability in the putri-sroto86-breki package stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to flood the npm registry with numerous variants of the package, leading to potential pollution of the registry and exploitation of developer reputation systems. The origin of this issue is linked to the tea.xyz token reward campaign, which incentivizes such malicious practices.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-sroto86-breki
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 putri-sroto86-breki package and any other packages that may have been published as part of the same campaign. Regularly audit your dependencies using tools like npm audit or Vulert to identify and mitigate risks associated with malicious packages.
Conclusion
The putri-sroto86-breki package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is crucial to remove this package and any similar ones from your projects to maintain security. Regular audits and monitoring using tools like Vulert can help safeguard your applications from such vulnerabilities.
See every vulnerability recorded for putri-sroto86-breki →
FAQ
It is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated package publishing.
The vulnerability can lead to the pollution of the npm registry and may compromise the security and integrity of your application if it relies on affected packages.
You should uninstall the putri-sroto86-breki package immediately and check for any other related malicious packages in your project.
Yes, you can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for any open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.