Repository navigation
agent-check 1.0.0
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 committedsettings.local.json. - MCP configs (
.mcp.json,.cursor/mcp.json,.vscode/mcp.json,.gemini/settings.json,.codex/config.toml): unpinnednpx/uvxpackages, 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 fromrun: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_targetjobs that check out pull request code, and${{ github.event.* }}text insiderun:.
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 | noneLocally: python3 repo_check.py ~/my-repo. Read-only, no telemetry, never prints a secret value.