Malicious Code Injection in asadlateef Package: npm Vulnerability Overview
Summary
MAL-2025-170920: Malicious code in asadlateef (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 asadlateef package is part of the npm ecosystem, which is widely used for managing JavaScript packages. This package has been identified as part of a malicious campaign targeting developers by flooding the npm registry with derivative packages. The primary functionality of the asadlateef package is to serve as a token reward mechanism for the tea.xyz protocol, but it has been compromised to manipulate package metadata and inflate developer reputation scores.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the asadlateef package, which contains scripts designed to automatically generate and publish derivative packages with randomized names. These scripts modify the package.json file by removing private flags, altering version numbers, and creating numerous variants that pollute the npm registry. The ramifications include potential security risks for developers who unknowingly install these compromised packages, leading to a loss of trust in the npm ecosystem and possible exploitation of their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall asadlateef
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, avoid using the asadlateef package and any packages that may have been derived from it. Regularly audit your project's dependencies using npm audit or similar tools to identify and mitigate any potential risks.
Conclusion
The asadlateef package poses a significant security risk due to its malicious code designed to manipulate package metadata and pollute the npm registry. Developers should take immediate action to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for asadlateef →
FAQ
The asadlateef package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the installation of compromised packages, which may introduce security risks and affect the integrity of your application.
If you have installed the asadlateef package, it is crucial to uninstall it immediately using the command npm uninstall asadlateef.
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 against known vulnerabilities using the Vulert playground.
To prevent similar vulnerabilities, regularly audit your dependencies, use trusted sources for packages, and consider implementing automated monitoring tools like Vulert.