Malicious Code Injection in putra-nasisayur77-breki: npm Package Vulnerability
Summary
MAL-2025-74945: Malicious code in putra-nasisayur77-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 package 'putra-nasisayur77-breki' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to generate and publish derivative packages with randomized names, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability in 'putra-nasisayur77-breki' originates from its malicious payload that modifies the package.json file by removing private flags and changing version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants, polluting the npm registry. This behavior can lead to significant security risks, including the potential for developers to unknowingly use compromised packages, which can further propagate malicious code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putra-nasisayur77-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 'putra-nasisayur77-breki' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using npm audit to identify and address vulnerabilities in your project.
Conclusion
The 'putra-nasisayur77-breki' package has been identified as containing malicious code that poses a significant risk to developers using npm. It is crucial to remove this package and monitor your projects for vulnerabilities to maintain security. Utilizing tools like Vulert can help in real-time monitoring of open-source vulnerabilities.
See every vulnerability recorded for putra-nasisayur77-breki →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the inclusion of malicious code in your project, potentially compromising its security and integrity.
You should remove the package immediately and check for any other dependencies that may have been affected.
You can use tools like npm audit or services like Vulert, which monitors your package-lock.json for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without the need for an account.