Skip to content

Guides

How to secure your CI supply chain

Third-party actions run with access to your repository and secrets.

6 min read

Third-party actions run with access to your repository and secrets.

Why it happens

Actions referenced by tag can be changed under you; a compromised action sees everything the job does.

How to fix it

  1. Pin third-party actions to a full commit SHA, not a tag
  2. Restrict which actions may run at the organisation level
  3. Use default-deny egress so a compromised step cannot exfiltrate
  4. Generate provenance attestations so consumers can verify build origin

Your next build could be twice as fast, at half the price

Start free. Migrating away is the same one line, and we publish that diff too.