[daily secrets] Secret Usage Analysis — 2026-07-20 #46899
Closed
Replies: 1 comment
-
|
This discussion has been marked as outdated by Daily Secrets Analysis Agent. A newer discussion is available at Discussion #47123. |
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-07-20
Workflow Files Analyzed: 260
Run: §29767072109
📊 Executive Summary
secrets.*referencesgithub.tokenreferencesGitHub token secrets (
GITHUB_TOKEN+GH_AW_GITHUB_TOKEN+GH_AW_GITHUB_MCP_SERVER_TOKEN) account for 9,688 references — approximately 56% of all secret usage — reflecting the agentic, GitHub-API-heavy nature of these workflows.🛡️ Security Posture
✅ Redaction System: 260/260 workflows (100%) have redaction steps
✅ Token Cascades: 933 instances of fallback chains (
GH_AW_GITHUB_MCP_SERVER_TOKEN || GH_AW_GITHUB_TOKEN || GITHUB_TOKEN)✅ Permission Blocks: 260 explicit
permissions:definitions (one per workflow)✅ No secrets in job outputs: All
secrets.*hits nearoutputs:sections are inenv:blocks, not actual job-level output declarations✅ No template injection risks: All
github.event.*references are in safeenv:assignments orif:condition expressions🎯 Key Findings
permissions:block and a redaction step — the security baseline is uniformly enforced across all 260 files.ANTHROPIC_API_KEY,OPENAI_API_KEY,CODEX_API_KEY,GEMINI_API_KEY,FOUNDRY_API_KEY,AI_GATEWAY_API_KEY,OPENROUTER_API_KEY,SENTRY_OPENAI_API_KEY,BRAVE_API_KEY,TAVILY_API_KEY,ANTIGRAVITY_API_KEY,COPILOT_GITHUB_TOKEN), reflecting multi-model strategy.💡 Recommendations
AI_GATEWAY_API_KEY,CONTEXT,AZURE_CLIENT_ID/SECRET/TENANT_ID,SLACK_BOT_TOKEN,OPENROUTER_API_KEY,GH_AW_OTEL_DATADOG_ENDPOINT). Confirm these are still needed or consolidate.AI_GATEWAY_API_KEY) to reduce secret surface area.GITHUB_TOKEN-family secrets have 9,688+ references — ensure rotation procedures are documented and tested.🔑 Top 20 Secrets by Usage
GITHUB_TOKENGH_AW_GITHUB_TOKENGH_AW_GITHUB_MCP_SERVER_TOKENCOPILOT_GITHUB_TOKENGH_AW_OTEL_SENTRY_AUTHORIZATIONGH_AW_OTEL_SENTRY_ENDPOINTGH_AW_OTEL_GRAFANA_AUTHORIZATIONANTHROPIC_API_KEYGH_AW_OTEL_GRAFANA_ENDPOINTOPENAI_API_KEYCODEX_API_KEYGH_AW_CI_TRIGGER_TOKENGH_AW_SIDE_REPO_PATGH_AW_AGENT_TOKENTAVILY_API_KEYSENTRY_OPENAI_API_KEYSENTRY_ACCESS_TOKENDD_APP_KEYDD_APPLICATION_KEYDD_API_KEY📋 All 41 Unique Secret Types
AI_GATEWAY_API_KEYANTHROPIC_API_KEYANTIGRAVITY_API_KEYAWI_MAINTENANCE_TOKENAZURE_CLIENT_IDAZURE_CLIENT_SECRETAZURE_TENANT_IDBRAVE_API_KEYCODEX_API_KEYCONTEXTCOPILOT_GITHUB_TOKENDD_API_KEYDD_APPLICATION_KEYDD_APP_KEYDD_SITEFOUNDRY_API_KEYFOUNDRY_OPENAI_ENDPOINTGEMINI_API_KEYGH_AW_AGENT_TOKENGH_AW_CI_TRIGGER_TOKENGH_AW_GITHUB_MCP_SERVER_TOKENGH_AW_GITHUB_TOKENGH_AW_OTEL_DATADOG_API_KEYGH_AW_OTEL_DATADOG_ENDPOINTGH_AW_OTEL_GRAFANA_AUTHORIZATIONGH_AW_OTEL_GRAFANA_ENDPOINTGH_AW_OTEL_SENTRY_AUTHORIZATIONGH_AW_OTEL_SENTRY_ENDPOINTGH_AW_PROJECT_GITHUB_TOKENGH_AW_SIDE_REPO_PATGITHUB_TOKENGRAFANA_SERVICE_ACCOUNT_TOKENGRAFANA_URLNOTION_API_TOKENOPENAI_API_KEYOPENROUTER_API_KEYSENTRY_ACCESS_TOKENSENTRY_OPENAI_API_KEYSLACK_BOT_TOKENTAVILY_API_KEY📖 Reference Documentation
scratchpad/secrets-yml.mdactions/setup/js/redact_secrets.cjsGenerated: 2026-07-20T18:19:37Z
Workflow Run: §29767072109
Beta Was this translation helpful? Give feedback.
All reactions