Hunting Cicd Workflow Injection

Hunt a CI/CD pipeline for attacker-controlled repository data that reaches a privileged execution context, after the trigger and the token scope are resolved. Covers an untrusted event field (an issue or pull-request title, a branch name, a commit message) interpolated directly into a run-step shell command, a pull_request_target or workflow_run job that checks out and builds the pull-request head with secrets in scope, a third-party action pinned to a mutable tag or branch rather than a commit digest, a cache a low-trust job writes and a privileged job restores and executes, a self-hosted runner reachable from fork pull requests, and an over-scoped pipeline token widening the blast radius. Use when reviewing workflow definitions, their triggers, and their token permissions, not the OIDC trust boundary the CI OIDC skill owns. Attacker-controlled repository data is the source, a privileged pipeline run step or checkout is the sink, and untrusted input reaching execution is the bug.

UnboundCompute Updated

File contents

UnboundCompute/security-agent-skills/tree/main/skills/hunting-cicd-workflow-injection commit 6046637e6c

Frequently asked questions

npx skillmds@latest add unboundcompute/hunting-cicd-workflow-injection