Malicious Code Detected in shop-api-sdk: Version 30.1.1 Compromised
Summary
MAL-2025-192378: Malicious code in shop-api-sdk (npm). Affects shop-api-sdk versions 30.1.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 'shop-api-sdk' is an npm package designed to facilitate interactions with various e-commerce APIs, providing developers with tools to integrate shopping functionalities into their applications. However, version 30.1.1 has been flagged for malicious behavior, raising concerns about its integrity and the security of applications utilizing it.
Vulnerability Detail
The vulnerability in 'shop-api-sdk' arises from its communication with a domain linked to malicious activities and the execution of commands that may compromise system security. This behavior can lead to unauthorized access, data breaches, and potential exploitation of the affected systems, making it critical for users to address this issue promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall shop-api-sdk
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 'shop-api-sdk' package from your project until a secure version is confirmed. You can do this by running: npm uninstall shop-api-sdk.
Conclusion
The 'shop-api-sdk' version 30.1.1 has been identified as malicious, posing serious security risks to applications that utilize it. Users are urged to update to a secure version or remove the package until a fix is available. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.
See every vulnerability recorded for shop-api-sdk →
FAQ
The package communicates with a domain associated with malicious activities and executes commands that can compromise system security.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without requiring any signup.
As a temporary measure, consider uninstalling the 'shop-api-sdk' package from your project until a secure version is available.
Currently, version 30.1.1 is flagged as malicious. Always check the package repository for the latest secure version before updating.
Using the compromised version can lead to unauthorized access, data breaches, and exploitation of your system, posing significant security risks.