You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Expand GitHub workflow supply-chain and token-scoping audits #445
Workflow supply-chain coverage is strong but has gaps around pin provenance, generated-token scope, usage policy, and live vulnerability intelligence. Each of the following is a distinct, real exposure the auditor does not yet catch.
Proposal
Add the following workflow audit rules. Each is independent and can ship separately.
Scope
Stale pin annotation — a reference pinned to an immutable digest whose human-readable version comment is missing or no longer matches the digest it points at, so reviewers trust a label that has drifted.
Over-scoped generated token — issuance of an installation/app token with broader scope or lifetime than the consuming steps require.
Usage policy enforcement — an opt-in allow/deny mechanism that flags third-party references outside an approved set, for environments that constrain which external components may run.
Advisory cross-reference — checking pinned references against a known-vulnerability feed and flagging those with a disclosed issue, refreshed rather than baked into a static list.
Acceptance criteria
Each capability is a separate rule with its own id, severity, dimension, tier, and remediation.
Stale-pin rule flags both a missing annotation and a mismatched one.
Over-scoped-token rule flags excess scope/lifetime against consuming steps.
Policy rule is opt-in and configurable, silent when unconfigured.
Advisory cross-reference degrades gracefully when the feed is unreachable.
Activity
feat(audit): GitHub workflow supply-chain and token-scoping rule expa…