A third-party GitHub Action you use was compromised and printed secrets into public logs
AdvancedTroubleshootingSupply chain: signing, SBOM and dependencies
Answer
Likely causes → Actions referenced by mutable tag (@v1), and the attacker repointed tags to malicious code, as in the tj-actions/changed-files incident (2025).
Diagnose →
grep -rn "uses: .*@v" .github/workflows/
gh run list --workflow ci.yml --limit 50 # runs in the exposure window
Download logs and search for base64 blobs.
Fix → Rotate every secret available to affected workflows, delete exposed logs, pin to a known-good SHA or replace the action.
Prevent → SHA pinning, minimal permissions:, secrets scoped to environments with required reviewers, and egress monitoring on runners (e.g. Harden-Runner).
More on Supply chain: signing, SBOM and dependencies
`cosign verify` fails with `Error: no matching signatures` for an image CI says it signedBeginnerKeyless `cosign verify` fails: `none of the expected identities matched what was in the certificate`Intermediate`cosign sign` in GitHub Actions fails with `getting signer: getting key from Fulcio: ... no OIDC token`BeginnerKey-based `cosign verify --key cosign.pub` fails after a key rotation for older imagesIntermediate`cosign verify-attestation --type cyclonedx` returns `none of the attestations matched the predicate type`IntermediateKyverno `verifyImages` rejects pods: `failed to verify image ... : no signatures found` for a signed private ECR imageAdvanced