Critical Malicious Code Vulnerability in @antstackio/shelbysam Package
Summary
MAL-2025-191191: Malicious code in @antstackio/shelbysam (npm). Affects @antstackio/shelbysam versions 1.1.7. 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 @antstackio/shelbysam package is a JavaScript library available on npm, designed to facilitate various functionalities in web applications. It is widely used for its ease of integration and utility in enhancing application performance. However, it has recently been identified as compromised, exposing users to severe security risks.
Vulnerability Detail
The vulnerability stems from the Sha1-Hulud: The Second Coming NPM worm, which has infected the @antstackio/shelbysam package. This malicious code is capable of stealing sensitive tokens and credentials, subsequently publishing them to GitHub. Furthermore, it can propagate itself to other NPM packages owned by the user and establish persistence through a GitHub action. The worm also poses a risk of destroying the user's home directory, making it a critical threat to both personal and organizational security.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @antstackio/shelbysam
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, users should consider removing the @antstackio/shelbysam package from their project until a secure version is confirmed. This can be done using the command: npm uninstall @antstackio/shelbysam. Additionally, review your project's dependencies for any other potentially compromised packages.
Conclusion
The @antstackio/shelbysam package has been compromised by a malicious worm, posing significant risks to users. Immediate action is required to update the package and mitigate potential threats. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.
See every vulnerability recorded for @antstackio/shelbysam →
FAQ
The vulnerability involves malicious code that can steal sensitive information and propagate itself to other packages.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
If you suspect a compromise, immediately revoke any exposed tokens and credentials, and update your packages to secure versions.
Yes, users should update to the latest version of the @antstackio/shelbysam package to mitigate the risk.
Failure to address this vulnerability could lead to unauthorized access to sensitive data, loss of control over your packages, and potential data loss.