Malicious Code Injection in irashi-2awsaa-a Package: npm Vulnerability Overview
Summary
MAL-2025-156896: Malicious code in irashi-2awsaa-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-2awsaa-a 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 the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the irashi-2awsaa-a package originates from its design to include autopublish scripts that modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. The ramifications include pollution of the npm registry and potential exploitation of developers' reputation scores, which can undermine trust in the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall irashi-2awsaa-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 remove the irashi-2awsaa-a package from your project by executing: npm uninstall irashi-2awsaa-a. This will prevent any malicious code from executing while you seek a secure alternative.
Conclusion
The irashi-2awsaa-a package has been identified as containing malicious code that poses a significant risk to the npm ecosystem. It is crucial for developers to take immediate action by updating or removing the package and monitoring their projects for vulnerabilities.
See every vulnerability recorded for irashi-2awsaa-a →
FAQ
The irashi-2awsaa-a package is an npm package involved in the tea.xyz token reward campaign, which automates the generation of derivative packages.
The vulnerability can lead to the pollution of the npm registry and may compromise your project's integrity by introducing malicious code.
If you have installed the irashi-2awsaa-a package, you should uninstall it immediately and check for any other affected packages in your project.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.