Malicious Code Injection in tomi-oncom16-miaww: A Threat to npm Packages
Summary
MAL-2025-91176: Malicious code in tomi-oncom16-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-oncom16-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 manipulate developer reputation scores through automated publishing scripts, making them a significant threat to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in tomi-oncom16-miaww stems from its involvement in a malicious campaign that modifies package.json files to remove private flags, alters version numbers, and generates random package names. This behavior not only compromises the security of the affected packages but also pollutes the npm registry with numerous derivative packages, making it difficult for developers to trust the integrity of the ecosystem. The malicious payload is executed through scripts that automatically publish these altered packages, leading to potential exploitation of applications relying on them.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tomi-oncom16-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 the tomi-oncom16-miaww package and replace it with a known secure alternative. Always review the packages you are using and ensure they come from reputable sources.
Conclusion
The tomi-oncom16-miaww package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is essential for developers to be vigilant about the packages they use and to take immediate action to remove any affected packages. Utilizing tools like Vulert can help monitor and protect your applications from such vulnerabilities.
See every vulnerability recorded for tomi-oncom16-miaww →
FAQ
tomi-oncom16-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 injection of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the tomi-oncom16-miaww package immediately and review your dependencies for any other potentially malicious packages.
You can use Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.