Skip to content

[static-analysis] Report - 2026-10-03 #65245

Closed as not planned
Closed as not planned

Description

@github-actions

Analysis Summary

  • Tools Used: zizmor, poutine, actionlint, runner-guard, syft, grype, yamllint, shellcheck
  • Total Findings: 18,023 (+32 vs 2026-10-02, +0.18%)
  • Workflows Scanned: 302 (301 → 302, +1 source not yet identified)
  • Workflows Affected: 302 of 302 (at least one zizmor info/low finding touches every workflow)
  • Highlight: zizmor High severity findings dropped 10 → 2 — the github-app rule (8 findings across 4 squad-* workflows, open 28+ consecutive days) is resolved; root cause confirmed in .github/workflows/shared/squad.md, which now sets permission-contents: read and a repositories: scope on the minted GitHub App token.

Findings by Tool

Tool Total Critical High Medium Low/Info
zizmor (security) 15,199 0 2 8,334 6,863
poutine (supply chain) 30 0 0 1 29
actionlint (linting) 206 - - - 206
runner-guard (taint analysis) 13 0 1 12 0
syft (SBOM inventory) 11 images / 3,866 packages - - - -
grype (container CVEs) 2,363 41 493 774 1,055
yamllint (yaml linting) 0 - - - -
shellcheck (shell linting) 212 - - - 212

Note: actionlint's own native checks found 0 issues — all 206 actionlint findings are its shellcheck passthrough, duplicating the standalone shellcheck SC1003 findings below (same root script template, not double the real bugs).

Clustered Findings by Tool and Type

Zizmor Security Findings

Issue Type Severity Count Affected Workflows
secrets-outside-env Medium 8,257 299
anonymous-definition Informational 2,217 302
self-repository Low 2,162 302
undocumented-permissions Low 1,878 302
adhoc-packages Low 518 236
artipacked Medium 76 73
template-injection Informational/Low 58 21
obfuscation Low 29 29
secrets-inherit Medium 1 windows-grower.lock.yml
unpinned-images High 1 smoke-service-ports.lock.yml
bot-conditions High 1 squad.lock.yml
superfluous-actions Informational 1 smoke-codex.lock.yml

Poutine Supply Chain Findings

Issue Type Severity Count Affected Workflows
github_action_from_unverified_creator_used note 29 28
pr_runs_on_self_hosted warning 1 smoke-copilot-arm.lock.yml

Actionlint Linting Issues

Issue Type Count Affected Workflows
shellcheck passthrough (SC1003) 206 33 (same set as standalone shellcheck, below)

Syft SBOM Inventory

Image Packages Notes
ghcr.io/oraios/serena:1.7.0 1,678 largest image by package count
ghcr.io/github/gh-aw-firewall/agent:0.28.31 567 bumped from 0.28.30
ghcr.io/github/gh-aw-firewall/cli-proxy:0.28.31 347 bumped from 0.28.30
ghcr.io/github/gh-aw-mcpg:v0.4.28 288 bumped from v0.4.27
ghcr.io/github/gh-aw-firewall/api-proxy:0.28.31 193 bumped from 0.28.30
ghcr.io/xberg-io/xberg:latest 169
grafana/mcp-grafana:1.1.0-alpine 178
ghcr.io/github/gh-aw-node 177
node:lts-alpine 165
ghcr.io/github/gh-aw-firewall/squid:0.28.31 63 bumped from 0.28.30
ghcr.io/github/github-mcp-server:v1.12.2 41

Total: 3,866 packages across 11 images — flat vs 2026-10-02 despite 3 image version bumps (gh-aw-firewall/* and gh-aw-mcpg).

Runner-Guard Taint Analysis Findings

Runner-Guard v2.6.0 — 13 total findings, 5 unique (file, line, rule) locations after de-duplicating buffered output.

Rule ID Name Severity Affected Workflows
RGS-005 Excessive Permissions on Untrusted Trigger Medium agentic_commands.yml, ai-moderator.lock.yml, q.lock.yml, squad.lock.yml
RGS-012 Secret Exfiltration via Outbound HTTP Request High github-remote-mcp-auth-test.lock.yml

Issues created this run: none. RGS-012 is a recurring, previously-triaged finding — verified via issue_read that #55652 is closed (merged suppression PR #55686, closed 2026-08-25). The underlying run: step still trips the heuristic on every scan (line number only, now 1796 vs 1675 previously — file has shifted but the step itself is an intentional MCP handshake test), but per the dedup policy a closed issue means skip, don't re-file, don't comment. RGS-005 findings are Medium severity, below the Critical/High issue-creation threshold.

Grype Container Vulnerability Findings

Package (top clusters) Finding count Notes
libc6 / binutils family 70 / 69×6 base Debian toolchain, mostly Negligible/Low
tar 47 includes GHSA-r292-9mhp-454m (High) in 2 firewall images
curl / libcurl4t64 44 / 44 Critical in xberg:latest and serena images
bind9-libs 43 Medium/High cluster in firewall agent + squid images
openssl / libssl3 family 36×3 Critical CVE-2026-63073 / CVE-2026-75803 across 4 images
python3.10 family 33×2 Medium, firewall agent image
perl-base 28 Medium, firewall agent image

By severity: 41 Critical, 493 High, 774 Medium, 148 Low, 860 Negligible, 47 Unknown.

Critical findings by image:

Image Critical count Key CVEs
ghcr.io/xberg-io/xberg:latest 18 CVE-2026-19931/11856/8924/10536/9079/18924/8927/8926 (curl), CVE-2026-52490 (libtiff6), CVE-2026-6653 (libxml2)
ghcr.io/oraios/serena:1.7.0 14 CVE-2026-63073/75803 (openssl), CVE-2026-19931/18924 (curl), GHSA-ffc3-869f-jxw9 (pyjwt)
grafana/mcp-grafana:1.1.0-alpine 4 CVE-2026-63073/75803 (libcrypto3/libssl3)
ghcr.io/github/gh-aw-mcpg:v0.4.28 4 CVE-2026-63073/75803 (libcrypto3/libssl3)
ghcr.io/github/github-mcp-server:v1.12.2 1 CVE-2026-75803 (libssl3)

Yamllint YAML Linting Findings

No findings — 0 issues across 302 files.

Shellcheck Shell Linting Findings

Code Count Affected Workflows/Steps
SC1003 206 33 (heredoc example text "Want to escape a single quote?" embedded in a shared CLI-invocation step template — not executed code, appears to be illustrative text in a prompt/script sample)
SC2086 6 daily-cli-performance, daily-hippo-learn, hippo-embed, smoke-claude (mcp-scripts.go/mcp-scripts.make/mcp-scripts.hippo steps — unquoted variable expansion)

Top Priority Issues

1. grype Critical CVEs in container images (41 findings, 5 images)

  • Tool: grype
  • Count: 41 Critical (493 High)
  • Severity: Critical
  • Affected: ghcr.io/xberg-io/xberg:latest, ghcr.io/oraios/serena:1.7.0, grafana/mcp-grafana:1.1.0-alpine, ghcr.io/github/gh-aw-mcpg:v0.4.28, ghcr.io/github/github-mcp-server:v1.12.2
  • Description: Base-image OS packages (openssl/libssl3, curl/libcurl4t64, libxml2, libtiff6, pyjwt) with known Critical CVEs, several with upstream fixed versions already available.
  • Impact: These are the MCP server/tool containers used inside gh-aw sandboxes; a Critical CVE with remote-code-execution potential in curl/openssl is a meaningful risk if any of these images processes untrusted network input.
  • Reference: (nvd.nist.gov/redacted), (securitytracker.debian.org/redacted), (security.alpinelinux.org/redacted)

2. zizmor secrets-outside-env (Medium, 8,257 occurrences, 299 workflows)

  • Tool: zizmor
  • Count: 8,257 (largest single cluster in the entire scan, ~46% of all zizmor findings)
  • Severity: Medium
  • Affected: 299 of 302 workflows
  • Description: Jobs reference secrets.* without a dedicated GitHub environment:, so there's no scoping or approval gate on secret access.
  • Impact: Root-caused to the shared Go compiler template (not hand-written per workflow) — a single template fix would resolve nearly all 8,257 occurrences at once rather than requiring 299 individual edits.
  • Reference: (docs.zizmor.sh/redacted)

3. runner-guard RGS-012 — Secret Exfiltration via Outbound HTTP Request (High, 1 finding)

  • Tool: runner-guard
  • Count: 1
  • Severity: High
  • Affected: github-remote-mcp-auth-test.lock.yml
  • Description: A run: step performs a raw HTTP handshake to a non-GitHub host as part of testing the GitHub remote MCP server integration.
  • Impact: Flagged as a generic exfiltration pattern; already reviewed and closed as an accepted/suppressed finding in #55652 — included here for completeness per the recurring-finding tracking requirement, not as a new actionable item.
  • Reference: https://github.com/Vigilant-LLC/runner-guard

Fix Suggestion for zizmor secrets-outside-env

Issue: Secrets referenced in a job with no dedicated environment: protection
Severity: Medium
Affected Workflows: 299 of 302 (8,257 occurrences) — by far the largest cluster in this scan, essentially flat for weeks, and root-caused to a shared compiler template rather than per-workflow authoring.

Prompt to Copilot Agent:

You are fixing a security vulnerability identified by zizmor.

Vulnerability: secrets-outside-env - secrets referenced without a dedicated environment
Rule: secrets-outside-env - (docs.zizmor.sh/redacted)

Current Issue:
A job references one or more `secrets.*` values (directly, or indirectly via
steps that consume org/repo secrets) but the job has no `environment:` key.
GitHub Environments let you attach protection rules (required reviewers,
wait timers, deployment branch restrictions) and scope which secrets are
even visible to a job. Without a declared environment, any code that runs
in that job -- including anything reachable via prompt injection into an
agentic step -- has ambient access to every secret available to the
job/repo, with no additional approval gate and no scoping.

Note: gh-aw generates these .lock.yml files from .md workflow sources via a
shared Go compiler template (not hand-written per workflow), and the finding
appears in 299 of 302 workflows on the same job (typically `activation` or
similar). This is a compiler/template-level issue, not a per-workflow one --
fixing the shared job template is far more effective than editing hundreds
of generated lock files by hand.

Required Fix:
1. Identify the shared Go template/source that emits the flagged job (check
   pkg/workflow/*.go for the job name shown in the finding, e.g. `activation`).
2. Determine which secrets that job actually needs (e.g. secrets.GITHUB_TOKEN,
   an LLM provider API key, a GH App private key).
3. Add an `environment:` key to that job specifying a named GitHub Environment
   (e.g. environment: agent-runtime), OR, if per-workflow environments aren't
   desired, document why the risk is accepted and add a
   `# zizmor: ignore[secrets-outside-env]` suppression with a one-line
   justification -- only once a security reviewer has confirmed the job's
   blast radius is already minimal (e.g. read-only permissions).
4. If introducing a real environment: create/configure it in repo settings
   (required reviewers / branch restrictions as appropriate), and confirm the
   job's secrets access still works in CI.
5. Recompile all workflows (gh-aw compile / make recompile) and re-run zizmor
   to confirm the finding count drops for every regenerated workflow, not
   just one.

Example:
Before:
  jobs:
    activation:
      needs: pre_activation
      if: needs.pre_activation.outputs.activated == 'true'
      runs-on: ubuntu-latest
      steps:
        - name: Checkout
          uses: actions/checkout@...
          with:
            token: ${{ secrets.GITHUB_TOKEN }}

After:
  jobs:
    activation:
      needs: pre_activation
      if: needs.pre_activation.outputs.activated == 'true'
      environment: agent-runtime
      runs-on: ubuntu-latest
      steps:
        - name: Checkout
          uses: actions/checkout@...
          with:
            token: ${{ secrets.GITHUB_TOKEN }}

Please apply this fix at the shared compiler-template level (not to
individual .lock.yml files) so it takes effect across all 299 affected
workflows on the next `make recompile` run, then re-run the static-analysis
scan to confirm the count drops from 8,257 toward 0 (or to a documented,
justified residual with ignore annotations).
All Findings Details

Resolved since last scan (2026-10-02)

  • zizmor github-app (High, was 8 findings / 4 workflows) — .github/workflows/shared/squad.md now sets permission-contents: read and a repositories: scope on the actions/create-github-app-token step, matching the previously-filed fix template's recommendation. Confirmed by direct file read; no corresponding PR number was located via search, but the fix is present and verified effective (finding no longer appears in today's zizmor output). This had been open 28+ consecutive daily scans.

Unchanged / recurring (no action needed beyond what's tracked)

  • zizmor secrets-outside-env, anonymous-definition, self-repository, undocumented-permissions, adhoc-packages, artipacked, template-injection, obfuscation — volume essentially flat, growing only proportionally to new workflows.
  • zizmor unpinned-images (smoke-service-ports.lock.yml) and bot-conditions (squad.lock.yml) — High severity, open since ~2026-09-04, no fix issue filed to date. Recommend filing a tracking issue for these two if none exists, since they've now outlived the resolved github-app finding.
  • poutine github_action_from_unverified_creator_used (29 findings) — nearly all pre-suppressed with # zizmor: ignore[...] comments; one pr_runs_on_self_hosted warning in smoke-copilot-arm.lock.yml (ARM runner, expected for that smoke test).
  • shellcheck SC1003 (206, 33 workflows) — unresolved since ~2026-09-12; traced to literal example text ("Want to escape a single quote? echo 'This is how it'''s done'") embedded in a shared CLI-invocation step template used by Pi/Gemini/Claude Code engine steps. Appears to be illustrative text, not live shell code, but worth confirming it isn't accidentally executed.
  • shellcheck SC2086 (6, 4 workflows: daily-cli-performance, daily-hippo-learn, hippo-embed, smoke-claude) — unquoted variable expansion in mcp-scripts.* step scripts.
  • runner-guard RGS-005 (12, 4 workflows) — Medium, tracked but below issue-creation threshold.
  • runner-guard RGS-012 (1, github-remote-mcp-auth-test.lock.yml) — High, but covered by closed issue [static-analysis] RGS-012: Secret Exfiltration via Outbound HTTP Request in github-remote-mcp-auth-test.lock.yml #55652 (see Runner-Guard section above).
  • grype Critical/High CVEs — see table above; largely base-OS package CVEs in long-lived container images, several with fixed versions already published upstream.

Historical Trends

  • Previous Scan: 2026-10-02
  • Total Findings Then: 17,991
  • Total Findings Now: 18,023
  • Change: +32 (+0.18%)

New Issues

  • None — no new issue types appeared. The only new (recent) High-severity zizmor rules (unpinned-images, bot-conditions) have been present since ~2026-09-04.

Resolved Issues

  • zizmor github-app (High) — resolved today after 28+ consecutive days open (see "Resolved since last scan" above).

36 days of scan history are now tracked in cache memory (/tmp/gh-aw/cache-memory/security-scans/index.json, 2026-08-22 → 2026-10-03).

Recommendations

  1. Immediate: File a tracking issue for the two remaining zizmor High findings (unpinned-images in smoke-service-ports.lock.yml, bot-conditions in squad.lock.yml) — both have been open since ~2026-09-04 with no fix issue to date, now the longest-standing unresolved High findings in the repo.
  2. Short-term: Apply the secrets-outside-env template-level fix above (Medium, but by far the largest cluster at 8,257 occurrences / 299 workflows) and investigate the SC1003 shellcheck regression's shared step template to confirm the flagged text is inert documentation, not live script content.
  3. Long-term: Track the 41 Critical / 493 High grype findings for image rebuilds (xberg:latest and serena:1.7.0 together account for 32 of 41 Critical findings) — prioritize upstream base-image bumps for curl/openssl/libxml2 CVEs with published fixes.
  4. Prevention: Continue daily static-analysis scans; the github-app resolution shows the fix-template + tracking approach is working — consider the same treatment for the two remaining High zizmor findings.

Next Steps

  • File a tracking issue for zizmor unpinned-images (smoke-service-ports.lock.yml) and bot-conditions (squad.lock.yml), both open since ~2026-09-04
  • Apply the secrets-outside-env compiler-template fix (Medium, 8,257 occurrences)
  • Investigate SC1003 shellcheck regression root cause in the shared CLI-invocation step template
  • Prioritize grype Critical CVE remediation for xberg:latest and serena:1.7.0 images (32 of 41 Critical findings)
  • No runner-guard issues filed this run (RGS-012 covered by closed [static-analysis] RGS-012: Secret Exfiltration via Outbound HTTP Request in github-remote-mcp-auth-test.lock.yml #55652; RGS-005 below threshold)

References:

  • §37097729869 — this scan's workflow run
  • #55652 — closed RGS-012 tracking issue (recurring, suppressed)
  • #55686 — merged RGS-012 suppression PR

Generated by 📊 Static Analysis Report · claude · agent · 370.8 AIC · ⌖ 7.89 AIC · ⊞ 7.1K · ◷

  • expires on Oct 9, 2026, 9:20 PM UTC-08:00

Activity

  1. added
    cookie
    on Oct 3, 2026
  2. github-actions commented on Oct 10, 2026

    @github-actions
    ContributorAuthor

    This issue was automatically closed because it expired on 2026-10-10T05:20:13.662Z.

    Closed by Workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    automationcookiesecurity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions