[daily secrets] π Daily Secrets Analysis Report β 2026-07-04 #43424
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Daily Secrets Analysis Agent. A newer discussion is available at Discussion #43604. |
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-04
Workflow Files Analyzed: 258
Run: Β§28714760645
π Executive Summary
secrets.*Referencesgithub.tokenReferencesπ‘οΈ Security Posture
β Redaction System: 258/258 workflows have
redact_secretssteps β full coverageβ Permission Blocks: 258/258 workflows define explicit
permissions:β full coverageβ Token Cascade Chains: 930 instances of
GH_AW_GITHUB_MCP_SERVER_TOKEN || secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKENfallback patternβ Secrets in Job Outputs: None found β no secret values leaked through job output bindings
β
secrets: inherit: Not used in any workflow β all secrets are explicitly declaredβ
github.event.*Usage: All occurrences are safe env-var assignments via${{ }}expressions, not raw shell interpolationsπ― Key Findings
GitHub auth tokens dominate: Tokens for GitHub API access (
GITHUB_TOKEN,GH_AW_GITHUB_TOKEN,GH_AW_GITHUB_MCP_SERVER_TOKEN,COPILOT_GITHUB_TOKEN) account for 9,555 references β the vast majority of all secret usage. This reflects the agent-heavy, GitHub-centric nature of these workflows.AI/LLM keys are tightly scoped: The 450 references to AI API keys (Anthropic, OpenAI, Codex, Gemini, etc.) are concentrated in agent-runner steps.
ANTHROPIC_API_KEYleads with 242 occurrences, consistent with Claude-based agentic workflows.Observability stack is well-instrumented: 1,956 references to OTEL/Sentry/Grafana secrets confirm comprehensive telemetry coverage. Sentry (711 auth + 475 endpoint) and Grafana (473 auth + 237 endpoint) are the primary backends.
High-complexity workflows identified:
mcp-inspector.lock.ymluses 23 distinct secret types β the most diverse in the repo.smoke-otel-backends.lock.yml(19 types) anddaily-token-consumption-report.lock.yml(13 types) follow. These are prime candidates for periodic review.Cloud/third-party credentials are limited in scope: Azure credentials (
AZURE_CLIENT_ID,AZURE_CLIENT_SECRET,AZURE_TENANT_ID) appear only insmoke-copilot-aoai-entra.lock.yml. Slack (SLACK_BOT_TOKEN) and Notion (NOTION_API_TOKEN) are each used in exactly one workflow.π‘ Recommendations
Review
mcp-inspector.lock.ymlperiodically: With 23 distinct secret types, this workflow is the highest-complexity credential consumer. Verify that all 23 secrets remain necessary and actively rotate any that are long-lived.Audit Datadog migration status:
DD_API_KEY,DD_APP_KEY,DD_APPLICATION_KEY, andDD_SITEappear in 7β10 references each, alongside GH_AW OTEL variants. Confirm whether Datadog integration is fully active or transitional.Confirm
GH_AW_OTEL_DATADOG_*usage: Only 2 references toGH_AW_OTEL_DATADOG_API_KEYand 1 toGH_AW_OTEL_DATADOG_ENDPOINTβ very low usage. Verify these are intentionally limited or remove if unused.Monitor
CONTEXTandOPENROUTER_API_KEY: Each appears only once (2 and 1 reference respectively). Confirm these are deliberate single-use secrets or candidates for removal.π Top 20 Secrets by Usage
GITHUB_TOKENGH_AW_GITHUB_TOKENGH_AW_GITHUB_MCP_SERVER_TOKENgithub.token(direct)GH_AW_OTEL_SENTRY_AUTHORIZATIONGH_AW_OTEL_SENTRY_ENDPOINTGH_AW_OTEL_GRAFANA_AUTHORIZATIONCOPILOT_GITHUB_TOKENANTHROPIC_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_KEY*
github.tokencounted separately fromsecrets.*referencesποΈ Secret Categories Breakdown
Note: Does not include the 1,569
github.tokendirect references.π Highest Complexity Workflows (by distinct secret types)
mcp-inspectorsmoke-otel-backendsdaily-token-consumption-reportdaily-model-inventorysmoke-projectπ Reference Documentation
scratchpad/secrets-yml.mdactions/setup/js/redact_secrets.cjs.github/workflows/smoke-otel-backends.lock.ymlGenerated: 2026-07-04T17:57 UTC
Workflow Run: Β§28714760645
All reactions