Skip to content

[static-analysis] Report - 2026-10-24 #71564

Done

Description

@github-actions

Analysis Summary

  • Tools Used: zizmor, poutine, actionlint, runner-guard, syft, grype, yamllint, shellcheck
  • Total Findings: 21,949 (+94, +0.43% vs 2026-10-23)
  • Workflows Scanned: 348 (+2 vs yesterday)
  • Workflows Affected: 348 (zizmor self-repository/undocumented-permissions touch every workflow)

A quiet day overall — every tool is either byte-identical to yesterday or moved proportionally with the +2 new workflows. No new High/Critical clusters appeared.

Findings by Tool

Tool Total Critical High Medium Low
zizmor (security) 19,185 0 5 12,633 6,547
poutine (supply chain) 29 0 0 1 0 (28 informational)
actionlint (linting) 163 - - - -
runner-guard (taint analysis) 26 0 7 19 0
syft (SBOM inventory) 3,947 pkgs / 12 images - - - -
grype (container CVEs) 2,542 61 627 741 143 (+868 negligible, +102 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 12,556 343
self-repository Low 3,095 348
undocumented-permissions Low 2,813 348
adhoc-packages Low 560 294
artipacked Medium 76 73
template-injection Low 40 44
obfuscation Low 39 31
dangerous-triggers High 3 ai-moderator.lock.yml, q.lock.yml, squad.lock.yml
secrets-inherit Medium 1 windows-grower.lock.yml
unpinned-images High 1 smoke-service-ports.lock.yml
bot-conditions High 1 squad.lock.yml

unpinned-images and bot-conditions have now been open 25+ consecutive days with no fix issue filed. dangerous-triggers is in its 3rd consecutive day since first appearing 2026-10-22.

Poutine Supply Chain Findings

Issue Type Severity Count Affected Workflows
github_action_from_unverified_creator_used Informational 28 27
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)

Actionlint Linting Issues

Issue Type Count Affected Workflows
expression (missing needs-context properties: missing_tool, report_incomplete, noop, report_failed_jobs) 161 36
shellcheck 2 1

Syft SBOM Inventory

12 container images, 3,947 packages total (flat vs yesterday)
Image Packages
ghcr.io/oraios/serena:1.7.0 1,678
ghcr.io/github/gh-aw-firewall/cli-proxy:0.28.70 346
ghcr.io/github/gh-aw-firewall/agent:0.28.70 586
ghcr.io/github/gh-aw-mcpg:v0.4.37 290
ghcr.io/github/gh-aw-firewall/api-proxy:0.28.70 193
ghcr.io/github/gh-aw-node 178
grafana/mcp-grafana:1.1.0-alpine 178
ghcr.io/xberg-io/xberg:1.3.6 169
node:lts-alpine 165
ghcr.io/github/gh-aw-firewall/squid:0.28.70 63
ghcr.io/github/gh-aw-firewall/router:0.28.70 60
ghcr.io/github/github-mcp-server:v2.0.2 41

Runner-Guard Taint Analysis Findings

Runner-Guard Score based on 26 findings (7 High, 19 Medium, 0 Critical) — byte-identical to 2026-10-23.

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

Issues created: none. Dedup results:

Grype Container Vulnerability Findings

All 12 images: planned 12, completed 12, failed 0.

Image (pinned reference) Scan Status Finding Count
ghcr.io/oraios/serena:1.7.0@sha256:6c9459e... completed 1,555
ghcr.io/xberg-io/xberg:1.3.6@sha256:f1e23c6... completed 386
ghcr.io/github/gh-aw-firewall/agent:0.28.70@sha256:b15ab48... completed 304
grafana/mcp-grafana:1.1.0-alpine@sha256:e0eb29c... completed 72
ghcr.io/github/gh-aw-mcpg:v0.4.37@sha256:9c7f242... completed 66
node:lts-alpine@sha256:ebfe2f9... completed 54
ghcr.io/github/github-mcp-server:v2.0.2@sha256:ffced0d... completed 45
ghcr.io/github/gh-aw-firewall/router:0.28.70@sha256:485ee09... completed 18
ghcr.io/github/gh-aw-firewall/squid:0.28.70@sha256:b5bc53f... completed 15
ghcr.io/github/gh-aw-firewall/api-proxy:0.28.70@sha256:9ac8f9c... completed 10
ghcr.io/github/gh-aw-firewall/cli-proxy:0.28.70@sha256:372ac51... completed 10
ghcr.io/github/gh-aw-node@sha256:4183561... completed 7
Critical findings by image (61 total)
Image Critical Count
ghcr.io/oraios/serena:1.7.0 25
ghcr.io/xberg-io/xberg:1.3.6 18
grafana/mcp-grafana:1.1.0-alpine 6
ghcr.io/github/gh-aw-firewall/agent:0.28.70 6
ghcr.io/github/gh-aw-mcpg:v0.4.37 4
ghcr.io/github/github-mcp-server:v2.0.2 2

Dominant recurring critical CVEs: pillow (serena, 6 GHSA IDs), curl/libcurl4t64 (xberg, 8 CVE IDs), openssl/libssl3/libcrypto3 (serena + grafana, CVE-2026-63073/75803), pyjwt and certifi (serena). All +2 vs yesterday (vuln-DB rescoring, no image digest changes).

Yamllint YAML Linting Findings

Clean — 0 findings, byte-identical to 2026-10-23.

Shellcheck Shell Linting Findings

Code Count Affected Workflows
SC1003 2 sergo.lock.yml
SC2086 2 daily-hippo-learn, hippo-embed

Top Priority Issues

1. zizmor secrets-outside-env (largest volume)

  • Tool: zizmor
  • Count: 12,556 (343/348 workflows)
  • Severity: Medium
  • Description: Jobs reference secrets.* values without a dedicated environment: key, so secrets have no deployment-protection gate (required reviewers, branch restrictions) and are visible to the full job regardless of what runs in it.
  • Impact: Any code reachable via prompt injection into an agentic step has ambient access to every secret available to the job, with no approval gate.
  • Reference: (docs.zizmor.sh/redacted)

2. runner-guard RGS-018 — Suspicious Payload Execution Pattern (Pi-engine cluster)

  • Tool: runner-guard
  • Count: 3 (smoke-test-tools.lock.yml, super-linter.lock.yml, video-analyzer.lock.yml)
  • Severity: High
  • Description: The generated "Execute Pi CLI" step's nested bash -c / shell_harness.cjs pi wrapper (escaped-quote re-entry + piped JSON streaming to a .jsonl log) resembles an obfuscated-payload execution chain to the heuristic.
  • Impact: Assessed as an engine-specific false positive, not active compromise — but worth a durable suppression so it stops re-triggering review each scan.
  • Status: Already filed as 3 issues on 2026-10-23; could not confirm their open/closed state today (integrity-policy-filtered). Follow up next run.

3. zizmor High findings: unpinned-images / bot-conditions (25+ days open, unfixed)

  • Tool: zizmor
  • Count: 2 (smoke-service-ports.lock.yml, squad.lock.yml)
  • Severity: High
  • Description: unpinned-images — a floating image tag (redis:7) with no digest pin. bot-conditions — a spoofable github.actor == 'github-actions[bot]' bypass check in squad's pre_activation job.
  • Impact: Floating tags can silently pull compromised images; actor-string checks can be spoofed by any user who can set their display name/commit author.
  • Reference: (docs.zizmor.sh/redacted), (docs.zizmor.sh/redacted)

Fix Suggestion for zizmor secrets-outside-env

Issue: Secrets referenced in a job with no dedicated environment: protection
Severity: Medium
Affected Workflows: 343 of 348 (12,556 occurrences) — by far the largest cluster in this repo, ~65% of all zizmor findings on every scan since tracking began

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 348 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 343 affected
workflows on the next gh-aw compile run, and re-run the static-analysis
scan to confirm the count drops from 12556 toward 0 (or to a documented,
justified residual with ignore annotations).


### Historical Trends

- **Previous Scan**: 2026-10-23
- **Total Findings Then**: 21,855
- **Total Findings Now**: 21,949
- **Change**: +94 (+0.43%)

#### New Issues

None. No new rule types or workflow clusters appeared today.

#### Resolved Issues

None — everything open yesterday remains open today (same rule/workflow sets across all 8 tools).

### Recommendations

1. **Immediate**: `unpinned-images` and `bot-conditions` zizmor High findings have now been open 25+ consecutive days with no fix issue — file a dedicated issue and pin the image / replace the spoofable actor check.
2. **Short-term**: Investigate the `dangerous-triggers` cluster (ai-moderator/q/squad, `issue_comment`-triggered with write permissions) together with the related RGS-005 findings on the same 3 workflows — likely a single coordinated fix.
3. **Short-term**: Re-attempt dedup on the RGS-018 Pi-engine cluster (#71350–#71353) once GitHub read tools are not integrity-policy-filtered, to confirm whether a durable suppression comment has landed yet.
4. **Long-term**: Address the zizmor `secrets-outside-env` cluster at the compiler-template level (see fix prompt above) — it is ~65% of all findings on every scan.
5. **Prevention**: Consider adding an inline `# runner-guard:ignore RGS-018` / zizmor ignore comment review step to `make recompile` so suppressions are verified to survive lock-file regeneration (a recurring failure mode noted across multiple past incidents, e.g. RGS-012 / dev-hawk `github-env`).

### Next Steps

- [ ] File a dedicated issue for the 25+ day-old `unpinned-images` (smoke-service-ports.lock.yml) and `bot-conditions` (squad.lock.yml) zizmor High findings
- [ ] Review the `dangerous-triggers` + RGS-005 cluster on ai-moderator/q/squad as one coordinated fix
- [ ] Apply the `secrets-outside-env` fix prompt above at the compiler-template level
- [ ] Re-verify RGS-018 Pi-engine issue status (#71350–#71353) once integrity-policy filtering clears
- [ ] Continue tracking grype critical CVEs on `ghcr.io/oraios/serena` and `ghcr.io/xberg-io/xberg` (largest critical contributors)

**References:**
- [§40063558165](https://github.com/github/gh-aw/actions/runs/40063558165) — this scan's workflow run

Generated by 📊 Static Analysis Report · claude · agent · ~215 AIC · ⌖ ~1 AIC · ⊞ 7.2K · ◷

  • expires on Oct 30, 2026, 9:25 PM UTC-08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

automationcookiesecurity

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions