Description
A.I.G (AI-Infra-Guard) is an open-source AI Red Teaming security testing platform developed by Tencent Zhuque Lab and published on GitHub. It bundles several scanning modules designed to assess the security of generative AI building blocks: agents, Skills, MCP servers, language models and training or inference infrastructure.
The documented modules include Agent Scan (connecting to and scanning OWASP Top 10 for Agentic Apps risks on Workflow Agents from platforms such as Dify or Coze, or on custom HTTP endpoints), Skill Scan (security auditing of Skill projects, either from uploaded source code or a GitHub repository URL, detecting instruction hijacking, memory poisoning, dynamic payload injection, malicious scripts and insecure coding practices), MCP Scan (detecting tool poisoning and code vulnerabilities in MCP servers), Jailbreak Evaluation (automatically evaluating the overall security of different large language models against malicious, adversarial or deceptive prompt inputs, with bad-case export) and AI Infra Scan (detecting known CVE vulnerabilities in the web services of frameworks and components used for AI training, deployment and application building, such as Ollama or ComfyUI, through precise fingerprinting).
The project exposes a documented REST API: once running, the Swagger documentation is available at http://localhost:8088/docs/index.html, with task-creation interfaces for each scan type and model management endpoints (create, detail, update, delete). A model and API relay checker is also exposed at /api/v1/relay/models, /api/v1/relay/check/stream and /api-checker/docs.
A.I.G is extensible through a plugin management system that supports rapid configuration of AI component fingerprints, CVE vulnerability fingerprints, jailbreak evaluation sets and MCP security detection plugins. The release published on 26 November 2026 is v4.6.12, which adds sandboxed repo source tools and Stage 1 profiling for Agent Scan, baseline-anchored semantic slicing for Skill Scan, a cross-server tool shadowing detection rule for MCP and the RefusalLadderJailbreaking multi-turn attack for prompt security.