Malicious Code Injection in putri-mangut24-breki Package
Summary
MAL-2025-75015: Malicious code in putri-mangut24-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-mangut24-breki package is part of a series of npm packages that have been linked to 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 is intended to inflate developer reputation scores for token rewards, making the package a potential threat to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the putri-mangut24-breki package arises from malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, contributing to the pollution of the npm registry. The malicious payload is part of a broader strategy to exploit npm for token rewards, posing risks such as reputation damage for developers and the potential for malicious packages to proliferate within the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-mangut24-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 remove the putri-mangut24-breki package from your project by executing the following command: npm uninstall putri-mangut24-breki. This will prevent any malicious code from executing while you seek a permanent fix.
Conclusion
The putri-mangut24-breki package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to take immediate action by updating or removing the package to safeguard their projects. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for putri-mangut24-breki →
FAQ
It is an npm package that has been linked to a malicious campaign aimed at manipulating the npm registry for token rewards.
The malicious code modifies your package.json file, potentially leading to the publication of unwanted packages and compromising your project's integrity.
You should uninstall the package immediately and check for any unauthorized changes to your package.json file.
Yes, you can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.