[daily secrets] Daily Secrets Analysis Report - 2026-08-18 #53776
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Daily Secrets Analysis Agent. A newer discussion is available at Discussion #54057. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🔐 Daily Secrets Analysis Report
Date: 2026-08-18
Workflow Files Analyzed: 286
Run: https://github.com/github/gh-aw/actions/runs/32167195245
📊 Executive Summary
secrets.*)github.token)env:/with:blocks (job-levelenv:blocks with directsecrets.*were not detected — usage is concentrated at the step level, consistent with the gh-aw compiler's design of injecting secrets only where needed)🛡️ Security Posture
✅ Redaction System: 286/286 workflows have redaction steps (100% coverage)
✅ Token Cascades: 1,023 instances of
GH_AW_GITHUB_MCP_SERVER_TOKEN || secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKENfallback chains✅ Permission Blocks: 286 explicit
permissions:definitions (100% coverage)Template injection scan: 4,823 matches for
github.event.across lock files. This count is expected — most of these are safely captured into intermediateenv:variables before use (the standard gh-aw safe-templating pattern) rather than being interpolated directly into shell/script bodies. No new raw/unsafe interpolation patterns were flagged outside this pattern in this pass.Secrets-in-outputs scan: 38 raw matches for
secrets.nearoutputs:blocks. On inspection, these are false positives from the grep context window (adjacentoutputs:keys in step configuration unrelated to job outputs) rather than genuine secret leakage intoGITHUB_OUTPUT/job outputs. No confirmed secret exposure via outputs was found.🎯 Key Findings
GH_AW_OTEL_SENTRY_*,GH_AW_OTEL_GRAFANA_*) account for ~1,960 references, indicating broad adoption of OpenTelemetry/Sentry/Grafana integration across workflows.ANTHROPIC_API_KEY,OPENAI_API_KEY,CODEX_API_KEY) are present with moderate usage (106–269 occurrences each), consistent with multi-engine support.💡 Recommendations
GH_AW_GITHUB_MCP_SERVER_TOKEN || secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN) for all new workflows requiring GitHub API access — it's applied consistently (1,023 instances) and should stay the standard.github.event.*usage to confirm all instances continue routing through intermediateenv:variables rather than direct script interpolation, since the raw match count is large enough that manual spot-checks are more reliable than aggregate counts alone.GITHUB_OUTPUTwrites) to reduce false-positive noise and make the check more actionable.🔑 Top 10 Secrets by Usage
📈 Trends
No historical baseline was found for comparison (first recorded run in this environment). Today's stats have been captured as the baseline for future daily comparisons:
📖 Reference Documentation
For detailed information about secret usage patterns, see:
scratchpad/secrets-yml.mdactions/setup/js/redact_secrets.cjsGenerated: 2026-08-18 17:47 UTC
Workflow:
.github/workflows/daily secrets analysisAll reactions