Skip to content

[static-analysis] Report - 2026-10-16 #69257

Not planned
Not planned

Description

@github-actions

🔍 Static Analysis Report - 2026-10-16

Analysis Summary

  • Tools Used: zizmor, poutine, actionlint, runner-guard, syft, grype, yamllint, shellcheck
  • Total Findings: 18,229 (+86 / +0.47% vs 2026-10-15's 18,143)
  • Workflows Scanned: 344
  • Workflows Affected: ~344 (nearly all workflows carry at least one zizmor low-severity finding)

Findings by Tool

Tool Total Critical High Medium Low
zizmor (security) 15,130 0 2 10,076 5,042 (incl. informational)
poutine (supply chain) 30 0 0 1 29 (informational)
actionlint (linting) 134 - - - -
runner-guard (taint analysis) 17 0 4 13 0
syft (SBOM inventory) 12 images / 3,975 packages - - - -
grype (container CVEs) 2,918 52 714 904 215 (+930 negligible, 103 unknown)
yamllint (yaml linting) 0 - - - -
shellcheck (shell linting) 4 - - - -

Clustered Findings by Tool and Type

Zizmor Security Findings

Issue Type Severity Count Affected Workflows
secrets-outside-env Medium 10,000 (1,642 unique locations) 339
self-repository Low 2,377 344
undocumented-permissions Low 2,094 344
adhoc-packages Low 506 258
artipacked Medium 75 72
template-injection Low/Informational 47 42
obfuscation Low 27 27
unpinned-images High 1 smoke-service-ports.lock.yml
bot-conditions High 1 squad.lock.yml
secrets-inherit Medium 1 windows-grower.lock.yml
superfluous-actions Informational 1 smoke-codex.lock.yml

All counts are byte-for-byte identical to the 2026-10-15 scan.

Poutine Supply Chain Findings

Issue Type Severity Count Affected Workflows
github_action_from_unverified_creator_used Informational 29 28
pr_runs_on_self_hosted Medium 1 smoke-copilot-arm.lock.yml (likely false positive — ubuntu-24.04-arm is a GitHub-hosted ARM runner, not literally self-hosted)

Actionlint Linting Issues

Issue Type Count Affected Workflows
expression (property not defined on step-output object) 132 32
shellcheck (SC1003) 2 1 (sergo.lock.yml)

Down 10 findings vs 2026-10-15 (144 → 134); expression findings dropped from 142 and affected workflows from 34 to 32.

Syft SBOM Inventory

Image Packages Affected Workflows
ghcr.io/oraios/serena:1.7.0 1,678 serena MCP steps
ghcr.io/github/gh-aw-firewall/cli-proxy:0.28.59 347 firewall-enabled workflows
ghcr.io/github/gh-aw-mcpg:v0.4.33 289 MCP gateway workflows
ghcr.io/github/gh-aw-firewall/agent:0.28.59 567 firewall-enabled workflows
ghcr.io/github/gh-aw-firewall/api-proxy:0.28.59 193 firewall-enabled workflows
ghcr.io/xberg-io/xberg:1.3.6 169 xberg-integration workflows
grafana/mcp-grafana:1.1.0-alpine 178 Grafana MCP workflows
node:lts-alpine 165 node-based steps
ghcr.io/github/gh-aw-node 177 gh-aw node runtime steps
ghcr.io/githubnext/gh-aw-router:0.1.3 108 router workflows
ghcr.io/github/github-mcp-server:v2.0.2 41 GitHub MCP server steps
ghcr.io/github/gh-aw-firewall/squid:0.28.59 63 firewall-enabled workflows

Flat vs 2026-10-15: same 12-image matrix, same 3,975 total packages (only patch-version bumps on firewall images 0.28.57→0.28.59 and mcpg v0.4.31→v0.4.33).

Runner-Guard Taint Analysis Findings

Runner-Guard Score: not reported in this run's output (no score/grade line emitted)

Rule ID Name Severity Affected Workflows
RGS-005 Excessive Permissions on Untrusted Trigger Medium agentic-workqueue.yml, agentic_commands.yml, ai-moderator.lock.yml, q.lock.yml, squad.lock.yml
RGS-018 Suspicious Payload Execution Pattern High daily-workflow-security-model.lock.yml, daily-work-queue-formal-verification.lock.yml, credentials-check.yml
RGS-012 Secret Exfiltration via Outbound HTTP Request High github-remote-mcp-auth-test.lock.yml

Issues created: none this run. All 4 High findings are recurring and already accounted for:

  • RGS-012 (github-remote-mcp-auth-test.lock.yml) is covered by closed issue [static-analysis] RGS-012: Secret Exfiltration via Outbound HTTP Request in github-remote-mcp-auth-test.lock.yml #55652; its suppression PR (Suppress RGS-012 finding for pinned GitHub remote MCP handshake curl #55686) does not survive lock-file regeneration, so the finding keeps resurfacing — this is expected and should not be re-filed.
  • RGS-018 (3 files) was filed as new issues on 2026-10-14. The findings recur unchanged today. Manual review confirms all three are checksum-verified (sha256sum --check --strict), pinned-version tool downloads (JRE/TLA+ tooling, TLC, Agy CLI) — false positives against the eval/decode+curl heuristic, not active compromise.
  • search_issues/list_issues were blocked by integrity policy on every query this run (RGS-018, RGS-012, RGS-005 title searches), so dedup relied entirely on cache-memory history rather than live issue state. The 2026-10-14 RGS-018 issue numbers were never recorded in cache memory — this tracking gap persists and should be fixed so future runs can comment-back precisely instead of inferring recurrence from notes.

Grype Container Vulnerability Findings

Package Severity Count Affected Workflows/Images
curl/libcurl4t64 Critical 8 CVEs ghcr.io/xberg-io/xberg:1.3.6
libssl3/libcrypto3/openssl Critical multiple CVEs mcpg, github-mcp-server, serena, grafana/mcp-grafana
python Critical CVE-2026-19445 serena, gh-aw-router
golang.org/x/net, stdlib Critical GO-2026-6612/6604 mcpg, grafana/mcp-grafana
pyjwt Critical GHSA-ffc3-869f-jxw9 serena

By severity: 52 Critical, 714 High, 904 Medium, 215 Low, 930 Negligible, 103 Unknown. Total +100 vs 2026-10-15 (2,818 → 2,918): high +42, medium +10, negligible +5, unknown +43, critical/low flat. This reads as upstream CVE-database rescoring/reclassification churn rather than new vulnerable packages — syft's package inventory total is unchanged at 3,975.

Heaviest images by finding count: ghcr.io/oraios/serena:1.7.0 (1,470), ghcr.io/github/gh-aw-firewall/agent:0.28.59 (447), ghcr.io/xberg-io/xberg:1.3.6 (384), ghcr.io/githubnext/gh-aw-router:0.1.3 (180), ghcr.io/github/gh-aw-mcpg:v0.4.33 (166).

Yamllint YAML Linting Findings

No findings — 0 issues across 344 files.

Shellcheck Shell Linting Findings

Code Count Affected Workflows
SC1003 2 sergo.lock.yml (unescaped single quote in example echo string)
SC2086 2 daily-hippo-learn, hippo-embed (missing quotes, word splitting)

Top Priority Issues

1. secrets-outside-env (zizmor, Medium)

  • Tool: zizmor
  • Count: 10,000 raw occurrences (1,642 unique file/line locations)
  • Severity: Medium
  • Affected: 339 of 344 workflows
  • Description: Jobs reference secrets.* values without a dedicated GitHub environment: key, so secrets are ambiently available to the whole job with no scoping or approval gate.
  • Impact: Because gh-aw generates these .lock.yml files from a shared Go compiler template, this single pattern appears in nearly every workflow's activation/agent job. Any code that runs in that job — including anything reachable via prompt injection into an agentic step — has unscoped access to every secret available to the job/repo.
  • Reference: (docs.zizmor.sh/redacted)

2. unpinned-images / bot-conditions (zizmor, High)

  • Tool: zizmor
  • Count: 1 each
  • Severity: High
  • Affected: smoke-service-ports.lock.yml (unpinned-images), squad.lock.yml (bot-conditions)
  • Description: unpinned-images flags a container image reference without a digest pin; bot-conditions flags a spoofable bot-actor check (e.g. if: github.actor == 'some-bot[bot]') that an attacker could forge.
  • Impact: Unpinned images can be silently replaced upstream; spoofable bot checks can let an attacker bypass a trust gate by claiming to be the bot actor.
  • Reference: (docs.zizmor.sh/redacted), (docs.zizmor.sh/redacted)

3. RGS-018 Suspicious Payload Execution Pattern (runner-guard, High)

  • Tool: runner-guard
  • Count: 3
  • Severity: High
  • Affected: daily-workflow-security-model.lock.yml, daily-work-queue-formal-verification.lock.yml, credentials-check.yml
  • Description: Flags run: blocks matching patterns associated with obfuscated payload execution (curl/download + decode/verify chains).
  • Impact: In these 3 cases, manual review confirms each is a checksum-verified (sha256sum --check --strict), pinned-version tool download — a false positive against the heuristic, not active compromise. Already filed as issues on 2026-10-14; not re-filed today.
  • Reference: Runner-Guard rule RGS-018

Fix Suggestion for zizmor secrets-outside-env

Issue: Secrets referenced in a job that has no dedicated environment: protection
Severity: Medium
Affected Workflows: 339 of 344 (10,000 raw occurrences / 1,642 unique locations)

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 nearly all 339 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 that emits secrets
usage 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 job flagged by
   zizmor (check pkg/workflow/*.go or the .md frontmatter compiler 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 comment -- only if 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 the environment 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` or equivalent) and re-run
   zizmor to confirm the finding count drops for every regenerated
   workflow, not just one.

Example:
Before:
```yaml
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 339 affected
workflows on the next gh-aw compile run. Validate against a sample of
affected workflows, and re-run the static-analysis scan to confirm the
count drops from 10,000 toward 0 (or to a documented, justified residual
with ignore annotations).


### Historical Trends

- **Previous Scan**: 2026-10-15
- **Total Findings Then**: 18,143
- **Total Findings Now**: 18,229
- **Change**: +86 (+0.47%)

#### New Issues

None — no new rule types or newly-affected workflows appeared this run.

#### Resolved Issues

None — actionlint's expression-count drop (144→134) reduced volume on an existing issue type but did not eliminate it; 2 workflows left the affected set.

<details>
<summary><b>All Findings Details</b></summary>

#### Zizmor (15,130 findings across 344 workflows)

Dominated by three compiler-template-level patterns that recur on (nearly) every generated workflow: `secrets-outside-env` (10,000), `self-repository` (2,377), `undocumented-permissions` (2,094). These three alone account for ~96% of all zizmor findings and should be fixed once at the Go template level rather than per-workflow.

Two High-severity, workflow-specific findings remain open with no fix issue on file:
- `unpinned-images` in smoke-service-ports.lock.yml:476
- `bot-conditions` in squad.lock.yml:2643

#### Poutine (30 findings)

29 informational "unverified creator" notices for third-party actions already pinned to a commit SHA (astral-sh/setup-uv, erlef/setup-beam, super-linter/super-linter, safedep/pmg, actions-ecosystem/action-add-labels, gaurav-nelson/github-action-markdown-link-check). 1 medium "pr_runs_on_self_hosted" on smoke-copilot-arm.lock.yml, likely a false positive against a GitHub-hosted ARM runner label.

#### Actionlint (134 findings, 32 workflows)

132 "property not defined" expression errors referencing `missing_tool`, `report_incomplete`, and `noop` step outputs that actionlint's static type checker cannot see because they come from conditionally-created steps. Affects engine-conformance-*, daily-*-report, eslint-* clusters. 2 SC1003 shellcheck findings in sergo.lock.yml (also caught by standalone shellcheck).

#### Runner-Guard (17 findings, 9 workflows)

See "Runner-Guard Taint Analysis Findings" table above for the full breakdown and dedup reasoning.

#### Grype (2,918 findings, 12 images)

See "Grype Container Vulnerability Findings" table above. Critical findings concentrate in `ghcr.io/oraios/serena:1.7.0`, `ghcr.io/xberg-io/xberg:1.3.6`, `ghcr.io/github/gh-aw-mcpg:v0.4.33`, `ghcr.io/github/github-mcp-server:v2.0.2`, and `grafana/mcp-grafana:1.1.0-alpine` — all third-party or upstream images where the fix is to bump the base image/pinned digest once a patched version is published upstream.

</details>

### Recommendations

1. **Immediate**: No new Critical/High issues to act on this run (RGS-018/RGS-012 already tracked; zizmor's 2 High findings — `unpinned-images`, `bot-conditions` — remain unfiled after 13+ consecutive days and should get a tracking issue).
2. **Short-term**: Apply the `secrets-outside-env` fix at the shared compiler-template level (see Fix Suggestion above) — this single change would resolve ~66% of all zizmor findings across the repo in one PR.
3. **Long-term**: Bump pinned digests for `ghcr.io/oraios/serena`, `ghcr.io/xberg-io/xberg`, `ghcr.io/github/gh-aw-mcpg`, `ghcr.io/github/github-mcp-server`, and `grafana/mcp-grafana` once upstream patches land for the Critical CVEs (libssl/libcrypto, curl/libcurl, python, golang.org/x/net, pyjwt).
4. **Process fix**: Record GitHub issue numbers for runner-guard findings in cache memory at creation time (`{rule, file, issue_number, created_date}`) so future runs can comment-back on recurring findings instead of relying on narrative notes — this gap has persisted since 2026-10-14.

### Next Steps

- [ ] Apply the `secrets-outside-env` compiler-template fix and recompile all workflows
- [ ] File a tracking issue for the 2 unfiled zizmor High findings (`unpinned-images` in smoke-service-ports.lock.yml, `bot-conditions` in squad.lock.yml)
- [ ] Investigate and record the 2026-10-14 RGS-018 issue numbers to close the cache-memory tracking gap
- [ ] Review grype Critical findings for upstream patch availability on the 5 heaviest images
- [ ] Fix the 2 SC2086 shellcheck findings (daily-hippo-learn, hippo-embed) — straightforward quoting fix
- [ ] Consider adding all eight tools to pre-commit hooks

**References:**
- [§38852348545](https://github.com/github/gh-aw/actions/runs/38852348545)

> Generated by [📊 Static Analysis Report](https://github.com/github/gh-aw/actions/runs/38852348545) · claude · agent · 170.3 AIC · ⌖ 0.972 AIC · ⊞ 7.1K · [◷](https://github.com/search?q=repo%3Agithub%2Fgh-aw+is%3Aissue+%22gh-aw-workflow-call-id%3A+github%2Fgh-aw%2Fstatic-analysis-report%22&type=issues)
> - [x] expires <!-- gh-aw-expires: 2026-10-23T05:22:33.125Z --> on Oct 22, 2026, 9:22 PM UTC-08:00



<!-- gh-aw-workflow-id: static-analysis-report -->
<!-- gh-aw-workflow-call-id: github/gh-aw/static-analysis-report -->

<!-- gh-aw-agentic-workflow: Static Analysis Report, engine: claude, model: agent, id: 38852348545, workflow_id: static-analysis-report, run: https://github.com/github/gh-aw/actions/runs/38852348545 -->
<!-- gh-aw-execution: {"version":1,"repo_id":"1036865607","repository":"github/gh\u002daw","aw_workflow_id":"static\u002danalysis\u002dreport","run_id":"38852348545","run_attempt":"1","run_url":"https://github.com/github/gh\u002daw/actions/runs/38852348545","publishing_job":{"key":"safe_outputs","check_run_id":"116825644268"}} -->

Activity

  1. added
    cookie
    on Oct 16, 2026
  2. github-actions commented on Oct 17, 2026

    @github-actions
    ContributorAuthor

    This issue is being closed as outdated. A newer issue has been created: #69625

    View newer issue


    This action was performed automatically by the Static Analysis Report 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