Malicious Code Injection in broccoli-notthedevs: A Threat to npm Users

broccoli-notthedevs Updated 24 Nov 2025

Summary

11/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-100128: Malicious code in broccoli-notthedevs (npm). Affected versions are not published. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

broccoli-notthedevs is an npm package that is part of the broader ecosystem of tools used for building and managing web applications. It is designed to facilitate the development process by providing a set of utilities that enhance the functionality of the build system. However, this package has been compromised, making it susceptible to malicious activities that can affect developers and their projects.

Vulnerability Detail

The vulnerability in broccoli-notthedevs stems from its association with a malicious campaign that aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and creates random package names, leading to pollution of the npm registry. This can result in developers unknowingly using compromised packages, exposing their applications to security risks and potential data breaches.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall broccoli-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 temporary measure, you can avoid using the compromised package by removing it from your project dependencies. You can do this by executing the following command: npm uninstall broccoli-notthedevs. Additionally, consider using alternative packages that provide similar functionality without the associated risks.

Conclusion

The broccoli-notthedevs package has been compromised, posing significant risks to developers and their applications. It is essential to take proactive measures by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities. Staying informed and vigilant is key to maintaining the security of your software projects.

See every vulnerability recorded for broccoli-notthedevs →

Share this vulnerability

FAQ

The primary risk is the potential for malicious code to be executed within your application, which can lead to data breaches and compromise the integrity of your software.

You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in real-time. By utilizing the Vulert playground, you can check if your application is affected without needing to sign up.

If you have already used the compromised package, it is crucial to remove it from your dependencies and update your application to ensure that no malicious code is executed.

Yes, consider exploring other npm packages that offer similar functionalities but have a clean security record. Always review the package's reputation and security history before integrating it into your project.

Vulert provides real-time monitoring and alerts for open-source vulnerabilities by analyzing your package-lock.json file, allowing you to stay informed about potential risks in your dependencies.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall broccoli-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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback