Malicious Code Injection in irma-tapai6-breki: A Threat to npm Users
Summary
MAL-2025-73551: Malicious code in irma-tapai6-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 'irma-tapai6-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 typically include scripts that automatically generate and publish derivative packages, potentially compromising the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'irma-tapai6-breki' stems from its malicious code that modifies the package.json file to remove private flags and change version numbers. It generates random package names and continuously republishes variants, leading to pollution of the npm registry. This behavior not only affects the reputation of developers but also poses a risk to users who may inadvertently install these compromised packages, leading to potential security breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall irma-tapai6-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 'irma-tapai6-breki' package and monitor your project for any dependencies that may indirectly include it. Regularly check your package-lock.json file for any suspicious packages.
Conclusion
The 'irma-tapai6-breki' package poses a significant threat to npm users due to its malicious code designed to manipulate package metadata and pollute the npm registry. It is crucial to remove this package and monitor your dependencies to maintain the security of your projects.
See every vulnerability recorded for irma-tapai6-breki →
FAQ
'irma-tapai6-breki' is a malicious npm package that is part of a campaign to inflate developer reputation scores through the automatic generation and publication of derivative packages.
The vulnerability can lead to the installation of compromised packages, which may introduce security risks and affect the integrity of your application.
You should uninstall the 'irma-tapai6-breki' package immediately using 'npm uninstall irma-tapai6-breki' and review your project for any other potentially malicious dependencies.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Yes, tools like Vulert can help you monitor and alert for open-source vulnerabilities in your software, ensuring that you are aware of any potential threats.