[daily secrets] Secrets Analysis Report – 2026-06-23 #41089
Closed
Replies: 1 comment
-
|
This discussion has been marked as outdated by Daily Secrets Analysis Agent. A newer discussion is available at Discussion #41505. |
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-06-23
Workflow Files Analyzed: 250
Run: §28047172142
📊 Executive Summary
secrets.*Referencesgithub.tokenReferencesSecret category breakdown:
🛡️ Security Posture
✅ Redaction System: 250/250 workflows (100%) include
redact_secretssteps✅ Permission Blocks: 250/250 workflows (100%) declare explicit
permissions:✅ Token Cascade: 902 instances of the
GH_AW_GITHUB_MCP_SERVER_TOKEN || GH_AW_GITHUB_TOKEN || GITHUB_TOKENfallback chain✅ Secrets in Job Outputs: None detected — secrets are not leaked via
outputs:✅
github.event.*Usage: 4,461 event-data references are all safely captured into prefixedGH_AW_EXPR_*env vars — not template injections🎯 Key Findings
GH_AW_GITHUB_MCP_SERVER_TOKEN → GH_AW_GITHUB_TOKEN → GITHUB_TOKEN), giving ~3.6 cascade points per workflow on average.ANTHROPIC_API_KEY) dominates at 59 workflows (23.6%), followed by OpenAI (15), Codex (14), Gemini (2), Foundry (1), Antigravity (1).COPILOT_GITHUB_TOKENscoped to 118 workflows — Only 47.2% of workflows require the Copilot agent token, correctly limiting blast radius.💡 Recommendations
GH_AW_SIDE_REPO_PATusage — 24 references across a subset of workflows. Confirm this PAT has minimal scopes and is regularly rotated.CONTEXTsecret — Only 2 references found; verify it is still required and document its purpose.AZURE_*secrets — 6 Azure credential references (CLIENT_ID, CLIENT_SECRET, TENANT_ID × 2 each) across a small number of workflows. Ensure Workload Identity Federation is used where possible instead of static secrets.🔑 Top 10 Secrets by Usage
GITHUB_TOKENGH_AW_GITHUB_TOKENGH_AW_GITHUB_MCP_SERVER_TOKENGH_AW_OTEL_SENTRY_AUTHORIZATIONGH_AW_OTEL_SENTRY_ENDPOINTGH_AW_OTEL_GRAFANA_AUTHORIZATIONCOPILOT_GITHUB_TOKENGH_AW_OTEL_GRAFANA_ENDPOINTANTHROPIC_API_KEYOPENAI_API_KEY🤖 AI/LLM Provider Distribution
ANTHROPIC_API_KEYOPENAI_API_KEYCODEX_API_KEYGEMINI_API_KEYFOUNDRY_API_KEY+FOUNDRY_OPENAI_ENDPOINTANTIGRAVITY_API_KEYOPENROUTER_API_KEYBRAVE_API_KEYTAVILY_API_KEYSENTRY_OPENAI_API_KEYAnthropic is the primary AI provider, used in 23.6% of all workflows.
📋 Full Secret Inventory (38 unique secrets)
GitHub/Auth Tokens (8)
GITHUB_TOKEN,GH_AW_GITHUB_TOKEN,GH_AW_GITHUB_MCP_SERVER_TOKEN,COPILOT_GITHUB_TOKEN,GH_AW_AGENT_TOKEN,GH_AW_CI_TRIGGER_TOKEN,GH_AW_PROJECT_GITHUB_TOKEN,GH_AW_SIDE_REPO_PATOTEL/Observability (6)
GH_AW_OTEL_SENTRY_AUTHORIZATION,GH_AW_OTEL_SENTRY_ENDPOINT,GH_AW_OTEL_GRAFANA_AUTHORIZATION,GH_AW_OTEL_GRAFANA_ENDPOINT,GH_AW_OTEL_DATADOG_API_KEY,GH_AW_OTEL_DATADOG_ENDPOINTAI/LLM Keys (10)
ANTHROPIC_API_KEY,OPENAI_API_KEY,CODEX_API_KEY,GEMINI_API_KEY,FOUNDRY_API_KEY,FOUNDRY_OPENAI_ENDPOINT,ANTIGRAVITY_API_KEY,OPENROUTER_API_KEY,SENTRY_OPENAI_API_KEY,BRAVE_API_KEY,TAVILY_API_KEYDatadog (4)
DD_API_KEY,DD_APPLICATION_KEY,DD_APP_KEY,DD_SITEGrafana Direct (2)
GRAFANA_SERVICE_ACCOUNT_TOKEN,GRAFANA_URLSentry Direct (1)
SENTRY_ACCESS_TOKENAzure (3)
AZURE_CLIENT_ID,AZURE_CLIENT_SECRET,AZURE_TENANT_IDIntegrations (4)
NOTION_API_TOKEN,SLACK_BOT_TOKEN,CONTEXT,GH_AW_SIDE_REPO_PAT📖 Reference Documentation
scratchpad/secrets-yml.mdactions/setup/js/redact_secrets.cjsGH_AW_GITHUB_MCP_SERVER_TOKEN || secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKENGenerated: 2026-06-23T18:17:37Z
Workflow Run: §28047172142
Beta Was this translation helpful? Give feedback.
All reactions