Malicious Code Injection in putri-nasipecel46-breki Package
Summary
MAL-2025-75030: Malicious code in putri-nasipecel46-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-nasipecel46-breki package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of this package is to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, its malicious nature poses significant risks to developers and users alike.
Vulnerability Detail
The vulnerability in the putri-nasipecel46-breki package originates from its design to include autopublish scripts that modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The ramifications include compromised developer reputations, potential security risks for applications using these packages, and an overall degradation of the npm ecosystem's integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-nasipecel46-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-nasipecel46-breki package and instead utilize alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The putri-nasipecel46-breki package poses a significant security risk due to its malicious code designed to manipulate package metadata and publish harmful variants. It is crucial for developers to remove this package and utilize safer alternatives while employing tools like Vulert for ongoing vulnerability monitoring.
See every vulnerability recorded for putri-nasipecel46-breki →
FAQ
It is an npm package associated with a token reward campaign that has been identified as malicious.
The vulnerability can lead to the injection of malicious code, compromising your application's security and integrity.
Immediately uninstall the package and review your project for any potential security issues it may have caused.
Yes, tools like Vulert can monitor your package-lock.json file to alert you in real-time for open-source vulnerabilities.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring signup.