Malicious Code Injection in marginal_bison-notthedev Package
Summary
MAL-2025-105609: Malicious code in marginal_bison-notthedev (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 marginal_bison-notthedev package is part of the npm ecosystem, often utilized in JavaScript projects for various functionalities. However, this package has been identified as part of a malicious campaign that floods the npm registry with derivative packages. These packages are designed to manipulate developer reputation scores through automated publishing scripts, which can lead to significant security risks.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the marginal_bison-notthedev package, which is linked to the tea.xyz token reward campaign. It contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior can lead to the pollution of the npm registry and compromise the integrity of projects that depend on this package, allowing for potential exploitation by attackers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall marginal_bison-notthedev
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 measure, you can avoid using the marginal_bison-notthedev package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The marginal_bison-notthedev package poses a significant security risk due to its malicious code designed to manipulate npm registry integrity. It is crucial to remove this package from your projects and utilize tools like Vulert for ongoing vulnerability monitoring.
See every vulnerability recorded for marginal_bison-notthedev →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
The vulnerability can lead to the pollution of the npm registry and may compromise the security of your project by introducing malicious code.
You should uninstall the marginal_bison-notthedev package immediately and monitor your project for any signs of compromise.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.