Malicious Code Injection in advisory_ocelot-notthedevs Package
Summary
MAL-2025-99219: Malicious code in advisory_ocelot-notthedevs (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 advisory_ocelot-notthedevs package is part of a broader ecosystem within the npm registry, often associated with token reward campaigns. Its primary function is to facilitate the publication of JavaScript packages. However, this package has been compromised, leading to significant security concerns due to its malicious behavior.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the advisory_ocelot-notthedevs package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The intent is to inflate developer reputation scores through the automatic generation and publication of derivative packages. This behavior can lead to pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially exposing applications to further vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall advisory_ocelot-notthedevs
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 workaround, you can avoid using the advisory_ocelot-notthedevs package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The advisory_ocelot-notthedevs package has been compromised, posing significant risks to developers and their applications. It is essential to remove this package and monitor your dependencies for vulnerabilities using tools like Vulert. Staying informed and proactive is key to maintaining secure software development practices.
See every vulnerability recorded for advisory_ocelot-notthedevs →
FAQ
It is an npm package that has been identified as containing malicious code aimed at inflating developer reputation scores.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities. Visit Vulert Scanner to check your application without any signup.
Using compromised packages can lead to security vulnerabilities, data breaches, and pollution of the package registry, making it harder to find legitimate packages.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on security advisories for the packages you use.
Immediately uninstall the package and replace it with a secure alternative. Regularly check your dependencies for vulnerabilities.