Critical Malicious Code Vulnerability in broccoli-server Package
Summary
MAL-2025-6468: Malicious code in broccoli-server (PyPI). Affects broccoli-server versions 0.0.1. 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 broccoli-server package is a Python library available on PyPI, designed to facilitate server-side operations for web applications. It provides developers with tools to manage and serve content efficiently. However, this package has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code in version 0.0.1 of the broccoli-server package. This code can potentially compromise the security of applications by allowing unauthorized access or manipulation of data. The malicious nature of this vulnerability was identified by ReversingLabs, which highlights the importance of scrutinizing third-party packages for hidden threats.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall broccoli-server
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 broccoli-server package until a patched version is released. Consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The broccoli-server package has been identified as containing malicious code, which poses a serious security threat to applications. It is crucial for developers to take immediate action by removing the affected version and monitoring for updates. Utilizing tools like Vulert can help in identifying vulnerabilities in real-time.
See every vulnerability recorded for broccoli-server →
FAQ
The broccoli-server package is a Python library designed for server-side operations in web applications.
The malicious code can lead to unauthorized access and manipulation of application data, posing significant security risks.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
The vulnerability was discovered by ReversingLabs, a cybersecurity firm specializing in threat detection.
If immediate updates are not possible, consider using alternative packages or implementing security measures to mitigate risks until a fix is available.