Malicious Code Injection in intan-25 Package: npm Vulnerability Overview
Summary
MAL-2025-156534: Malicious code in intan-25 (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-25 package is part of the npm ecosystem, primarily used for JavaScript development. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores through automated publishing of derivative packages.
Vulnerability Detail
The vulnerability in the intan-25 package arises from malicious code that modifies the package.json file by removing private flags and changing version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to security risks, including unauthorized access to sensitive data and the potential for further exploitation of affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall intan-25
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 intan-25 package from your project by executing the following command: npm uninstall intan-25. This will prevent the execution of any malicious scripts associated with the package until a fix is applied.
Conclusion
The intan-25 package has been identified as containing malicious code that poses significant risks to projects using it. It is crucial to take immediate action by updating or uninstalling the package to safeguard your application. Utilizing monitoring tools like Vulert can further enhance your project's security posture.
See every vulnerability recorded for intan-25 →
FAQ
The intan-25 package is an npm package associated with the tea.xyz token reward campaign, which has been linked to malicious activities in the npm registry.
The malicious code modifies your package.json file, removes private flags, and can lead to unauthorized republishing of your packages, potentially compromising your project's integrity.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
If you cannot update the package right away, it is advisable to uninstall it as a temporary measure to prevent any malicious activity.
Regularly update your dependencies, monitor for vulnerabilities using tools like Vulert, and review your package.json for any unauthorized changes.