Malicious Code Vulnerability in irashi-21a-a Package
Summary
MAL-2025-156888: Malicious code in irashi-21a-a (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 irashi-21a-a package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign aimed at manipulating the npm registry. It is designed to generate and publish derivative packages with randomized names, which can inflate developer reputation scores for token rewards in the tea.xyz protocol. The presence of such malicious packages poses significant risks to developers and users relying on npm for secure package management.
Vulnerability Detail
The vulnerability in the irashi-21a-a package originates from its malicious intent to modify the package.json file. It removes private flags, alters version numbers, and generates random package names, which leads to the continuous republishing of variants that pollute the npm registry. This behavior can compromise the integrity of the npm ecosystem, potentially leading to security risks for applications that depend on these packages. The malicious payload is part of a broader scheme to exploit the npm registry for token rewards, making it crucial for developers to be aware of such vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall irashi-21a-a
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 irashi-21a-a package and any other packages that may be part of the malicious campaign. Monitor your project's dependencies closely and consider using tools like Vulert to check for vulnerabilities in your package-lock.json file. You can also use the Vulert playground at https://vulert.com/scanner to assess if your application is affected by this vulnerability without needing to sign up.
Conclusion
The irashi-21a-a package poses a significant security risk due to its malicious behavior aimed at manipulating the npm registry. Developers should take immediate action to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for irashi-21a-a →
FAQ
The irashi-21a-a package is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
This vulnerability can compromise the integrity of your application by introducing malicious code and potentially leading to security risks.
You should uninstall the irashi-21a-a package immediately and check your project for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without needing to sign up.