Malicious Code Injection in tomi-lapis79-miaww: A Threat to npm Packages
Summary
MAL-2025-91157: Malicious code in tomi-lapis79-miaww (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 package tomi-lapis79-miaww is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores through automated scripts that generate and publish numerous variants with randomized names.
Vulnerability Detail
The vulnerability in tomi-lapis79-miaww stems from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, which can lead to the pollution of the npm registry. This behavior is part of a broader scheme associated with the tea.xyz token reward campaign, where malicious packages are used to manipulate the npm ecosystem for token rewards. The ramifications include potential security risks for developers who may unknowingly install these compromised packages, leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tomi-lapis79-miaww
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 tomi-lapis79-miaww and any other packages that are part of the malicious campaign. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The tomi-lapis79-miaww package poses a significant threat due to its malicious code that manipulates the npm registry. It is essential for developers to be vigilant and remove any affected packages from their projects. Utilizing tools like Vulert can help in monitoring for such vulnerabilities effectively.
See every vulnerability recorded for tomi-lapis79-miaww →
FAQ
tomi-lapis79-miaww is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the installation of compromised packages, which may introduce security risks and affect the integrity of your project.
You should immediately remove the tomi-lapis79-miaww package from your project and check for any other affected packages.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just package-lock.json.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.