Critical Malicious Code Vulnerability in arthur-middleware Package
Summary
MAL-2025-14872: Malicious code in arthur-middleware (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 arthur-middleware package is a middleware solution for Node.js applications, designed to facilitate seamless integration and communication between different parts of an application. It provides essential functionalities such as request handling, response formatting, and error management. However, it has been identified to contain malicious code that poses significant security risks to applications utilizing this package.
Vulnerability Detail
The vulnerability in the arthur-middleware package originates from the inclusion of malicious code that can compromise the integrity and security of applications using it. This code can lead to unauthorized access, data breaches, and potential exploitation of sensitive information. The malicious nature of the code makes it imperative for users to take immediate action to mitigate risks associated with this vulnerability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall arthur-middleware
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, consider replacing arthur-middleware with an alternative middleware package that offers similar functionalities without the associated risks. Ensure to thoroughly review the security posture of any alternative package before implementation.
Conclusion
The discovery of malicious code in the arthur-middleware package highlights the importance of vigilance in managing open-source dependencies. Users are urged to take immediate action to remove the affected package and consider alternatives to safeguard their applications.
See every vulnerability recorded for arthur-middleware →
FAQ
arthur-middleware is a middleware package for Node.js applications that helps manage requests and responses within an application.
The malicious code can lead to unauthorized access and potential data breaches, compromising the security of applications that utilize this package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Immediately remove the arthur-middleware package from your project and look for alternative middleware solutions. If a patched version is released, update to that version.
Utilize tools like Vulert to monitor your package-lock.json for vulnerabilities and receive alerts in real-time.