[daily secrets] Secret Usage Analysis - February 10, 2026 #14824
Closed
Replies: 1 comment
-
|
This discussion was automatically closed because it expired on 2026-02-13T18:40:07.932Z.
|
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.
-
📊 Executive Summary
Analyzed 148 compiled workflow files for secret usage patterns and security controls.
Key Metrics:
secrets.*+ 440github.token+ rest in expressions)🔑 Secret Usage by Category
GitHub Access Tokens (3,959 refs - 79.5%)
GITHUB_TOKENGH_AW_GITHUB_TOKENGH_AW_GITHUB_MCP_SERVER_TOKENCOPILOT_GITHUB_TOKENGH_AW_PROJECT_GITHUB_TOKENGH_AW_AGENT_TOKENAI Service Tokens (481 refs - 9.7%)
ANTHROPIC_API_KEY,CLAUDE_CODE_OAUTH_TOKENOPENAI_API_KEY,CODEX_API_KEY,SENTRY_OPENAI_API_KEYThird-Party Services (53 refs - 1.1%)
View All Third-Party Secrets
TAVILY_API_KEYNOTION_API_TOKENDD_SITE,DD_API_KEY,DD_APPLICATION_KEYAZURE_CLIENT_ID,AZURE_CLIENT_SECRET,AZURE_TENANT_IDBRAVE_API_KEYCONTEXT7_API_KEYSENTRY_ACCESS_TOKENSLACK_BOT_TOKEN🛡️ Security Posture Analysis
✅ Protection Mechanisms (100% Coverage)
Token Cascade Pattern (609 uses):
This pattern ensures workflows continue functioning even if specific tokens are unavailable.
Template Injection Analysis
Finding: 1,925 instances of
github.event.*expressions detected across workflows.Context: These are primarily in safe-inputs/safe-outputs sanitization steps where
github.eventdata is explicitly sanitized before use. Most are legitimate patterns like:github.event.discussion.numbergithub.event.issue.numbergithub.event.pull_request.numberRisk Assessment: LOW - These expressions are used in controlled contexts with sanitization layers.
Recommendation: Continue monitoring; no immediate action required.
📈 Distribution Analysis
Secret References by Context:
Top 5 Most-Used Secrets:
GITHUB_TOKEN- 1,675 (33.6%)GH_AW_GITHUB_TOKEN- 1,511 (30.3%)GH_AW_GITHUB_MCP_SERVER_TOKEN- 754 (15.1%)COPILOT_GITHUB_TOKEN- 491 (9.9%)CLAUDE_CODE_OAUTH_TOKEN- 175 (3.5%)🎯 Key Findings
💡 Recommendations
📖 Reference Documentation
Secret Management:
scratchpad/secrets-yml.mdactions/setup/js/redact_secrets.cjsToken Cascades:
Generated: 2026-02-10 18:38 UTC
Workflow Run: §21877692794
Analyzed Files: 148
.lock.ymlworkflowsBeta Was this translation helpful? Give feedback.
All reactions