Malicious Code Injection in intan-22 Package: npm Vulnerability Overview
Summary
MAL-2025-156531: Malicious code in intan-22 (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 intan-22 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 in exchange 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 in the intan-22 package stems from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall intan-22
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 intan-22 package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity of packages before installation.
Conclusion
The intan-22 package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is essential to remove this package from your projects and adopt best practices for dependency management to safeguard against such vulnerabilities.
See every vulnerability recorded for intan-22 →
FAQ
The intan-22 package 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 other dependencies.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by the intan-22 vulnerability without requiring any signup.
If you have installed intan-22, it is recommended to uninstall it immediately using 'npm uninstall intan-22' and replace it with a secure alternative.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert to monitor for vulnerabilities, and only install packages from trusted sources.