Malicious Code Detected in @spx-delivery/react Package
Summary
MAL-2026-261: Malicious code in @spx-delivery/react (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 @spx-delivery/react package is a JavaScript library designed for use with React applications, providing various functionalities to enhance user experience and streamline development. However, it has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability originates from the presence of malicious code within the @spx-delivery/react package. This code can potentially compromise the security of applications by allowing unauthorized access or manipulation of data. The malicious nature of this code can lead to severe ramifications, including data breaches, loss of user trust, and potential legal consequences for developers and organizations using the affected package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @spx-delivery/react
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 removing the @spx-delivery/react package from your project until a secure version is available. You can do this by executing: npm uninstall @spx-delivery/react.
Conclusion
The discovery of malicious code in the @spx-delivery/react package highlights the importance of vigilance in managing open-source dependencies. By promptly addressing this vulnerability through updates and utilizing monitoring tools like Vulert, developers can safeguard their applications and maintain user trust.
See every vulnerability recorded for @spx-delivery/react →
FAQ
The malicious code can compromise application security, potentially leading to unauthorized access and data manipulation.
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.
If an immediate update is not possible, consider removing the package as a temporary measure to mitigate risks.
While specific exploits have not been detailed, the presence of malicious code indicates a high risk of exploitation.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay updated on security advisories related to your packages.