---
title: "GHSA-jpvj-wpmj-h7rv: Supply chain compromise via malicious @cap-js/openapi"
url: https://erroneo.us/security/ghsa/GHSA-jpvj-wpmj-h7rv/
description: "GHSA-jpvj-wpmj-h7rv (critical, npm): Supply chain compromise via malicious @cap-js/openapi. Impact On May 19, 2026, a compromised version of…"
type: advisory
section: "Security Digest"
date_published: 2026-06-04
date_modified: 2026-06-04
publisher: erroneo.us
author: erroneo.us Security Desk
ghsa: "GHSA-jpvj-wpmj-h7rv"
license: All rights reserved. Quote with attribution and a link.
---

# GHSA-jpvj-wpmj-h7rv: Supply chain compromise via malicious @cap-js/openapi

## Affected packages

- npm `@cap-js/openapi` = 1.4.1 → fixed: 1.4.2

## Details

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 - SAP Note 3747787 - Developer FAQ

## Sources

- [GitHub Advisory GHSA-jpvj-wpmj-h7rv](https://github.com/advisories/GHSA-jpvj-wpmj-h7rv)
- [github.com](https://github.com/cap-js/openapi/security/advisories/GHSA-jpvj-wpmj-h7rv)
- [me.sap.com](https://me.sap.com/notes/3747787)
- [sap.com](https://www.sap.com/documents/2026/05/8203a8b9-4d7f-0010-bca6-c68f7e60039b.html)

---
Source page: https://erroneo.us/security/ghsa/GHSA-jpvj-wpmj-h7rv/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
