Malicious Code Injection in patria-dradag35-breki Package - npm Vulnerability
Summary
MAL-2025-74873: Malicious code in patria-dradag35-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 patria-dradag35-breki package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, 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 originates from the package's malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to a significant increase in the number of untrustworthy packages, potentially affecting developers who rely on the npm ecosystem for secure package management.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall patria-dradag35-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 patria-dradag35-breki package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The patria-dradag35-breki package has been identified as containing malicious code that poses a significant risk to developers using the npm ecosystem. It is crucial to remove this package from your projects and monitor for similar vulnerabilities in the future. Tools like Vulert can assist in maintaining the security of your applications.
See every vulnerability recorded for patria-dradag35-breki →
FAQ
patria-dradag35-breki is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The vulnerability can lead to the introduction of malicious code into your project, compromising its security and potentially affecting the integrity of the npm registry.
If you have installed the patria-dradag35-breki package, you should uninstall it immediately using 'npm uninstall patria-dradag35-breki' and look for alternative packages.
You can use tools like Vulert, which monitors and alerts you in real-time for open-source vulnerabilities in your software using just the package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.