Malicious Code Detected in @zapier/ai-actions-react Package
Summary
MAL-2025-190917: Malicious code in @zapier/ai-actions-react (npm). Affects @zapier/ai-actions-react versions 0.1.13 – 0.1.14. 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 @zapier/ai-actions-react package is a JavaScript library used within the npm ecosystem, primarily designed to facilitate AI-driven actions in applications. It is widely utilized by developers to enhance functionality and streamline workflows. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that rely on it.
Vulnerability Detail
The vulnerability originates from the presence of malicious code within the @zapier/ai-actions-react package, specifically in versions 0.1.13 and 0.1.14. This malicious code can lead to unauthorized access, data breaches, and potential exploitation of the affected applications. The code was identified by Amazon Inspector, highlighting the importance of continuous monitoring for security threats in open-source packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @zapier/ai-actions-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
If immediate updating is not feasible, consider temporarily removing the @zapier/ai-actions-react package from your project until a secure version is released. This can be done using the command: npm uninstall @zapier/ai-actions-react.
Conclusion
The discovery of malicious code in the @zapier/ai-actions-react package underscores the critical need for vigilance in managing open-source dependencies. By updating to a secure version or removing the package temporarily, developers can mitigate potential risks and protect their applications.
See every vulnerability recorded for @zapier/ai-actions-react →
FAQ
The malicious code can potentially allow unauthorized access to sensitive data and compromise the security of applications using this package.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.
As a temporary measure, you can uninstall the @zapier/ai-actions-react package from your project until a secure version is available.
While specific exploits have not been detailed, the presence of malicious code generally indicates a risk of data breaches and unauthorized access.
Utilizing tools like Vulert can help you monitor your dependencies for vulnerabilities in real-time, ensuring you are alerted to any security issues as they arise.