Skip to content

agent-check 1.0.0

Choose a tag to compare

@azank1 azank1 released this 31 Oct 15:29
· 20 commits to main since this release

First release of agent-check: a read-only check for risky AI-agent setup in a repository, as a GitHub Action or a local CLI.

What it flags

  • Claude Code settings committed to the repo, which apply to everyone who clones it: bypassPermissions, Bash(*)-style allow rules, enableAllProjectMcpServers, a committed settings.local.json.
  • MCP configs (.mcp.json, .cursor/mcp.json, .vscode/mcp.json, .gemini/settings.json, .codex/config.toml): unpinned npx/uvx packages, and credentials written into the file.
  • Agent workflows (anthropics/claude-code-action, openai/codex-action, google-github-actions/run-gemini-cli) and agent CLIs started from run: steps: who can trigger the agent, sandbox and approval settings, issue or PR text pasted into the prompt, write permissions on events that carry outside text.
  • pull_request_target jobs that check out pull request code, and ${{ github.event.* }} text inside run:.

Severity follows what the job can actually do: pull request code that is checked out but never executed, or a job limited to trusted authors, grades lower.

Usage

- uses: azank1/agent-exposure@v1
  with:
    fail-on: high   # low | medium | high | critical | none

Locally: python3 repo_check.py ~/my-repo. Read-only, no telemetry, never prints a secret value.