Malicious Code Injection in putri-getas63-breki: A Threat to npm Ecosystem
Summary
MAL-2025-74980: Malicious code in putri-getas63-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-getas63-breki' is part of a malicious campaign targeting the npm ecosystem, specifically linked to the tea.xyz token reward initiative. This package is designed to manipulate npm's publishing system by generating numerous derivative packages with randomized names, aimed at inflating developer reputation scores for token rewards. Its functionality is primarily centered around autopublishing scripts that automate the creation and publication of these malicious packages.
Vulnerability Detail
The vulnerability in 'putri-getas63-breki' originates from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of these variants, which pollutes the npm registry and can compromise the integrity of the ecosystem. The ramifications include potential security risks for developers who unknowingly use these packages, as well as a degradation of the npm registry's reliability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-getas63-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-getas63-breki' package and any other packages that appear suspicious. Implementing a package monitoring tool like Vulert can help you identify and alert you to vulnerabilities in your dependencies. You can use the Vulert playground at https://vulert.com/scanner to check if your application is affected by this vulnerability without needing to sign up.
Conclusion
The 'putri-getas63-breki' package poses a significant threat to the npm ecosystem due to its malicious behavior. It is crucial for developers to remain vigilant, regularly update their dependencies, and utilize monitoring tools like Vulert to safeguard their projects against such vulnerabilities.
See every vulnerability recorded for putri-getas63-breki →
FAQ
'putri-getas63-breki' is an npm package that is part of a malicious campaign aimed at manipulating the npm ecosystem for token rewards.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising security and the integrity of your application.
You should uninstall the package immediately using 'npm uninstall putri-getas63-breki' and review your project's dependencies for any other suspicious packages.
Yes, regularly monitor your dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time.
You can find detailed information about this vulnerability in the vulnerability report provided by Amazon Inspector and other security resources.