Malicious Code Injection in oalahrulrul Package: npm Vulnerability Overview
Summary
MAL-2025-98197: Malicious code in oalahrulrul (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 oalahrulrul 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 the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the oalahrulrul package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall oalahrulrul
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 oalahrulrul package and monitor your project for any dependencies that may have been affected by this vulnerability. Regularly review your package-lock.json file for any unauthorized changes.
Conclusion
The oalahrulrul package has been identified as containing malicious code that compromises the integrity of the npm ecosystem. It is crucial for developers to remove this package from their projects and monitor for any potential vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for oalahrulrul →
FAQ
The oalahrulrul package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to security vulnerabilities and pollution of the npm registry.
You should uninstall the oalahrulrul package immediately using the command npm uninstall oalahrulrul and check for any dependencies that may be affected.
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 also check your application for vulnerabilities using the Vulert playground without any signup.
Regularly audit your npm packages, keep them updated, and utilize tools like Vulert to monitor for vulnerabilities in real-time.