[daily secrets] Daily Secrets Analysis Report — 2026-03-02 #19264
Closed
Replies: 2 comments
-
|
Superseded by today's daily secrets analysis report for 2026-03-04. See the latest report for current secret usage statistics. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Closing as this report is from 2026-03-02 (3 days old). Superseded by the 2026-03-05 Daily Secrets Analysis Report. |
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.
-
Date: 2026-03-02
Workflow Files Analyzed: 165
Run: §22593404268
📊 Executive Summary
secrets.*Referencesgithub.tokenReferencesAll 165 compiled workflow files have redaction steps and explicit permission blocks — strong baseline security posture.
🔑 Top 10 Secrets by Usage
GITHUB_TOKENGH_AW_GITHUB_TOKENGH_AW_GITHUB_MCP_SERVER_TOKENCOPILOT_GITHUB_TOKENANTHROPIC_API_KEYOPENAI_API_KEYCODEX_API_KEYGH_AW_CI_TRIGGER_TOKENGH_AW_SIDE_REPO_PATTAVILY_API_KEYView All 27 Secret Types
GITHUB_TOKENGH_AW_GITHUB_TOKENGH_AW_GITHUB_MCP_SERVER_TOKENCOPILOT_GITHUB_TOKENANTHROPIC_API_KEYOPENAI_API_KEYCODEX_API_KEYGH_AW_CI_TRIGGER_TOKENGH_AW_SIDE_REPO_PATTAVILY_API_KEYGH_AW_PROJECT_GITHUB_TOKENNOTION_API_TOKENGH_AW_AGENT_TOKENGEMINI_API_KEYBRAVE_API_KEYDD_SITEDD_APPLICATION_KEYDD_API_KEYSENTRY_OPENAI_API_KEYSENTRY_ACCESS_TOKENCONTEXTAZURE_TENANT_IDAZURE_CLIENT_SECRETAZURE_CLIENT_IDSLACK_BOT_TOKENGH_AW_BOT_DETECTION_TOKEN🤖 AI Engine API Key Coverage
ANTHROPIC_API_KEYOPENAI_API_KEYCODEX_API_KEYTAVILY_API_KEYBRAVE_API_KEYGEMINI_API_KEYClaude/Anthropic is the dominant AI engine (40 workflows), followed by OpenAI/Codex (11 each).
🛡️ Security Posture
Protection Mechanisms
✅ Redaction System: 165/165 workflows (100%) include
redact_secretssteps✅ Explicit Permissions: 165/165 workflows (100%) have
permissions:blocks✅ Token Cascade Pattern: 622 instances of
GH_AW_GITHUB_MCP_SERVER_TOKEN || GH_AW_GITHUB_TOKEN || GITHUB_TOKENfallback chains provide graceful degradation✅ No Secrets in Outputs: 0 secrets exposed via job output values
Security Checks
Template Injection Analysis
The initial scan flagged 2,166
github.event.*usages outside explicitenv:blocks. After deeper classification:if:condition expressionsenv:assignment (explicit)env:assignment (expr pattern e.g.GH_AW_EXPR_*)concurrency.group:keysref:valuesif:continuationsActual direct shell injection risks: 0
All
github.event.*usages are properly channeled through environment variables before shell access. No unsafe direct interpolation inrun:blocks was found.🎯 Key Findings
Full security control coverage: Every single compiled workflow file has both redaction and explicit permissions — the tooling is enforcing these controls at compile time.
GitHub Token dominance: ~59% of all secret references (3,892/6,563 counting
github.tokentoo) are GitHub authentication tokens, reflecting the heavy GitHub API usage pattern in agentic workflows.MCP token pattern widespread:
GH_AW_GITHUB_MCP_SERVER_TOKENappears 948 times across files, indicating broad MCP server adoption in workflows. The 3-tier cascade (MCP → custom → default) provides good resilience.Anthropic-first AI strategy: ANTHROPIC_API_KEY used in 40 workflows (2.4× more than OpenAI/Codex at 11 each), indicating Claude as the primary production engine.
Specialized tokens confined: Niche secrets like
DD_API_KEY,SENTRY_ACCESS_TOKEN,AZURE_*,SLACK_BOT_TOKENappear in very few workflows (1–3), confirming proper scoping.💡 Recommendations
Monitor
CONTEXTsecret usage: TheCONTEXTsecret (2 occurrences) has an ambiguous name. Review its usage to ensure it doesn't accidentally expose sensitive workflow context data.Consider
GH_AW_BOT_DETECTION_TOKENconsolidation: This token appears in only 1 workflow. Evaluate if it could be replaced byGH_AW_GITHUB_TOKENto reduce the total secret surface.Track AI key sprawl: With 6 distinct AI engine API keys, consider documenting which workflows require which keys to simplify rotation procedures.
📖 Reference Documentation
scratchpad/secrets-yml.mdactions/setup/js/redact_secrets.cjsReferences:
Beta Was this translation helpful? Give feedback.
All reactions