AI-Infra-Guard: AI Red Teaming Platform by Tencent
AI-Infra-Guard AI security platform delivers single-pane coverage of AI attack surfaces, specifically covering CVE scanning, MCP supply-chain checks, agent behavior evaluation, and jailbreak testing all in one Docker deployment. It is a genuinely thorough internal tool, featuring 146 AI components and 2000+ CVE rules as of August 2026.
Understanding AI-Infra-Guard
AI-Infra-Guard is a Docker-based AI red teaming platform by Tencent Zhuque Lab that scans AI infrastructure, agents, MCP servers, agent skills, and LLM behavior for security risks. It fingerprints running AI services against known CVEs, evaluates prompt's resistance to manipulation through jailbreak datasets, and audits skill/MCP source code for supply-chain threats — all accessible through a web UI at localhost:8088 or as standalone CLI tools for CI/CD pipelines.
The Challenge of AI Ecosystem Security
AI deployments sprawl across inference servers, agent frameworks, tool plugins, and model APIs — each with distinct vulnerability classes that existing security scanners miss entirely. A compromised MCP server or a poisoned agent skill can exfiltrate data or hijack an agent's behavior long before a traditional CVE database flags anything. Organizations running self-hosted AI stacks need a way to audit the full attack surface across all these layers without stitching together a dozen separate tools.
Core Capabilities for AI Red Teaming
- ✓AI infrastructure vulnerability scan — fingerprints running services (vLLM, Ollama, ComfyUI, n8n, Triton Inference Server and 100+ more) against 2000+ CVE rules
- ✓Agent Scan — multi-agent automated framework evaluating AI agent workflow security across platforms like Dify and Coze
- ✓MCP Server & Agent Skills scan — detects 14 major risk categories in MCP implementations and agent skills from source code or remote URLs, covering instruction hijacking, memory poisoning, privilege escalation, and tool spoofing
- ✓Jailbreak Evaluation — tests LLM's capacity to withstand multiple attack methods including Many-Shot, PAIR, GOAT, and ActorAttack with cross-model comparison
- ✓LLM API poisoning detection — multi-probe black-box audit for model substitution and backdoor risks introduced through relay/proxy infrastructure
- ✓Model and API Relay Checker — fingerprinting, Claude Signature verification, relay black-box auditing supporting PAMELA and Ventor QTest methods
- ✓Standalone CLI tools — skill-scan and MCP-scan run independently for CI/CD integration; aig-skill-scan pip package enables pipeline embedding
- ✓SkillTrustBench benchmark — T01–T09 taxonomy (9 risk categories) with published F1 scores; top result 0.9848 F1 with Claude Opus 4.6
Scanning AI Services and Agents
- •Scan a running vLLM instance by pointing AI-Infra-Guard at its HTTP address — the scanner fingerprints the service version and matches it against 2000+ known vulnerabilities
- •Audit an MCP server's source repository or URL before deploying it, checking for credential exfiltration, command injection, and tool poisoning patterns
- •Evaluate an LLM's jailbreak resistance by configuring its API endpoint in Settings and running one of the bundled attack datasets
- •Scan agent skills during CI/CD — pip install aig-skill-scan, point it at the skill directory, and receive a vulnerability report aligned to SkillTrustBench T01–T09 taxonomy
- •Compare multiple LLMs on jailbreak resistance using the built-in cross-model evaluation report
- •Audit agent workflow security across a Dify or Coze deployment using the Agent Scan framework
Getting Started with AI-Infra-Guard
AI-Infra-Guard is designed for Docker deployment on Linux, macOS, and Windows. The recommended path clones the repo and runs `docker-compose -f docker-compose.images.yml up -d`, which pulls pre-built images and starts the web interface at http://localhost:8088. A one-line installer (`curl ... | bash`) handles Docker installation automatically. For building from source locally, use `docker-compose up -d` instead. Standalone tools like aig-skill-scan can be installed via pip (`pip install aig-skill-scan`) without running the full platform. The API checker and unified CLI require a Go build step (`go build -o ai-infra-guard ./cmd/cli/main.go`) from the services directory.
Benefits of Using AI-Infra-Guard
- ✓Comprehensive multi-layer coverage — CVE scanning, agent behavior evaluation, MCP/skill supply-chain audit, and jailbreak testing in a single platform
- ✓Strong benchmark backing — SkillTrustBench results published (0.9848 F1 top score) with a clear 9-category risk taxonomy (T01–T09)
- ✓Extensible rule system — fingerprint, vulnerability, MCP, and jailbreak rules live in structured YAML and data directories, accepting community contributions via pull request
- ✓Docker-based deployment keeps the full stack self-contained; no complex per-component setup
- ✓Standalone CLI tools enable CI/CD integration without requiring the web UI
- ✓Apache 2.0 license explicitly permits commercial use
Important Considerations Before Deployment
- △No authentication mechanism — the README states explicitly that the platform should not be deployed on public networks, severely limiting its suitable deployment environments
- △Tencent Zhuque Lab maintains the rule database — organizations with strict third-party dependency policies may need to evaluate how actively the CVE rules are updated
- △Requires a running AI service for infrastructure CVE scanning — you cannot scan source-only AI projects without deploying them first
- △The platform's core value depends on staying current with newly disclosed AI CVEs; no guaranteed update cadence is documented
- △Running a separate API checker service alongside the main platform involves additional setup complexity
- △The broad scope means it does not specialize deeply in any single scanning domain — narrower tools may outperform it in specific areas like prompt injection detection
Related Tools and Ecosystem Integration
Frequently Asked Questions
AI-Infra-Guard is released under the Apache 2.0 license, which permits free commercial and non-commercial use, modification, and redistribution. No attribution requirement beyond the standard Apache notice.
Docker deployment is the standard path. Clone the repo and run `docker-compose -f docker-compose.images.yml up -d` to pull pre-built images and start the web interface at http://localhost:8088. A one-line install script is also available via `curl ... | bash`. Standalone tools like skill-scan install via pip without requiring the full platform.
No — The documentation clearly indicates that AI-Infra-Guard is without an authentication mechanism; consequently, it must not be deployed on public networks. Its function is that of an internal red teaming tool, intended solely for application within air-gapped or VPN-protected environments.
AI-Infra-Guard detects risks across 14 major categories covering AI infrastructure CVEs (2000+ rules across 146 components), MCP server vulnerabilities, agent skill supply-chain threats, privilege escalation, memory poisoning, tool hijacking, embedded malicious code, and insecure coding practices — organized under the SkillTrustBench T01–T09 taxonomy.
Yes, AI-Infra-Guard includes a Jailbreak Evaluation module that tests LLM resilience against multiple attack methods including Many-Shot, PAIR, GOAT, and ActorAttack. It uses curated datasets, measures attack success rates, and produces cross-model comparison reports.
Contributors can add new fingerprint rules to data/fingerprints/, vulnerability rules to data/vuln/, MCP security rules to data/mcp/, and jailbreak datasets to data/eval/. Submit new rules as pull requests following existing file formats. Bug reports and feature suggestions go through GitHub Issues, and documentation improvements are welcome via pull requests.
Who should try it — and who should skip
Security teams and red teams at organizations running self-hosted AI infrastructure — particularly those deploying vLLM, Ollama, ComfyUI, or agent platforms like Dify and Coze — should consider AI-Infra-Guard as a pre-deployment audit layer. MLOps teams that want a unified CVE baseline check across their AI stack will find the infrastructure fingerprinting useful. Skip it if you need a tool that can safely face the internet, if your organization prohibits Tencent-maintained open-source projects, or if you only need narrow coverage (a dedicated prompt injection tool like Garak may suffice). The no-auth constraint makes it a clear internal-only choice — do not deploy it anywhere it can be reached from untrusted networks.
Related repositories
Still deciding about AI-Infra-Guard?
One click hands the question to an AI along with this page — see what it says about AI-Infra-Guard.
