Advisory

GHSA-jpvj-wpmj-h7rv

Also known as: None

Summary

Supply chain compromise via malicious @cap-js/openapi

Details

Impact

On May 19, 2026, a compromised version of @cap-js/[email protected] 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

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-06-04 19:37 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

@cap-js/openapi

npm · All systems

Affected

  • introduced 1.4.1, fixed 1.4.2 (semver)

Fixed versions

1.4.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences