# Ravi CI Guard: GitHub Actions security audit

> Audit GitHub Actions workflows: pwn requests, script injection, token scope, SHA pins, fix patches

- name: dev.workers.agent-arena-base.ravi-ci-guard/ci-guard
- version: 1.1.0
- connection class: R0 (autonomous)
- trust: 81/100 flags: no-repository
- quality: 86/100 (good)
- charges per call: the server says so (`` audit_workflows `` $0.1, `` pin_actions `` $0.02)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/dev.workers.agent-arena-base.ravi-ci-guard%2Fci-guard
- tools: https://api.protogrid.dev/v1/servers/dev.workers.agent-arena-base.ravi-ci-guard%2Fci-guard/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "ci-guard": {
      "type": "http",
      "url": "https://ravi-ci-guard.agent-arena-base.workers.dev/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 96
- freshness: 100
- provenance: 55
- drivers: +dns-namespace +website +reachable +uptime-89% +updated-8d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 86/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 89 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 7 of 7 tools declare readOnlyHint or destructiveHint
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: list_rules (destructiveHint, idempotentHint); pin_actions (destructiveHint, idempotentHint); peek_workflows (destructiveHint, idempotentHint); …
- pass `tools.token_cost`: about 1,542 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool, prompt or resource definitions
- pass `tools.poisoning`: no instructions aimed at the model in tool, prompt or resource definitions

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name
- pass `stability.new_links`: no tool change named a new site

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 7, about 1,542 tokens to load them all
- tool set hash: 58d4ae52481119df49e55a092b4ba463
- badge: [![protogrid quality](https://protogrid.dev/badge/dev.workers.agent-arena-base.ravi-ci-guard/ci-guard.svg)](https://protogrid.dev/servers/dev.workers.agent-arena-base.ravi-ci-guard/ci-guard)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

_No changes to tool, prompt or resource template definitions recorded._

## Remotes

- https://ravi-ci-guard.agent-arena-base.workers.dev/mcp (streamable-http, auth none, reachable true, uptime30d 0.89285713)

## Packages

_none_

## Tools (7)

- `audit_sample`: FREE demo. Runs the real audit_workflows on a built-in SAMPLE workflow (a pull_request_target preview job) that contains typical mistakes on purpose: pwn request, script injection, missing permissions, retired runner, unpinned and deprecated actions. Shows exactly what audit_workflows returns (findings with evidence/why/fix, SHA pins, patches) before you buy a pass. Takes no arguments; it never audits your own code.
- `audit_workflows`: Security + reliability audit of GitHub Actions workflows: repo=owner/name (all workflows at the default branch, or ref=), url= (one workflow file) or yaml= (the file text). About 30 line-accurate checks: pwn requests (pull_request_target / workflow_run running PR code), script injection from PR titles, branch names and comments, artifact poisoning, leaked credentials, GITHUB_TOKEN permissions, secrets: inherit, unpinned or compromised actions, deprecated actions that now fail, retired runners, self-hosted runners on PRs, ArtiPACKED token leaks, curl|sh, set-output, invalid structure, timeouts. Returns score/grade, findings (rule, severity, file:line, evidence, why, fix), commit-SHA pins resolved live from GitHub and two git-apply patches (safe, hardening). Needs a CI Guard pass (0.50 USDC = 24 h, 3 USDC = 30 days + Team Kit, 8 USDC = 90 days + Team Kit, by plain USDC transfer on Base; see payment_options), or pay per call over HTTP x402 ($0.10) at /v1/gha/audit.
- `list_rules`: FREE. The rule families CI Guard checks, with one line each, and the methodology.
- `payment_options`: FREE. Prices, the plain-USDC-transfer pass (0.50 / 3 / 8 USDC on Base for 24 h / 30 days + Team Kit / 90 days + Team Kit), the x402 per-call alternative, the self-hosted Team Kit, and the status of the pass you are using (if any).
- `peek_workflows`: FREE. Score (0-100), grade and finding counts by severity and rule for your workflows: repo=owner/name, url= one workflow file, or yaml= pasted text. Counts only: the line-by-line findings, fixes, SHA pins and git-apply patches come from audit_workflows.
- `pin_actions`: Resolve uses: references to immutable commit SHAs live from GitHub: actions=actions/checkout@v4,docker/login-action@v3 (up to 20), or repo=/url=/yaml= to pin every uses: in those workflows. Per action: SHA (annotated tags peeled), the exact version tag for the "# v4.2.2" comment, a ready uses: line, latest release and whether a newer major exists. Needs a CI Guard pass (0.50 USDC = 24 h, 3 USDC = 30 days + Team Kit, 8 USDC = 90 days + Team Kit, by plain USDC transfer on Base; see payment_options), or pay per call over HTTP x402 ($0.02) at /v1/gha/pin.
- `redeem_transfer_pass`: FREE. After sending USDC on Base to the address in payment_options, give the transaction hash to get your CI Guard pass token (and the Team Kit download link for 3 USDC or more). Redeeming the same hash again returns the same token.

## Prompts and resources

### Prompts (1)

- `` harden_github_actions ``: Paste a workflow file (or name a public repo). The assistant runs the audit, explains each critical/high finding with its fix, and proposes the safe patch.
