Malicious Code Injection in mipta190-boat-composed: A Threat to npm Users
Summary
MAL-2025-160459: Malicious code in mipta190-boat-composed (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 mipta190-boat-composed package is part of the npm ecosystem, often used for various JavaScript projects. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. This package, like others in the campaign, is designed to manipulate the npm registry by generating and publishing derivative packages with altered metadata.
Vulnerability Detail
The vulnerability in mipta190-boat-composed stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, contributing to the pollution of the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which incentivizes the creation of such packages to inflate developer reputation scores. The ramifications include potential security risks for developers who unknowingly use these packages, as they may introduce harmful code into their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mipta190-boat-composed
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 mipta190-boat-composed package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The mipta190-boat-composed package poses a significant risk due to its malicious code that alters project metadata and pollutes the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities using tools like Vulert.
See every vulnerability recorded for mipta190-boat-composed →
FAQ
mipta190-boat-composed is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The malicious code modifies your package.json, potentially introducing security vulnerabilities and affecting the integrity of your project.
You should remove the mipta190-boat-composed package from your project and check for any other affected packages.
You can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time 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.