[daily secrets] Secrets Analysis Report – 2026-07-27 #48418
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Daily Secrets Analysis Agent. A newer discussion is available at Discussion #48704. |
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-27
Workflow Files Analyzed: 263
Run: §30292291468
📊 Executive Summary
secrets.*Referencesgithub.tokenReferencesGitHub token variants (
GITHUB_TOKEN+GH_AW_GITHUB_TOKEN+GH_AW_GITHUB_MCP_SERVER_TOKEN) account for 9,790 references — the largest share of all secret usage, reflecting the heavy token-cascade pattern adopted across workflows.🛡️ Security Posture
✅ Redaction System: 263/263 (100%) workflows include
redact_secretssteps✅ Token Cascade Pattern: 943 instances of
GH_AW_GITHUB_MCP_SERVER_TOKEN || GH_AW_GITHUB_TOKEN || GITHUB_TOKENfallback chains✅ Permission Blocks: 263 explicit
permissions:definitions (100% coverage)✅ Secrets in Job Outputs: 33 occurrences reviewed — all are env-block assignments, not raw output exposure
🎯 Key Findings
Complete redaction & permissions coverage — every compiled workflow has both a
redact_secretsstep and an explicitpermissions:block. This is the expected baseline and is healthy.Token cascade is widely used — 943 usages of the 3-tier token fallback chain ensures workflows degrade gracefully when premium tokens are unavailable, reducing hard failures.
AI API key diversification — 5 distinct AI provider keys are in use (
ANTHROPIC_API_KEY×272,OPENAI_API_KEY×103,CODEX_API_KEY×102,GEMINI_API_KEY×5,OPENROUTER_API_KEY×1). No single provider is a sole dependency.github.event.*in non-env contexts — 4,690 lines referencegithub.event.*outsideenv:blocks (e.g., inif:,with:, Handlebars templates). These are standard compiled-workflow patterns, not injection risks, but warrant ongoing review as new workflows are added.Singleton secrets (
SLACK_BOT_TOKEN×1,OPENROUTER_API_KEY×1,GH_AW_OTEL_DATADOG_ENDPOINT×1) — very low usage may indicate workflows that are candidates for deprecation or consolidation.💡 Recommendations
Audit singleton secrets — review
SLACK_BOT_TOKEN,OPENROUTER_API_KEY, andGH_AW_OTEL_DATADOG_ENDPOINT(1 usage each) to confirm they are still needed and rotate if stale.Monitor AI key sprawl — with 5 AI provider keys and growing, consider documenting a provider preference matrix so new workflows choose the right key and avoid unnecessary secret proliferation.
Review
ANTIGRAVITY_API_KEY— used in only 1 workflow; verify this secret is intentional and not a test artifact.Establish historical baseline — this is the first automated daily snapshot. Future runs will enable trend detection for secret additions, removals, and usage spikes.
🔑 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_KEYAWI_MAINTENANCE_TOKEN📈 Trends
This is the first automated run of the daily secrets analysis. No historical baseline exists yet.
Future runs will track:
secrets.*references vs previous day📖 Reference Documentation
scratchpad/secrets-yml.mdactions/setup/js/redact_secrets.cjs.github/skills/agentic-workflows/SKILL.mdGenerated: 2026-07-27 18:09 UTC
Workflow Run: §30292291468
All reactions