Malicious Code Injection in putri-lutis24-breki Package
Summary
MAL-2025-75013: Malicious code in putri-lutis24-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-lutis24-breki package is part of the npm ecosystem, often utilized in JavaScript projects for various functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages. This package, like others in the campaign, is designed to manipulate the npm ecosystem by generating and publishing derivative packages with altered metadata.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the putri-lutis24-breki package. This code is designed to modify the package.json file by removing private flags, altering version numbers, and generating random package names. The intent is to inflate developer reputation scores for token rewards associated with the tea protocol. The continuous republishing of these variants can lead to pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially introducing security risks into their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-lutis24-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-lutis24-breki package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file for any unauthorized changes.
Conclusion
The putri-lutis24-breki package poses a significant risk due to its malicious code that alters package metadata and pollutes the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help in identifying and alerting on such vulnerabilities in real-time.
See every vulnerability recorded for putri-lutis24-breki →
FAQ
It is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The malicious code can alter your package.json file, leading to potential security vulnerabilities and pollution of the npm registry.
You should uninstall the putri-lutis24-breki package immediately and monitor your project for any unauthorized changes.
You can use Vulert to monitor your application for vulnerabilities by analyzing your package-lock.json file. Visit Vulert Scanner to check without any signup.
Currently, there is no patched version available. It is recommended to uninstall the package until a secure version is released.