Malicious Code Injection in lookingan-namalaka8 Package
Summary
MAL-2025-158895: Malicious code in lookingan-namalaka8 (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 lookingan-namalaka8 package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been compromised to include malicious scripts that alter package metadata and republish variants to the npm registry.
Vulnerability Detail
The vulnerability in the lookingan-namalaka8 package originates from its malicious payload, which modifies the package.json file to remove private flags, changes version numbers, and generates random package names. This behavior leads to the pollution of the npm registry and can potentially harm developers by inflating reputation scores fraudulently. The malicious scripts are typically named auto.js, autopublish.js, autopublish2.js, and autopublish3.js, and are designed to continuously republish variants of the package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-namalaka8
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 prevent the installation of this package by using npm's package-lock.json file to monitor dependencies. Ensure that your project does not include lookingan-namalaka8 in its dependencies. You can also use the following command to audit your project for vulnerabilities: 'npm audit'.
Conclusion
The lookingan-namalaka8 package has been identified as containing malicious code that alters package metadata and repopulates the npm registry with compromised versions. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for lookingan-namalaka8 →
FAQ
The lookingan-namalaka8 package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The vulnerability can lead to the pollution of the npm registry and may inflate developer reputation scores fraudulently, potentially harming your project's integrity.
You should uninstall the lookingan-namalaka8 package immediately using 'npm uninstall lookingan-namalaka8' and check for any other compromised packages.
Yes, you can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.