Malicious Code Injection in laila-tek44-riris Package - npm Vulnerability
Summary
MAL-2025-87752: Malicious code in laila-tek44-riris (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 laila-tek44-riris package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package, like others in the campaign, is designed to manipulate npm's publishing system by generating and publishing derivative packages with randomized names. Its primary function is to inflate developer reputation scores for token rewards, but this comes at the cost of security and integrity within the npm registry.
Vulnerability Detail
The vulnerability in the laila-tek44-riris package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms to create a flood of derivative packages, potentially compromising the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall laila-tek44-riris
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 avoid using the laila-tek44-riris package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your npm packages using tools like npm audit to identify and mitigate potential vulnerabilities.
Conclusion
The laila-tek44-riris package presents a significant security risk due to its malicious code that alters package configurations and floods the npm registry. It is crucial for developers to remove this package and regularly audit their dependencies to maintain the integrity of their projects.
See every vulnerability recorded for laila-tek44-riris →
FAQ
The laila-tek44-riris package is part of a campaign that aims to inflate developer reputation scores on npm by flooding the registry with derivative packages.
The malicious code modifies your package.json file, potentially exposing your project to further vulnerabilities and compromising the integrity of your dependencies.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without requiring any signup.
If you have installed the laila-tek44-riris package, you should uninstall it immediately using the command npm uninstall laila-tek44-riris.
Yes, tools like npm audit and Vulert can help you identify and manage vulnerabilities in your npm packages effectively.