Malicious Code Injection in intan-23: A Threat to npm Packages
Summary
MAL-2025-156532: Malicious code in intan-23 (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-23 package is part of the npm ecosystem, which is widely used for JavaScript package management. It is designed to facilitate the development and sharing of reusable code components. However, this package has been identified as part of a malicious campaign that exploits npm's publishing capabilities to inflate developer reputation scores through automated scripts.
Vulnerability Detail
The vulnerability in the intan-23 package stems from its association with the tea.xyz token reward campaign. This package includes 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, leading to pollution of the npm registry and potential security risks for developers who unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall intan-23
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-23 package and any packages that may have been derived from it. Regularly audit your package-lock.json file to identify and remove any suspicious or untrusted packages.
Conclusion
The intan-23 package poses a significant risk due to its malicious code that alters package configurations and repopulates the npm registry with compromised versions. It is crucial to remove this package and monitor your dependencies to maintain the security of your projects.
See every vulnerability recorded for intan-23 →
FAQ
The intan-23 package is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
The vulnerability can lead to the inclusion of malicious code in your project, which may compromise security and functionality.
You should uninstall the intan-23 package immediately and audit your project for any other potentially compromised packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.