Capabilities / CI and build

Audit GitHub Actions workflows for security problems

ci.actions_audit, version 1. $0.001 per MB scanned, at least $0.005 and at most $0.25 per run.

What it checks

Upload a zip or tar.gz of a repository and audit its GitHub Actions workflows with zizmor: script injection from untrusted input, dangerous triggers like pull_request_target, unpinned actions, overly broad permissions, credential persistence and more. Each finding has the file and line. Runs offline in an isolated container.

In the example run below, the report listed what it checked:

  • 1 GitHub Actions workflow and action files audited by zizmor (zizmor 1.33.1), offline

What it does not check

Every report lists this in coverage.not_checked. In the example run:

  • Audits that need the GitHub API (known-vulnerable or impostor action versions)
  • Runtime behavior of the workflows
  • Secrets stored in the repository settings

A clean result means these checks found nothing. It does not mean the target is secure.

Input

FieldTypeRequiredMeaning
filefile idyesA .zip or .tar.gz of the repository (must include .github/workflows)

Output: A findings report (schema security-findings/v1) with the file and line of each problem.

Price

$0.001 per MB scanned, at least $0.005 and at most $0.25 per run. The most one run can cost is $0.25, so pass max_usd of at least 0.25. That amount is held while the run works; you pay the actual charge and the rest returns to your balance. Failed runs are free. Time limit: 180 seconds.

Call it

REST

# 1. Upload a zip or tar.gz (git archive includes only tracked files)
git archive --format=zip HEAD -o repo.zip
FILE=$(curl -s "https://api.brainbacked.com/v1/files?name=repo.zip" \
  -H "Authorization: Bearer $BRAINBACKED_API_KEY" \
  -H "content-type: application/zip" --data-binary @repo.zip | jq -r .id)

# 2. Run the check on it
curl -s https://api.brainbacked.com/v1/runs \
  -H "Authorization: Bearer $BRAINBACKED_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "capability": "ci.actions_audit",
    "input": {"file":"'"$FILE"'"},
    "max_usd": 0.25
  }'

MCP tool calls

upload_file {"name":"repo.zip","content_base64":"<base64 of the archive>"}

run {
  "capability": "ci.actions_audit",
  "input": {
    "file": "<file_id from upload_file>"
  },
  "max_usd": 0.25
}

Example response

A real run, recorded 2026-12-04 01:25 UTC. The request input was {"file":"file_vAYJ8IsAK4NOA3GMCm4uyFtz"}.

repo.zip: 5 findings: 3 high, 2 medium. Status succeeded, cost $0.0050 (max $0.25), 859 ms, recorded 2026-12-04 01:25 UTC.
SeverityFindingWhereFix
high use of fundamentally insecure workflow trigger in .github/workflows/triage.ymlthis workflow .github/workflows/triage.yml:2 See https://docs.zizmor.sh/audits/#dangerous-triggers for the fix for dangerous-triggers.
high code injection via template expansion in .github/workflows/triage.ymlthis step .github/workflows/triage.yml:10 See https://docs.zizmor.sh/audits/#template-injection for the fix for template-injection.
high unpinned action reference in .github/workflows/triage.ymlthis step .github/workflows/triage.yml:7 See https://docs.zizmor.sh/audits/#unpinned-uses for the fix for unpinned-uses.
medium overly broad permissions in .github/workflows/triage.ymlthis job .github/workflows/triage.yml:4 See https://docs.zizmor.sh/audits/#excessive-permissions for the fix for excessive-permissions.
medium credential persistence through GitHub Actions artifacts in .github/workflows/triage.ymldoes not set persist-credentials: false .github/workflows/triage.yml:7 See https://docs.zizmor.sh/audits/#artipacked for the fix for artipacked.

Checked

  • 1 GitHub Actions workflow and action files audited by zizmor (zizmor 1.33.1), offline

Not checked

  • Audits that need the GitHub API (known-vulnerable or impostor action versions)
  • Runtime behavior of the workflows
  • Secrets stored in the repository settings

Automated checks with stated coverage. A clean result means these checks found nothing, not that the target is secure.

Raw JSON response
{
  "id": "run_8VH72u3mOOLkyi152pU6",
  "capability": "ci.actions_audit",
  "version": 1,
  "status": "succeeded",
  "output": {
    "schema": "security-findings/v1",
    "capability": "ci.actions_audit",
    "target": "repo.zip",
    "generated_at": "2026-12-04T01:25:16.338391Z",
    "coverage": {
      "checked": [
        "1 GitHub Actions workflow and action files audited by zizmor (zizmor 1.33.1), offline"
      ],
      "not_checked": [
        "Audits that need the GitHub API (known-vulnerable or impostor action versions)",
        "Runtime behavior of the workflows",
        "Secrets stored in the repository settings"
      ]
    },
    "summary": {
      "critical": 0,
      "high": 3,
      "medium": 2,
      "low": 0,
      "info": 0,
      "unknown": 0
    },
    "findings": [
      {
        "id": "fnd_361dc5568c3c220f",
        "kind": "misconfiguration",
        "title": "use of fundamentally insecure workflow trigger in .github/workflows/triage.yml",
        "severity": "high",
        "severity_basis": "zizmor rating",
        "confidence": "medium",
        "basis": "deterministic",
        "asset": {
          "type": "file",
          "ref": ".github/workflows/triage.yml"
        },
        "location": {
          "path": ".github/workflows/triage.yml",
          "line": 2
        },
        "evidence": [
          "this workflow",
          "on: pull_request_target"
        ],
        "source": {
          "engine": "zizmor",
          "engine_version": "zizmor 1.33.1",
          "rule": "dangerous-triggers"
        },
        "identifiers": [],
        "remediation": {
          "summary": "See https://docs.zizmor.sh/audits/#dangerous-triggers for the fix for dangerous-triggers.",
          "action": "change_config"
        },
        "references": [
          "https://docs.zizmor.sh/audits/#dangerous-triggers"
        ],
        "limitations": [
          "Offline audit: checks that need the GitHub API (such as known-vulnerable action versions) were not run."
        ]
      },
      {
        "id": "fnd_8421e309f88ff44c",
        "kind": "misconfiguration",
        "title": "code injection via template expansion in .github/workflows/triage.yml",
        "severity": "high",
        "severity_basis": "zizmor rating",
        "confidence": "high",
        "basis": "deterministic",
        "asset": {
          "type": "file",
          "ref": ".github/workflows/triage.yml"
        },
        "location": {
          "path": ".github/workflows/triage.yml",
          "line": 10
        },
        "evidence": [
          "this step",
          "run: echo \"Title ${{ github.event.pull_request.title }}\"\n"
        ],
        "source": {
          "engine": "zizmor",
          "engine_version": "zizmor 1.33.1",
          "rule": "template-injection"
        },
        "identifiers": [],
        "remediation": {
          "summary": "See https://docs.zizmor.sh/audits/#template-injection for the fix for template-injection.",
          "action": "change_config"
        },
        "references": [
          "https://docs.zizmor.sh/audits/#template-injection"
        ],
        "limitations": [
          "Offline audit: checks that need the GitHub API (such as known-vulnerable action versions) were not run."
        ]
      },
      {
        "id": "fnd_c67024eba130eb9e",
        "kind": "misconfiguration",
        "title": "unpinned action reference in .github/workflows/triage.yml",
        "severity": "high",
        "severity_basis": "zizmor rating",
        "confidence": "high",
        "basis": "deterministic",
        "asset": {
          "type": "file",
          "ref": ".github/workflows/triage.yml"
        },
        "location": {
          "path": ".github/workflows/triage.yml",
          "line": 7
        },
        "evidence": [
          "this step",
          "uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}"
        ],
        "source": {
          "engine": "zizmor",
          "engine_version": "zizmor 1.33.1",
          "rule": "unpinned-uses"
        },
        "identifiers": [],
        "remediation": {
          "summary": "See https://docs.zizmor.sh/audits/#unpinned-uses for the fix for unpinned-uses.",
          "action": "change_config"
        },
        "references": [
          "https://docs.zizmor.sh/audits/#unpinned-uses"
        ],
        "limitations": [
          "Offline audit: checks that need the GitHub API (such as known-vulnerable action versions) were not run."
        ]
      },
      {
        "id": "fnd_1b3ff44d718fa28b",
        "kind": "misconfiguration",
        "title": "overly broad permissions in .github/workflows/triage.yml",
        "severity": "medium",
        "severity_basis": "zizmor rating",
        "confidence": "medium",
        "basis": "deterministic",
        "asset": {
          "type": "file",
          "ref": ".github/workflows/triage.yml"
        },
        "location": {
          "path": ".github/workflows/triage.yml",
          "line": 4
        },
        "evidence": [
          "this job",
          "  greet:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - run: echo \"Title ${{ github.event.pull_r"
        ],
        "source": {
          "engine": "zizmor",
          "engine_version": "zizmor 1.33.1",
          "rule": "excessive-permissions"
        },
        "identifiers": [],
        "remediation": {
          "summary": "See https://docs.zizmor.sh/audits/#excessive-permissions for the fix for excessive-permissions.",
          "action": "change_config"
        },
        "references": [
          "https://docs.zizmor.sh/audits/#excessive-permissions"
        ],
        "limitations": [
          "Offline audit: checks that need the GitHub API (such as known-vulnerable action versions) were not run."
        ]
      },
      {
        "id": "fnd_9e2c6846db5df189",
        "kind": "misconfiguration",
        "title": "credential persistence through GitHub Actions artifacts in .github/workflows/triage.yml",
        "severity": "medium",
        "severity_basis": "zizmor rating",
        "confidence": "low",
        "basis": "deterministic",
        "asset": {
          "type": "file",
          "ref": ".github/workflows/triage.yml"
        },
        "location": {
          "path": ".github/workflows/triage.yml",
          "line": 7
        },
        "evidence": [
          "does not set persist-credentials: false",
          "uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}"
        ],
        "source": {
          "engine": "zizmor",
          "engine_version": "zizmor 1.33.1",
          "rule": "artipacked"
        },
        "identifiers": [],
        "remediation": {
          "summary": "See https://docs.zizmor.sh/audits/#artipacked for the fix for artipacked.",
          "action": "change_config"
        },
        "references": [
          "https://docs.zizmor.sh/audits/#artipacked"
        ],
        "limitations": [
          "Offline audit: checks that need the GitHub API (such as known-vulnerable action versions) were not run."
        ]
      }
    ],
    "facts": {
      "workflows": 1,
      "files": [
        ".github/workflows/triage.yml"
      ]
    },
    "notice": "Automated checks with stated coverage. A clean result means these checks found nothing, not that the target is secure."
  },
  "artifacts": [],
  "cost_usd": 0.005,
  "max_cost_usd": 0.25,
  "error": null,
  "created_at": "2026-12-04T01:25:15.158Z",
  "finished_at": "2026-12-04T01:25:16.641Z",
  "duration_ms": 859
}

Data and network

Reads only the files you upload. Runs in an isolated container with no internet access. Each account gets its own container. Archives are unpacked with limits on paths, file types, file counts and sizes, and the code inside is never run.

Nothing you send leaves our servers. Uploaded files and result files are deleted after 7 days. Customer data is never used to train models.

License basis: MIT (zizmor).