Gha Trust Boundary Pitfalls

Use when a GitHub Actions workflow decides trust from an identity or a reference, or passes state between runs and steps: an if condition on github.actor for a bot such as Dependabot (spoofable, use the pull request author), an action pinned to a tag or branch that an attacker can shadow, writes to GITHUB_ENV or GITHUB_PATH under pull_request_target or workflow_run, a release workflow that restores a cache or a privileged trigger that writes one, the checkout credential left on disk, and the optional checks on self-hosted runners and concurrency. A sibling of ci-workflow-hardening that adds only what it does not name.

techmefr Updated

File contents

techmefr/mentis commit 843987937f

Frequently asked questions

npx get-skill add techmefr/gha-trust-boundary-pitfalls