Malicious Code Detected in bpmn-exec Package - Security Alert
Summary
MAL-2025-16058: Malicious code in bpmn-exec (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 bpmn-exec package is a Node.js library designed for executing BPMN (Business Process Model and Notation) workflows. It provides developers with tools to manage and execute business processes defined in BPMN format. However, recent findings have revealed that this package contains malicious code, posing a significant security risk to applications that utilize it.
Vulnerability Detail
The vulnerability in the bpmn-exec package stems from the inclusion of malicious code that can compromise the integrity and security of applications using this library. This code may allow unauthorized access, data manipulation, or other harmful actions within the affected systems. The origin of this vulnerability is linked to the package's codebase, which has been tampered with to introduce malicious functionality. Users of this package are at risk of severe ramifications, including data breaches and system exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bpmn-exec
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 remove the bpmn-exec package from your project until a secure version is released. You can do this by executing the command: npm uninstall bpmn-exec. Consider using alternative libraries for BPMN execution that do not have known vulnerabilities.
Conclusion
The discovery of malicious code in the bpmn-exec package highlights the importance of maintaining secure dependencies in software development. Users are advised to update or remove the package to protect their applications from potential threats. Regular monitoring of dependencies using tools like Vulert can help in identifying vulnerabilities promptly.
See every vulnerability recorded for bpmn-exec →
FAQ
bpmn-exec is a Node.js library used for executing BPMN workflows, allowing developers to manage business processes effectively.
The malicious code can potentially allow unauthorized access and manipulation of data within applications that use the bpmn-exec package.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If an immediate update is not possible, consider removing the bpmn-exec package and using alternative libraries until a secure version is available.
Utilize tools like Vulert, which can monitor your package-lock.json file for vulnerabilities and alert you in real-time.