{"id":"GHSA-jpvj-wpmj-h7rv","summary":"Supply chain compromise via malicious @cap-js/openapi","details":"### Impact\n\nOn May 19, 2026, a compromised version of @cap-js/openapi@1.4.1 was published.\nThe malicious packages harvested credentials and attempted self-propagation.\nIf a compromised version was installed, all credentials accessible on that machine (npm tokens, cloud provider credentials, SSH keys, GitHub PATs) should be considered compromised.\n\n### Patches\n\nUpgrade to @cap-js/openapi \u003e= 1.4.2\nIf the compromised version was ever installed, rotate all affected credentials.\n\n### Workarounds\nNo workarounds.\n\n### References\n\n- [SAP Note 3747787](https://me.sap.com/notes/3747787)\n- [Developer FAQ](https://www.sap.com/documents/2026/05/8203a8b9-4d7f-0010-bca6-c68f7e60039b.html)","modified":"2026-09-10T03:51:08.781296937Z","published":"2026-06-04T19:37:04Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-506"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2026-06-04T19:37:04Z"},"references":[{"type":"WEB","url":"https://github.com/cap-js/openapi/security/advisories/GHSA-jpvj-wpmj-h7rv"},{"type":"PACKAGE","url":"https://github.com/cap-js/openapi"},{"type":"WEB","url":"https://me.sap.com/notes/3747787"},{"type":"WEB","url":"https://www.sap.com/documents/2026/05/8203a8b9-4d7f-0010-bca6-c68f7e60039b.html"}],"affected":[{"package":{"name":"@cap-js/openapi","ecosystem":"npm","purl":"pkg:npm/%40cap-js/openapi"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.4.1"},{"fixed":"1.4.2"}]}],"versions":["1.4.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-jpvj-wpmj-h7rv/GHSA-jpvj-wpmj-h7rv.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"}]}