Malicious Code Injection in slight_alpaca-biggestdev Package
Summary
MAL-2025-108808: Malicious code in slight_alpaca-biggestdev (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 slight_alpaca-biggestdev package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate various functionalities within the npm registry but has been compromised to include malicious scripts that manipulate package metadata. The vulnerability stems from the package's involvement in generating and publishing derivative packages, which can lead to reputation inflation and registry pollution.
Vulnerability Detail
The vulnerability in slight_alpaca-biggestdev is characterized by the presence of malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, which are often themed around Indonesian culture. The malicious payload is designed to continuously republish these variants, thereby polluting the npm registry and potentially compromising the integrity of other packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slight_alpaca-biggestdev
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 slight_alpaca-biggestdev package from your project by executing: 'npm uninstall slight_alpaca-biggestdev'. This will prevent any malicious code from executing while you assess the situation.
Conclusion
The slight_alpaca-biggestdev package has been identified as containing malicious code that poses a significant risk to projects using it. Immediate action is required to update or remove the package to safeguard your application. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for slight_alpaca-biggestdev →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to facilitate various functionalities but has been compromised.
The malicious code modifies your package.json file, removes private flags, and can lead to the generation of numerous unwanted packages, affecting your project's integrity.
You should immediately update the package to the latest version or uninstall it to prevent any potential security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.