AgentShield
Tool · Free
A CLI and GitHub Action for checking AI agent configurations. Analyzes permissions, hooks, MCP, and instructions, and produces reports for review and CI. Findings require contextual assessment; scanning does not guarantee the absence of vulnerabilities.

What you can use for free
The local scanner and GitHub Action are available under MIT; machine-readable reports are supported.
Paid features and costs
In-depth analysis with Claude Opus requires a paid Anthropic API; hosted Pro integration is provided separately.
Access and limitations
Local analysis and in-depth analysis through an API are separate modes.
Use cases
- Check hooks, permissions, and MCP before connecting them to an agent.
- Add an AI agent configuration report to CI.
- Review settings changes and confirm that issues have been fixed.
Example workflow
A possible workflow; this is not a report of hands-on testing.
Check hooks, permissions, and MCP before connecting them to an agent.
Before you start
- A copy of the AI agent configuration to check.
- Context for required permissions and criteria for analyzing the report.
Steps
- Choose a verified scanner version and a separate configuration folder to analyze.
- First run the check without automatic fixes; examine each result in the project's context.
- Fix confirmed issues manually and repeat the check; set a meaningful threshold for CI integration.
Check your result
- The report does not publish secrets or personal paths; check false positives.
- After fixes, the agent retains the necessary functions; a repeat report confirms the change.
Choosing AgentShield
Check hooks, permissions, and MCP before connecting them to an agent.
Choose this when
- Check hooks, permissions, and MCP before connecting them to an agent.
- Add an AI agent configuration report to CI.
- Review settings changes and confirm that issues have been fixed.
Consider alternatives when
- When choosing for this topic, compare AgentShield with Everything Claude Code / ECC. A candidate to compare under the topic: Code review. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
Requirements
- Scan actual configuration directories; the optional --opus requires an Anthropic API key.
Things to consider
- Costs and limits of free use: In-depth analysis with Claude Opus requires a paid Anthropic API; hosted Pro integration is provided separately.
- Terms of use: MIT for the scanner; retain the license and copyright when distributing. Paid API and hosted offerings have their own terms.
Frequently asked questions
What can you use for free in AgentShield?
The local scanner and GitHub Action are available under MIT; machine-readable reports are supported.
What additional costs might arise with AgentShield?
In-depth analysis with Claude Opus requires a paid Anthropic API; hosted Pro integration is provided separately.
What terms of use matter for AgentShield?
MIT for the scanner; retain the license and copyright when distributing. Paid API and hosted offerings have their own terms.
Which environment can you use AgentShield in?
Environment: Windows, macOS, Linux.
How do you get started with AgentShield?
Choose a verified scanner version and a separate configuration folder to analyze. First run the check without automatic fixes; examine each result in the project's context. Fix confirmed issues manually and repeat the check; set a meaningful threshold for CI integration.
Does a finding in a template mean the working agent has an active issue?
Reports include runtimeConfidence: they distinguish active configuration, a source that is only configured, a template, and plugin cache. First establish the finding's scope; a line in template or plugin_cache alone does not prove execution in the current runtime.
Related tasks and approaches
- Everything Claude Code / ECC
A candidate to compare under the topic: Code review. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
Platforms
- Windows
- macOS
- Linux
License
MIT for the scanner; retain the license and copyright when distributing. Paid API and hosted offerings have their own terms.
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsTechnologies and topics
- AgentShield