Skip to content

[static-analysis] Report - 2026-10-23 #71353

Not planned
Not planned

Description

@github-actions

Analysis Summary

  • Tools Used: zizmor, poutine, actionlint, runner-guard, syft, grype, yamllint, shellcheck
  • Total Findings: 21,855
  • Workflows Scanned: 346
  • Workflows Affected: 346 (all workflows carry at least one low-severity zizmor finding)

Findings by Tool

Tool Total Critical High Medium Low
zizmor (security) 19,110 0 5 12,574 6,530
poutine (supply chain) 29 0 0 1 0 (28 informational)
actionlint (linting) 153 - - - -
runner-guard (taint analysis) 26 0 7 19 0
syft (SBOM inventory) 12 images / 3,947 packages - - - -
grype (container CVEs) 2,533 59 622 742 143 (+866 negligible, 101 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,497 341
self-repository Low 3,083 346
undocumented-permissions Low 2,801 346
adhoc-packages Low 560 294
artipacked Medium 76 73
template-injection Low/Info 47 42
obfuscation Low 39 31
dangerous-triggers High 3 ai-moderator.lock.yml, q.lock.yml, squad.lock.yml
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 Info 1 smoke-codex.lock.yml
Zizmor trend notes
  • dangerous-triggers (High, issue_comment flagged as a fundamentally insecure trigger) first appeared 2026-10-22 and is unchanged today. All 3 affected workflows gate real execution behind an activation/permission check on the actor, so this is architecturally mitigated but the trigger itself still trips the rule.
  • unpinned-images (smoke-service-ports.lock.yml) and bot-conditions (squad.lock.yml) have been open 24+ consecutive days with no fix issue filed.
  • secrets-outside-env is high-volume but Medium severity; it fires on every ${{ secrets.X }} reference not wrapped in a dedicated GitHub Actions environment: — see the Fix Suggestion below.

Poutine Supply Chain Findings

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

Actionlint Linting Issues

Issue Type Count Affected Workflows
expression: property not defined on needs-context object 151 34
shellcheck (embedded) 2 1 (sergo.lock.yml)
Actionlint expression breakdown

All 151 expression errors are the same root cause: generated conclusion-job expressions reference needs.<job>.outputs.{missing_tool, noop, report_incomplete, report_failed_jobs} properties that aren't declared on the compiler-generated needs-context object type for those jobs.

Missing property Count
missing_tool 66
report_incomplete 33
noop 33
report_failed_jobs 19

Syft SBOM Inventory

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-mcpg:v0.4.37 290
ghcr.io/github/gh-aw-firewall/agent:0.28.70 586
ghcr.io/github/gh-aw-firewall/api-proxy:0.28.70 193
ghcr.io/xberg-io/xberg:1.3.6 169
grafana/mcp-grafana:1.1.0-alpine 178
ghcr.io/github/gh-aw-node 178
node:lts-alpine 165
ghcr.io/github/github-mcp-server:v2.0.2 41
ghcr.io/github/gh-aw-firewall/router:0.28.70 60
ghcr.io/github/gh-aw-firewall/squid:0.28.70 63

Runner-Guard Taint Analysis Findings

Runner-Guard Score: not reported in this scan's output (no score/grade line present in compile-output.txt — flagging for a future run to double-check the invocation emits it).

Rule ID Name Severity Affected Workflows
RGS-005 Excessive Permissions on Untrusted Trigger Medium ai-moderator.lock.yml, agentic-workqueue.yml, agentic_commands.yml, q.lock.yml, squad.lock.yml (19 findings)
RGS-018 Suspicious Payload Execution Pattern High 6 findings across 6 files (see below)
RGS-012 Secret Exfiltration via Outbound HTTP Request High github-remote-mcp-auth-test.lock.yml

Issues created this run (3, all new RGS-018 findings on engine: pi workflows):

  • [static-analysis] RGS-018: Suspicious Payload Execution Pattern in smoke-test-tools.lock.yml
  • [static-analysis] RGS-018: Suspicious Payload Execution Pattern in super-linter.lock.yml
  • [static-analysis] RGS-018: Suspicious Payload Execution Pattern in video-analyzer.lock.yml

Not re-filed (already covered by closed issues, re-verified via cache-memory + search_issues):

Why the 3 new RGS-018 findings are likely a Pi-engine-specific false positive

All 3 new hits — smoke-test-tools.lock.yml:1100, super-linter.lock.yml:1002, video-analyzer.lock.yml:970 — anchor to the start of the generated Execute Pi CLI step and all 3 workflows use engine: pi. That step's generated harness nests bash -c '...' with escaped single-quote re-entry around a node .../shell_harness.cjs pi '...' invocation that pipes the prompt into the pi CLI and streams JSON output via | tee *.jsonl. This nested-quoting + piped-streaming shape resembles the heuristic's obfuscated-payload signature, even though it's fixed, non-attacker-controlled gh-aw harness code. No other engine (claude, codex, copilot, gemini, etc.) trips this rule, pointing at something specific to the Pi engine's wrapper shape rather than these 3 workflows' actual prompt content. Full detail in each filed issue.

Grype Container Vulnerability Findings

Severity Count
Critical 59
High 622
Medium 742
Low 143
Negligible 866
Unknown 101
Grype by image (severity breakdown, top contributors)
Image Negligible Low Medium High Critical
ghcr.io/oraios/serena:1.7.0 734 65 280 401 25
ghcr.io/xberg-io/xberg:1.3.6 122 17 82 113 18
ghcr.io/github/gh-aw-firewall/agent:0.28.70 1 21 274 2 6
grafana/mcp-grafana:1.1.0-alpine - 11 16 36 6
ghcr.io/github/gh-aw-mcpg:v0.4.37 - 14 17 23 2
node:lts-alpine - 9 26 17 -
ghcr.io/github/github-mcp-server:v2.0.2 8 5 16 13 2
ghcr.io/github/gh-aw-firewall/squid:0.28.70 - - 3 10 -
ghcr.io/github/gh-aw-firewall/cli-proxy:0.28.70 - - 5 3 -
ghcr.io/github/gh-aw-firewall/api-proxy:0.28.70 - - 5 3 -

Note: the 2026-10-22 scan showed grype near-zero for ghcr.io/oraios/serena:1.7.0 despite syft confirming the same image digest was scanned — a transient reporting gap, not a fix. Today's run confirms serena is back to its normal 1,553-finding share (25 critical), so treat yesterday's low total as undercounted rather than as a real improvement.

Notable unique Critical CVEs (fixable, highest-value targets)
CVE/Advisory Package Fix available
CVE-2026-8924 curl / libcurl4t64 8.14.1-2+deb13u7
CVE-2026-8927 curl / libcurl4t64 8.14.1-2+deb13u7
CVE-2026-63073 openssl / libcrypto3 / libssl3 3.5.8-r0 / 3.5.7-1~deb13u2
CVE-2026-75803 openssl / libssl3 3.5.8-r0 / 3.0.22-1~deb12u1
CVE-2026-109618 / 109619 php8.5-common / php8.5-gd / php8.5-intl 8.5.4-0ubuntu1.5
CVE-2026-19445 python 3.14.8 / 3.15.0rc3
GHSA-ch52-4w7c-c8xp http-cache-semantics newly surfaced 2026-10-21, no fix version listed
GHSA-r292-9mhp-454m tar 7.5.21
GHSA-332p-7hrc-92wf / 8g5g-8vmr-9782 / v9pv-5gc8-w2m6 / w889-685w-c8fh pillow 13.0.0
GHSA-6q48-6c7w-9gw2 certifi 2026.10.19
GHSA-ffc3-869f-jxw9 pyjwt 2.14.0
GO-2026-6612 golang.org/x/net, Go stdlib 0.60.0 / 1.26.9 / 1.27.2

Several of these (curl, openssl, python, pyjwt, pillow, certifi, Go stdlib/x/net) have fixed versions already published — these are the cheapest wins since they just need an image/dependency bump rather than a code change.

Yamllint YAML Linting Findings

No findings (0/0) — clean for the 8th+ consecutive tracked day.

Shellcheck Shell Linting Findings

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

Top Priority Issues

1. NEW: runner-guard RGS-018 on engine: pi workflows (3 files)

  • Tool: runner-guard
  • Count: 3 new findings (6 total for the rule)
  • Severity: High
  • Affected: smoke-test-tools.lock.yml, super-linter.lock.yml, video-analyzer.lock.yml
  • Description: Generated Execute Pi CLI step's nested shell-escaping/piping pattern matches the "suspicious payload execution" heuristic.
  • Impact: Likely false positive (fixed, non-attacker-controlled harness code), but unconfirmed — and will recur on every scan and every new engine: pi workflow until triaged/suppressed at the compiler-template level.
  • Reference: https://github.com/Vigilant-LLC/runner-guard

2. zizmor dangerous-triggers (High) on 3 command/bot workflows

  • Tool: zizmor
  • Count: 3
  • Severity: High
  • Affected: ai-moderator.lock.yml, q.lock.yml, squad.lock.yml
  • Description: issue_comment is flagged as a fundamentally insecure trigger.
  • Impact: All 3 gate real execution behind an activation job checking actor/author association, so impact is architecturally mitigated, but zizmor flags the trigger regardless of downstream gating. Open since 2026-10-22, no fix issue filed yet.
  • Reference: (docs.zizmor.sh/redacted)

3. zizmor secrets-outside-env (Medium, highest volume)

  • Tool: zizmor
  • Count: 12,497
  • Severity: Medium
  • Affected: 341 of 346 workflows
  • Description: ${{ secrets.X }} referenced outside a dedicated GitHub Actions environment: block.
  • Impact: Low per-instance risk but repo-wide volume; dominates the total finding count and makes the report noisy. See fix suggestion below.
  • Reference: (docs.zizmor.sh/redacted)

4. grype Critical CVEs with available fixes (curl, openssl, pillow, certifi, pyjwt, Go stdlib)

  • Tool: grype
  • Count: ~40 unique CVE/package pairs across 59 critical findings
  • Severity: Critical
  • Affected: ghcr.io/oraios/serena:1.7.0, ghcr.io/xberg-io/xberg:1.3.6, ghcr.io/github/gh-aw-firewall/agent:0.28.70, grafana/mcp-grafana, ghcr.io/github/gh-aw-mcpg, ghcr.io/github/github-mcp-server
  • Description: Known CVEs in base-image packages, most with a fixed version already published upstream.
  • Impact: These are third-party container images (serena, xberg, grafana) gh-aw depends on rather than code it controls directly; the actionable items are version bumps where gh-aw controls the image tag/digest.

Fix Suggestion for zizmor secrets-outside-env (highest-volume finding)

Issue: Secrets referenced in run:/with:/env: outside a dedicated GitHub Actions environment: block
Severity: Medium
Affected Workflows: 341 of 346 workflows (12,497 occurrences)

Prompt to Copilot Agent:

You are fixing a security hygiene finding identified by zizmor.

Vulnerability: secrets-outside-env
Rule: secrets-outside-env - (docs.zizmor.sh/redacted)

Current Issue:
A step references `${{ secrets.SOME_TOKEN }}` (directly, or via `env:`/`with:`)
in a job that does not declare a dedicated `environment:` block. Without an
environment, GitHub does not enforce environment-level protection rules
(required reviewers, wait timers, deployment branch restrictions) around
secret access, and the secret is available to every step in the job rather
than being scoped.

Required Fix:
1. For each affected job, add an `environment:` key naming a dedicated
   GitHub Actions environment for that job (create the environment in repo
   settings if it does not exist, with appropriate protection rules).
2. Where many generated jobs share this pattern because they come from a
   single compiler template (this repo generates workflows from Markdown via
   `gh aw compile`), fix it once in the Go template/generator that emits the
   job, not by hand-editing each `.lock.yml` -- otherwise `make recompile`
   will immediately regenerate the unguarded version.
3. Re-run `gh aw compile` (or `make recompile`) and confirm the zizmor
   `secrets-outside-env` count drops across all regenerated workflows.

Example:
Before:
```yaml
jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - run: curl -H "Authorization: Bearer ${{ secrets.DEPLOY_TOKEN }}" ...

After:

jobs:
  deploy:
    runs-on: ubuntu-latest
    environment: production
    steps:
      - run: curl -H "Authorization: Bearer ${{ secrets.DEPLOY_TOKEN }}" ...

Please apply this fix at the compiler-template level that generates agent/
safe-outputs jobs referencing secrets, since the 12,497 occurrences span 341
auto-generated workflow files rather than being hand-authored per file.


### Historical Trends

- **Previous Scan**: 2026-10-22
- **Total Findings Then**: 20,292 (undercounted — grype had a transient reporting gap)
- **Total Findings Now**: 21,855
- **Change**: +1,563 (+7.7%), almost entirely the grype serena-gap resolving (+1,560) plus the new runner-guard RGS-018/Pi-engine cluster (+3)

#### New Issues
- runner-guard RGS-018 on 3 `engine: pi` workflows (smoke-test-tools.lock.yml, super-linter.lock.yml, video-analyzer.lock.yml) — new root cause, distinct from the existing checksum-download RGS-018 cluster. 3 issues filed.

#### Resolved Issues
- The 2026-10-22 grype "serena scan gap" anomaly is resolved — serena's findings are back to their normal count.

<details><summary><b>Long-standing open items (no fix issue yet)</b></summary>

- zizmor `unpinned-images` (smoke-service-ports.lock.yml) and `bot-conditions` (squad.lock.yml) — High severity, 24+ consecutive days open.
- zizmor `dangerous-triggers` (ai-moderator.lock.yml, q.lock.yml, squad.lock.yml) — High severity, open since 2026-10-22.
- actionlint `expression` property-gap (missing_tool/report_incomplete/noop/report_failed_jobs on the needs-context object type) — 151 occurrences across 34 workflows, longstanding.
- runner-guard RGS-012 on github-remote-mcp-auth-test.lock.yml — its inline `runner-guard:ignore RGS-012` suppression comment does not appear to be honored by the scanner (still fires despite the annotation); tracked under closed #55652, not re-filed, but the suppression mechanism itself may need a scanner-side fix.

</details>

### Recommendations

1. **Immediate**: Triage the 3 new runner-guard RGS-018 findings on `engine: pi` workflows (issues filed this run) — confirm false-positive status and suppress/fix at the compiler-template level so it doesn't recur per new Pi-engine workflow.
2. **Short-term**: File a fix issue for the zizmor `dangerous-triggers` cluster (ai-moderator.lock.yml, q.lock.yml, squad.lock.yml) and the long-open `unpinned-images`/`bot-conditions` findings (24+ days with no tracking issue).
3. **Short-term**: Bump base images/dependencies with already-published fixes for the grype Critical CVEs (curl, openssl, pillow, certifi, pyjwt, Go stdlib/x/net) in the firewall/mcpg/github-mcp-server images gh-aw controls directly.
4. **Long-term**: Fix the actionlint `expression` property-gap at the compiler-template level (needs-context object type for safe-outputs conclusion jobs), and apply the `secrets-outside-env` / `environment:` fix broadly since it affects 341 of 346 workflows.
5. **Prevention**: Consider adding a scanner-config check for the `runner-guard:ignore` annotation mechanism — at least one prior suppression (RGS-012 on github-remote-mcp-auth-test.lock.yml) does not appear to be honored despite being present in the source.

### Next Steps

- [ ] Triage and resolve/suppress the 3 new RGS-018 Pi-engine findings (issues filed)
- [ ] File a tracking issue for zizmor `dangerous-triggers` (3 workflows) and the 24+ day-old `unpinned-images`/`bot-conditions` findings
- [ ] Bump images/dependencies for grype Critical CVEs with available fixes
- [ ] Apply the `secrets-outside-env` → `environment:` fix at the compiler-template level
- [ ] Fix the actionlint needs-context `expression` property gap (151 occurrences, 34 workflows)
- [ ] Investigate why the RGS-012 `runner-guard:ignore` suppression comment on github-remote-mcp-auth-test.lock.yml isn't being honored by the scanner

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

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

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

Activity

  1. github-actions commented on Oct 24, 2026

    @github-actions
    ContributorAuthor

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

    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

    automationcookiesecuritystatic-analysis

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions