Malicious Code Injection in intan-12 Package: A Threat to npm Ecosystem
Summary
MAL-2025-156520: Malicious code in intan-12 (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-12 package is part of the npm ecosystem, which is widely used for JavaScript package management. It is designed to facilitate the development and distribution of JavaScript applications. However, this package has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to potential security risks for developers and users alike.
Vulnerability Detail
The vulnerability in the intan-12 package originates from its association with the tea.xyz token reward campaign. This package contains malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. The scripts continuously republish these variants, polluting the npm registry and potentially compromising the integrity of other packages and applications that rely on npm.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall intan-12
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-12 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using npm audit to identify and address vulnerabilities in your project's dependencies.
Conclusion
The intan-12 package poses a significant security risk due to its malicious code designed to manipulate npm's publishing system. It is crucial for developers to be vigilant and remove any instances of this package from their projects. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for intan-12 →
FAQ
The intan-12 package is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores through automated publishing.
The malicious code can modify your project's package.json file, remove important flags, and introduce potentially harmful packages into your project, compromising its security.
If you have installed intan-12, you should uninstall it immediately using 'npm uninstall intan-12' and check your project for any unintended changes.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can also check your application using the Vulert playground without any signup.
Yes, you should look for alternative packages that offer similar functionality but do not have known vulnerabilities. Always review the package's reputation and security history before installation.