Discover and explore top open-source AI tools and projects—updated daily.
affaan-mAI agent security scanner
Top 89.6% on SourcePulse
AgentShield addresses the critical gap in security tooling for the rapidly expanding AI agent ecosystem. It provides automated scanning for vulnerabilities in AI agent configurations, MCP servers, and tool permissions, targeting developers and users of AI agents, particularly within the Claude Code environment. AgentShield offers significant benefits by detecting and flagging security risks before they can be exploited, integrating seamlessly into development workflows.
How It Works
AgentShield scans AI agent configurations, primarily focusing on the .claude/ directory, using a comprehensive set of 102 rules across five categories: Secrets, Permissions, Hooks, MCP Servers, and Agent Configurations. It employs a multi-layered approach, including static analysis of configuration files and an advanced three-agent adversarial pipeline (Opus 4.6) for deep security auditing. The tool generates a graded security report and offers an auto-fix engine for safely remediating identified vulnerabilities.
Quick Start & Requirements
npx ecc-agentshield scan or npm install -g ecc-agentshield followed by agentshield scan.ANTHROPIC_API_KEY environment variable is necessary for the --opus adversarial analysis feature.Highlighted Details
Maintenance & Community
AgentShield is part of the "Everything Claude Code" ecosystem, which boasts over 42,000 stars. It was developed at the Claude Code Hackathon in February 2026. The primary developer is @affaanmustafa.
Licensing & Compatibility
The project is released under the MIT license, which is permissive and generally compatible with commercial use and closed-source linking.
Limitations & Caveats
Analysis of non-shell hook execution requires further language-aware interpretation beyond current signals. Security coverage for skill-md prompt text is narrower than for agent-md and CLAUDE.md. The npm package's root export points to the CLI, not a stable library module, making direct programmatic import of scanner internals unsupported. Some example or tutorial bundles might be misinterpreted as live configurations. The MiniClaw dashboard source code is not yet published as a separate npm subpath.
3 days ago
Inactive
aliasrobotics
usestrix