Malicious Code Injection in intan-38 Package - npm Vulnerability
Summary
MAL-2025-156547: Malicious code in intan-38 (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-38 package is part of the npm ecosystem, often utilized in JavaScript projects. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages typically include scripts that automate the creation and publication of derivative packages, aimed at inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in the intan-38 package stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of dependent projects. The source of this vulnerability is linked to the amazon-inspector findings, which identified the package as part of a broader malicious campaign.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall intan-38
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-38 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, ensure that your package.json file does not include any references to intan-38.
Conclusion
The intan-38 package poses a significant risk due to its malicious code designed to manipulate package metadata and pollute the npm registry. It is crucial to remove this package from your projects and monitor for any updates or patches. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your dependencies.
See every vulnerability recorded for intan-38 →
FAQ
The intan-38 package is an npm package associated with the tea.xyz token reward campaign, known for containing malicious scripts.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project by introducing unwanted or malicious packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
You should uninstall the intan-38 package immediately using the command: npm uninstall intan-38.
Yes, you should look for alternative packages that offer similar functionality without the associated risks of malicious behavior.