Malicious Code Injection in unsightly-olive-ape Package
Summary
MAL-2025-97171: Malicious code in unsightly-olive-ape (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 unsightly-olive-ape 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 identified as containing malicious scripts that compromise its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability in the unsightly-olive-ape package originates from its association with a malicious campaign that floods the npm registry with derivative packages. The package includes scripts that modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, leading to potential security breaches and loss of trust in the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall unsightly-olive-ape
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 workaround, you can avoid using the unsightly-olive-ape package altogether. If it is already in use, consider removing it from your package.json and running 'npm uninstall unsightly-olive-ape' to mitigate any risks associated with its use.
Conclusion
The unsightly-olive-ape package poses a significant security risk due to its malicious code that modifies package.json files and floods the npm registry. It is essential to remove this package and monitor your projects for vulnerabilities to maintain security and integrity in your development environment.
See every vulnerability recorded for unsightly-olive-ape →
FAQ
The unsightly-olive-ape package is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
This vulnerability can compromise the integrity of your project by introducing malicious code that modifies your package.json file and pollutes the npm registry, potentially leading to security breaches.
If you have installed the unsightly-olive-ape package, it is crucial to remove it immediately using 'npm uninstall unsightly-olive-ape' and check for any other affected packages.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can also check if your application is affected by this vulnerability using the Vulert playground.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.