@redhat-cloud-services publish pipeline is compromised today and shipped a signed, trusted, malicious npm package

Posted by BattleRemote3157@reddit | programming | View on Reddit | 47 comments

patch-client@4.0.4 went out through the project's own github action OIDC trusted publisher today and not any stolen token or a typosquat anything, the actual release pipeline produced it. this runs on npm install, steals cloud creds and self propagates by injecting fake CodeQL workflows into repository the stolen tokens can reach. 32 packages is currently sharing the same publisher so the window of exposure isn not only just a single package.
if you have anything from related to /redhat-cloud-services in your tree, 4.0.3 is the last clean version.