Malicious Code Injection in putra-kacang80-breki: A Threat to npm Packages
Summary
MAL-2025-74928: Malicious code in putra-kacang80-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-kacang80-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. Its functionality is compromised due to the presence of malicious code that alters package metadata.
Vulnerability Detail
The vulnerability in 'putra-kacang80-breki' originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior can lead to the pollution of the npm registry, potentially affecting developers who rely on these packages and compromising the integrity of their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putra-kacang80-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-kacang80-breki' package in your project. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The 'putra-kacang80-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 to maintain application integrity.
See every vulnerability recorded for putra-kacang80-breki →
FAQ
The malicious code can lead to the pollution of the npm registry, affecting the integrity of applications that depend on this package.
You can check your package.json file or use the command 'npm list putra-kacang80-breki' to see if it is included in your project.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software by analyzing your package-lock.json file.
If immediate removal is not possible, consider isolating the affected package and monitoring your application closely for any unusual behavior.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.