🔍 Static Analysis Report - January 3, 2026 #8763
Replies: 2 comments 1 reply
-
|
/q review MCP requests errors |
Beta Was this translation helpful? Give feedback.
1 reply
-
Q Investigation StartedI'm investigating the MCP request errors reported in this discussion. Let me analyze:
Gathering live data from recent workflow runs...
|
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.
-
Status: 🔴 FAILED - MCP compilation error prevents scanning
Error:
MCP error -32603: failed to compile workflowsTools Status: zizmor and poutine not installed in runner environment
Impact: 10+ days without comprehensive security scanning
Analysis Summary
Infrastructure Crisis
Estimated Findings (Based on 10-Day-Old Baseline)
Since no scan could run today, projections based on:
Findings by Tool (Projected)
Findings by Severity (Projected)
Clustered Findings by Tool and Type
Zizmor Security Findings (Projected: 650-660)
Poutine Supply Chain Findings (Projected: 132-135)
Actionlint Linting Issues (Projected: 130-135)
Top Priority Issues
1. 🔴 P0 CRITICAL: MCP Compilation Infrastructure Failure
2. 🔴 P1 HIGH: artipacked - Credential Persistence (650+ instances)
persist-credentials: falseto checkout actions)artipacked Technical Details
What is it?
The
actions/checkoutaction by default persists the GitHub token in the.git/configfile. If this directory is later uploaded as an artifact, the token is exposed.Why it matters?
How to fix?
Add
persist-credentials: falseto every checkout step:3.⚠️ P2 MEDIUM: excessive-permissions (2 workflows)
4.⚠️ P2 MEDIUM: default_permissions_on_risky_events (5 workflows)
Fix Suggestion for default_permissions_on_risky_events
Issue: Workflows triggered by untrusted users (issues, PR comments, slash commands) use default read-write permissions instead of explicit minimal permissions.
Security Risk:
Affected Workflows: ai-moderator, archie, brave, cloclo, grumpy-reviewer
Fix Instructions
Step 1: Add explicit
permissions:block at workflow levelStep 2: Validate the fix
Permission Mapping
contents: readissues: writepull-requests: writediscussions: writecontents: writeImportant: Start with
contents: readand only add write permissions as needed. NEVER usewrite-all.All Findings Details
Detailed Baseline Data (Dec 24, 2025)
Complete Breakdown by Tool
Zizmor (610+ findings):
actions/checkoutsteppersist-credentials: falsePoutine (125 findings):
curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.7.0 bashActionlint (123 findings):
local var=$(command)in generated Claude Code scriptsWorkflows Scanned in Dec 31 Partial Scan
Successfully scanned ~25 workflows before MCP timeout:
Historical Trends
Repository Growth
Trend: Repository growing (+12 workflows in 10 days), but scanning capability degrading
Findings Trend
Analysis:
Infrastructure Reliability Trend
Trend: CRITICAL DEGRADATION - From working → timeout → complete failure
Recommendations
P0 - CRITICAL (Infrastructure - IMMEDIATE ACTION REQUIRED)
Investigate MCP -32603 error
Install zizmor and poutine in runner
Implement monitoring for MCP health
P1 - HIGH (Security - Fix Within 3 Days)
Bulk fix artipacked findings (650+ instances)
persist-credentials: falseto all checkout actionsFix excessive-permissions (2 workflows)
Add explicit permissions (5 workflows)
P2 - MEDIUM (Quality - Fix Within 1 Week)
Address shellcheck warnings (120+ instances)
Investigate lock-for-agent syntax errors
P3 - LOW (Process Improvement)
Establish continuous static analysis
Create workflow security guidelines
Next Steps
Files Updated
/tmp/gh-aw/cache-memory/static-analysis-findings-2026-01-03.json✅Assessment
Current Security Posture: 🔴 CRITICAL
Reasons:
Immediate Actions Required:
Report Date: January 3, 2026
Scan Status: 🔴 FAILED - MCP infrastructure issue
Data Source: Historical baseline (Dec 24 + Dec 31 partial)
Next Scan: Blocked until MCP fixed
Confidence: Medium (10-day-old data, projections for new workflows)
Beta Was this translation helpful? Give feedback.
All reactions