digitalfortressaudit

Agent CI Trigger Audit — Security skill for Claude Code

Security community

Read-only audit for GitHub Actions workflows that run AI coding agents (Claude Code, Codex, Gemini, Copilot).

How to install Agent CI Trigger Audit

This entry records only its repository, not the path inside it, so there is no exact command to give. Open digitalfortressaudit/agent-ci-trigger-audit and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agent CI Trigger Audit does

Read-only audit for GitHub Actions workflows that run AI coding agents (Claude Code, Codex, Gemini, Copilot). Flags pull_request_target and issue triggers outsiders can fire, allowed_non_write_users: *, write tokens, secrets passed to the agent, bare Bash/Write, untrusted checkouts, github.event in run scripts. PyYAML optional; no network.

Alternatives in Security

  • Token Scan — Meme coin and token security scan — checks for rug pull vectors (hidden mint, honeypot, fee manipulation, LP l 3.8k ★
  • UX A11y — WCAG 2.1 AA accessibility audit plus common-courtesy checks beyond the spec 66 ★
  • Cross Review — Use when: reviewing high-stakes changes such as security-sensitive code, public API changes, or data migration 62 ★

README

Agent CI Trigger Audit: GitHub Actions checks for AI coding agents (Claude Code, Codex, Gemini, Copilot)

Read-only Python check for GitHub Actions workflows that run an AI coding agent. It flags `pull_request_target`, issue and comment triggers an outsider can fire, `allowed_non_write_users: *`, write tokens, secrets passed to the agent, bare Bash/Write, untrusted checkouts, and `github.event` text in `run` scripts. Standard library only; PyYAML is used if already installed. No network calls. PyYAML is recommended for full workflow coverage.

Use it on repositories you own or are explicitly allowed to review.

[agent-repo-preflight](https://github.com/digitalfortressaudit/agent-repo-preflight) reads rule files before a coding agent opens a clone. [mcp-tool-pin-check](https://github.com/digitalfortressaudit/mcp-tool-pin-check) pins MCP tool listings. This checker reads workflow files.

Why now

Three public reports are the reason this checker exists:

  • node9, "We Read 760 Repositories That Run AI Agents in CI" (11 October 2026) read 760 public repositories that run an AI agent from GitHub Actions or commit agent configuration. They report that a substantial share let someone without write access reach the agent, or gave the agent a write token, a secret, or a broad shell. The configuration they describe is a public issue, comment, or pull-request trigger, an allowed_non_write_users value of *, and a label gate that a template or bot applies on its own. This checker looks for those shapes in the workflow files you already have.
  • BeyondTrust Phantom Labs on GitHub Copilot (21 October 2026) describes Copilot coding-agent runs that follow instructions carried in issue text, and extra permissions granted through copilot-setup-steps.yml. This checker reports every permissions grant in that file.
  • [Socket on the LiteLLM timel