Malicious Code Injection in putri-tek19-breki: A Threat to npm Packages
Summary
MAL-2025-75060: Malicious code in putri-tek19-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 'putri-tek19-breki' 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. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in 'putri-tek19-breki' stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to significant security risks, including the potential for dependency confusion and the spread of malicious code across projects that rely on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-tek19-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-tek19-breki' package in your project. Additionally, you can use the following command to uninstall it: npm uninstall putri-tek19-breki.
Conclusion
The 'putri-tek19-breki' package poses a significant risk due to its malicious code designed to manipulate npm package metadata. It is crucial to remove this package from your projects and utilize tools like Vulert to monitor for vulnerabilities in real-time. Staying vigilant and proactive in managing dependencies is essential for maintaining application security.
See every vulnerability recorded for putri-tek19-breki →
FAQ
The malicious code modifies package metadata and republishes variants to inflate developer reputation scores.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just package-lock.json. Visit Vulert Scanner to check your application.
Using compromised packages can lead to security breaches, data leaks, and the introduction of malicious code into your application.
Regularly audit your dependencies, use tools like Vulert for monitoring, and avoid using packages from untrusted sources.
Remove the package immediately and check your application for any signs of compromise. Consider using Vulert to monitor for any further vulnerabilities.