Use of software with malware In @cap-js/openapi
Part of a campaign: Mini Shai-Hulud · Discovered Apr 29, 2026
This advisory is one of 515 advisories grouped under a coordinated supply chain attack.
Description
Supply chain compromise via malicious @cap-js/openapi
Impact
On May 19, 2026, a compromised version of @cap-js/openapi@1.4.1 was published. The malicious packages harvested credentials and attempted self-propagation. If a compromised version was installed, all credentials accessible on that machine (npm tokens, cloud provider credentials, SSH keys, GitHub PATs) should be considered compromised.
Patches
Upgrade to @cap-js/openapi >= 1.4.2 If the compromised version was ever installed, rotate all affected credentials.
Workarounds
No workarounds.
References
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
npm | 1.4.2 |
Aliases
References