[daily secrets] Daily Secrets Analysis Report — 2026-03-22 #22316
Closed
Replies: 1 comment
-
|
This discussion has been marked as outdated by Daily Secrets Analysis Agent. A newer discussion is available at Discussion #22778. |
Beta Was this translation helpful? Give feedback.
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-03-22
Workflow Files Analyzed: 177
Run: §23411263741
📊 Executive Summary
secrets.*referencesgithub.tokenreferences🛡️ Security Posture
✅ Universal Redaction: All 177 workflows include
redact_secrets.cjs— secrets are masked from logs before any agent output is processed.✅ Full Permission Coverage: Every workflow declares explicit
permissions:blocks — no implicit over-privileged tokens.✅ Token Cascade Pattern: 660 instances of the 3-tier fallback chain (
GH_AW_GITHUB_MCP_SERVER_TOKEN || GH_AW_GITHUB_TOKEN || GITHUB_TOKEN), enabling fine-grained token scoping while maintaining backwards compatibility.✅ No Secrets in Outputs: Zero job output values expose secret references, preventing downstream secret leakage via
needs.*.outputs.*.✅ Env-Based Secret Injection: All secret values are passed through
env:orwith:parameters — never interpolated directly into shellrun:blocks or prompt strings.🎯 Key Findings
GitHub token dominance: GITHUB_TOKEN (2,100) and GH_AW_GITHUB_TOKEN (2,028) account for ~56% of all secret references, reflecting the platform-centric nature of these agentic workflows.
MCP server token adoption: GH_AW_GITHUB_MCP_SERVER_TOKEN appears 991 times across workflows — it has become a primary token for GitHub MCP server access, almost always via the cascade fallback.
AI engine diversification: The codebase supports 4 AI engines with distinct credentials:
Third-party integrations: Only 2 workflows use non-GitHub/AI secrets (Datadog in
mcp-inspector, Notion innotion-issue-summary), keeping the third-party secret surface area minimal.First run baseline: This is the inaugural daily secrets report — no prior data to compare against. This report establishes the baseline for future trend analysis.
💡 Recommendations
Track CONTEXT7_API_KEY explicitly: The
CONTEXT7_API_KEYsecret (2 references) was partially masked in extraction due to the numeric character in the name. Ensure this secret is explicitly included in the redaction list inredact_secrets.cjs.Monitor GH_AW_PLUGINS_TOKEN: This token appears only once (in a cascade:
GH_AW_PLUGINS_TOKEN || GH_AW_GITHUB_TOKEN || GITHUB_TOKEN). Verify it's still intentional and not an orphaned reference.Review GH_AW_SIDE_REPO_PAT scope: 17 references across workflows for cross-repository access — periodically verify the minimum required scopes are granted.
Establish trend alerting: Now that a baseline exists (3,663 secret refs, 26 types), alert if daily delta exceeds ±5% or if new secret types appear without code review.
🔑 Full Secret Inventory (26 named secrets)
GITHUB_TOKENGH_AW_GITHUB_TOKENGH_AW_GITHUB_MCP_SERVER_TOKENCOPILOT_GITHUB_TOKENANTHROPIC_API_KEYOPENAI_API_KEYCODEX_API_KEYGH_AW_CI_TRIGGER_TOKENGH_AW_SIDE_REPO_PATTAVILY_API_KEYNOTION_API_TOKENGH_AW_AGENT_TOKENGH_AW_PROJECT_GITHUB_TOKENGEMINI_API_KEYBRAVE_API_KEYDD_SITEDD_APPLICATION_KEYDD_API_KEYSENTRY_OPENAI_API_KEYSENTRY_ACCESS_TOKENCONTEXT7_API_KEYAZURE_TENANT_IDAZURE_CLIENT_SECRETAZURE_CLIENT_IDSLACK_BOT_TOKENGH_AW_PLUGINS_TOKEN📈 Workflow Density (Top 10 by Secret References)
mcp-inspectordaily-newssmoke-claudesmoke-copilotsmoke-copilot-armdeep-reportsmoke-projectsmoke-codexreleaseunbloat-docs🤖 AI Engine Distribution
COPILOT_GITHUB_TOKENANTHROPIC_API_KEYCODEX_API_KEY/OPENAI_API_KEYGEMINI_API_KEYThe remaining ~39 workflows use only GitHub tokens (no AI engine–specific API keys), typically for utility or CI workflows.
📖 Reference Documentation
scratchpad/secrets-yml.mdactions/setup/js/redact_secrets.cjspkg/workflow/compiler_yaml.goGenerated: 2026-03-22 20:01 UTC
Workflow:
daily-secrets.mdBeta Was this translation helpful? Give feedback.
All reactions