# GHAGuard — GitHub Actions Supply-Chain Security Auditor

> GHAGuard — GitHub Actions Supply-Chain Security Auditor is an open-source MCP server for security. Deterministic security auditor for GitHub Actions workflows, with SARIF and PR reports. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Self-hosted
- **Repository:** https://github.com/zluowa/gha-guard-actor
- **MCP Registry name:** io.github.Zluowa/gha-guard-actor
- **Categories:** [security](https://ai-powered.com/categories/security), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-27

## About

GHAGuard reads .github/workflows YAML files and checks them against ten fixed rules covering risky pull_request_target use, script injection from untrusted event fields, unpinned actions and containers, overly broad token permissions, hardcoded credentials, and piped remote execution. Each run produces a 0-100 score with a letter grade, plus findings that point to file and line.

Results come from rule matching rather than a language model, so the same workflow always yields the same findings. Output is available as SARIF 2.1.0 for GitHub Code Scanning or as a Markdown scorecard suitable for pull request comments. It can be run as a local CLI, as a GitHub Action that can fail a build on findings, or as a remote MCP server that scans a public GitHub repository or uploaded workflow files.

It suits maintainers and security engineers who want a fast gate on CI configuration. Strict mode additionally flags unpinned official actions.

## Features

- **Pwn Request detection:** Flags pull_request_target workflows that check out untrusted pull request code.
- **Script injection checks:** Finds untrusted GitHub context values interpolated into shell run blocks.
- **Action pinning audit:** Reports third-party and optionally official actions not pinned to a full commit SHA.
- **Token permission review:** Detects write-all permissions and missing explicit top-level permissions.
- **Secret leak scanning:** Looks for hardcoded API keys, tokens and URL credentials in workflow YAML.
- **SARIF and Markdown output:** Exports SARIF 2.1.0 for code scanning or Markdown scorecards for pull requests.

## Good for

- Blocking risky workflow changes in a pull request gate
- Uploading SARIF results to GitHub Code Scanning
- Auditing a public repository's workflows from an MCP client
- Finding unpinned actions before a supply-chain review
- Adding a CI check that fails builds on critical findings

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http gha-guard-actor 'https://mcp.apify.com/?actors=zluowa~ghaguard-workflow-auditor'
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "gha-guard-actor": {
      "type": "http",
      "url": "https://mcp.apify.com/?actors=zluowa~ghaguard-workflow-auditor"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp.apify.com/?actors=zluowa~ghaguard-workflow-auditor
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "gha-guard-actor": {
      "url": "https://mcp.apify.com/?actors=zluowa~ghaguard-workflow-auditor"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "gha-guard-actor": {
      "type": "http",
      "url": "https://mcp.apify.com/?actors=zluowa~ghaguard-workflow-auditor"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.apify.com/?actors=zluowa~ghaguard-workflow-auditor
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add gha-guard-actor --url 'https://mcp.apify.com/?actors=zluowa~ghaguard-workflow-auditor'
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.gha-guard-actor]
url = "https://mcp.apify.com/?actors=zluowa~ghaguard-workflow-auditor"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "gha-guard-actor": {
      "httpUrl": "https://mcp.apify.com/?actors=zluowa~ghaguard-workflow-auditor"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http gha-guard-actor 'https://mcp.apify.com/?actors=zluowa~ghaguard-workflow-auditor'

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "gha-guard-actor": {
      "serverUrl": "https://mcp.apify.com/?actors=zluowa~ghaguard-workflow-auditor"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "gha-guard-actor": {
      "url": "https://mcp.apify.com/?actors=zluowa~ghaguard-workflow-auditor",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "gha-guard-actor": {
      "type": "streamableHttp",
      "url": "https://mcp.apify.com/?actors=zluowa~ghaguard-workflow-auditor"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "gha-guard-actor": {
      "url": "https://mcp.apify.com/?actors=zluowa~ghaguard-workflow-auditor"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "gha-guard-actor": {
      "url": "https://mcp.apify.com/?actors=zluowa~ghaguard-workflow-auditor"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "gha-guard-actor": {
      "url": "https://mcp.apify.com/?actors=zluowa~ghaguard-workflow-auditor"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "gha-guard-actor": {
      "url": "https://mcp.apify.com/?actors=zluowa~ghaguard-workflow-auditor"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.apify.com/?actors=zluowa~ghaguard-workflow-auditor
```

Enter a Name (for example "GHAGuard — GitHub Actions Supply-Chain Security Auditor"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for a bearer token. Add it under HTTP headers as Authorization: Bearer <your token>.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "gha-guard-actor": {
      "type": "http",
      "url": "https://mcp.apify.com/?actors=zluowa~ghaguard-workflow-auditor"
    }
  }
}
```

## Tools

Going by the tool names, 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `audit-workflow-bundle`: Audits a bundle of workflow files or a public GitHub repository and returns score, SARIF and Markdown.
- `audit-workflow`: Audits a single workflow YAML file and returns score, grade, SARIF and Markdown.

## FAQ

### Does GHAGuard — GitHub Actions Supply-Chain Security Auditor use an LLM to analyze workflows?

No. The auditor is described as deterministic, using fixed rules with no language model involved.

### What output formats are available?

SARIF 2.1.0 JSON for GitHub Code Scanning and Markdown security scorecards.

### Can GHAGuard — GitHub Actions Supply-Chain Security Auditor scan a GitHub repository directly?

The hosted Apify actor can take a public owner/repo and fetch up to 25 workflow files from it.

### Is the local CLI free?

The local CLI and GitHub Action are described as free; the Apify cloud actor is pay-per-event.

### How do I add GHAGuard — GitHub Actions Supply-Chain Security Auditor to Claude Code?

Run this command in your terminal: claude mcp add --transport http gha-guard-actor 'https://mcp.apify.com/?actors=zluowa~ghaguard-workflow-auditor'

### What are the best alternatives to GHAGuard — GitHub Actions Supply-Chain Security Auditor?

The closest alternatives to GHAGuard — GitHub Actions Supply-Chain Security Auditor are GitHub Actions Audit, Ravi CI Guard: GitHub Actions security audit, GitHub Actions Security Audit, Ci Guard MCP and mcp-guard.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Status: checked automatically by AIPoweredBot on 29 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [GitHub Actions Audit](https://ai-powered.com/mcp/github-actions-audit): GitHub Actions Audit is a paid MCP server for developer tools.
- [Ravi CI Guard: GitHub Actions security audit](https://ai-powered.com/mcp/ravi-ci-guard-github-actions-security-audit): Ravi CI Guard: GitHub Actions security audit is a paid MCP server for security.
- [GitHub Actions Security Audit](https://ai-powered.com/mcp/github-actions-security-audit): GitHub Actions Security Audit is a freemium MCP server for developer tools.
- [Ci Guard MCP](https://ai-powered.com/mcp/ci-guard-mcp): Ci Guard MCP is an open-source MCP server for developer tools.
- [mcp-guard](https://ai-powered.com/mcp/mcp-guard): mcp-guard is a free MCP server for security.
- [ActionGuard Protocol Inspector Agent](https://ai-powered.com/mcp/actionguard-protocol-inspector-agent): ActionGuard Protocol Inspector Agent is a freemium MCP server for security.
- [Ci Sentinel](https://ai-powered.com/mcp/ci-sentinel): Ci Sentinel is a freemium MCP server for security.
- [Taskbounty Check](https://ai-powered.com/mcp/taskbounty-check): Taskbounty Check is an open-source MCP server for security.

---
Source: https://ai-powered.com/mcp/ghaguard-github-actions-supply-chain-security-auditor
