Malicious Code Injection in nina-dradag13-breki: A Threat to npm Users
Summary
MAL-2025-74589: Malicious code in nina-dradag13-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 'nina-dradag13-breki' is part of the npm ecosystem and has been identified as a malicious package linked to the tea.xyz token reward campaign. This package is designed to manipulate the npm registry by generating and publishing derivative packages with randomized names, which can inflate developer reputation scores for token rewards. Its functionality is primarily centered around automating the publication of these malicious packages, posing a significant risk to developers and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'nina-dradag13-breki' originates from its malicious intent to modify 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 to pollute the npm registry. This behavior can lead to a compromised development environment, loss of trust in the npm ecosystem, and potential exploitation of developers who unknowingly use these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nina-dradag13-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 workaround, you can avoid using the 'nina-dradag13-breki' package altogether. If you have dependencies that require it, consider looking for alternative packages that provide similar functionality without the associated risks.
Conclusion
The 'nina-dradag13-breki' package poses a significant threat to npm users due to its malicious behavior of modifying package files and publishing harmful variants. It is essential to remove this package and monitor your project for any vulnerabilities using tools like Vulert to ensure a secure development environment.
See every vulnerability recorded for nina-dradag13-breki →
FAQ
The main risk is that it modifies your package.json file and publishes malicious variants, which can compromise your development environment and the integrity of the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit the Vulert playground at Vulert Scanner to check your application without needing to sign up.
You should immediately uninstall the package using 'npm uninstall nina-dradag13-breki' and check your project for any other potentially malicious packages.
Yes, consider searching for other reputable npm packages that provide similar functionality without the associated risks of malicious behavior.
Vulert uses your package-lock.json file to monitor and alert you in real-time about open-source vulnerabilities, helping you maintain a secure development environment.