mshade/flowscope-static-analysis-gate

Analyzes GitHub Actions workflow files for permission scope violations. Hard-blocks write-all, implicit full access, and unscoped workflow-level writes. Warns on agentic steps with write scope and no observed baseline.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
workflow_filePath to the workflow YAML file to analyzeyes
baseline_filePath to JSON file with observed usage baseline (from observation plane)no""
exceptions_filePath to JSON file with registered scope exceptionsno""
create_exception_prWhen true, automatically create a draft PR with an exception skeleton when violations are detected. Requires contents: write and pull-requests: write permissions in the calling workflow. nofalse
warn_onlyWhen true, exit 0 even when violations are found. Prints an audit summary of what would have failed. Use during gradual rollout before enabling hard enforcement. nofalse
registry_urlURL to POST violations JSON for central audit tracking. Intended for the policy plane (not yet implemented). Can also be set via the FLOWSCOPE_REGISTRY_URL environment variable. no""
namedescription
resultFull JSON check result (workflow_path, passed, violations[])