AI-Infra-Guard is a free, open source ai security & privacy project written in Python and released under Apache-2.0. It has 6,415 GitHub stars, 594 forks and 35 open issues, and was last pushed 14 hours ago. On this registry it ranks #7 of 34 tracked projects in AI Security & Privacy, with 5 head-to-head comparisons available. It gained 40 stars over the last 3 tracked days.

What is AI-Infra-Guard?

AI-Infra-Guard (A.I.G) is a full-stack AI red teaming platform from Tencent Zhuque Lab that scans agents, MCP servers, agent skills and AI infrastructure for security risk and evaluates large language models against jailbreak attacks, built for security engineers and AI platform teams that need to self-examine their own AI deployments.

What it is

AI-Infra-Guard is an open-source Python project, licensed under Apache-2.0 and published by Tencent Zhuque Lab, that bundles several scanners into one platform: ClawScan (OpenClaw Security Scan), Agent Scan, AI infrastructure vulnerability scan, MCP Server and Agent Skills scan, and Jailbreak Evaluation. It ships with a vulnerability library covering 146 AI components and more than 2000 CVE rules, and its frontend was fully open-sourced in the v4.5.0 release. Documentation and the project homepage are hosted at tencent.github.io/AI-Infra-Guard, with translations available in Chinese, Japanese, Spanish, German, French, Korean, Portuguese and Russian.

The concrete problem it addresses is the absence of a single self-examination tool for the AI stack. Teams deploying agents, MCP servers and skill packages previously had to assemble separate utilities for each layer. AI-Infra-Guard replaces that ad hoc collection with one platform, and since v4.5.0 it also ships Skill scan, MCP scan and Agent scan as standalone CLIs, so the same engines can run outside the web interface. Later releases extend this to LLM API poisoning detection, a black-box audit of model substitution and backdoor risk, and an API Checker that fingerprints models including Gemini, Gemma and GLM families.

Key capabilities

  • Scans MCP servers and agent skills, with MCP-Scan preventing remote code execution through tool whitelisting in dynamic mode.
  • Runs Agent Scan against a mutation engine refactored in v5.0.0, covering OWASP skills and web-exfiltration detection across 10 skills.
  • Detects skill-level bypass techniques, including .pyc bytecode bypass and charset smuggling, and covers 9 risk categories.
  • Performs Jailbreak Evaluation with multi-turn attacks such as Many-Shot, PAIR, GOAT and ActorAttack.
  • Ships a vulnerability library of 146 AI components and more than 2000 CVE rules for AI infrastructure scanning.
  • Offers standalone skill-scan, mcp-scan and agent-scan CLIs plus an AI Security Skill Market with three official skills.
  • Flags empty or incomplete MCP scans, preserves findings during context compaction and surfaces underlying connection errors.

Who uses it and how

  • Security teams auditing an AI platform before release run the infrastructure scan against the 146-component and 2000-plus-CVE library.
  • Agent developers validate skills before publishing, using the skill scanner's 9 risk categories and its reported SkillTrustBench score of 0.9848.
  • MCP server maintainers run mcp-scan in dynamic mode to confirm that tool whitelisting blocks remote code execution paths.
  • Red teams evaluating model deployment risk use the LLM API poisoning detection probes to test for model substitution and backdoors.
  • CI pipelines and scripted workflows invoke skill-scan, mcp-scan or agent-scan directly, without the web frontend.

Getting started

Clone the repository and start the stack with Docker Compose using docker-compose -f docker-compose.images.yml up, which pulls pre-built images from Docker Hub. Requirements are Docker 20.10 or higher, 4GB or more RAM, and 10GB or more disk space.

How it compares

The facts for this entry name no comparable products and no paid alternatives that it replaces, so AI-Infra-Guard stands alone in this registry. Users evaluating it should treat the comparison as one against separate single-purpose scanners that would otherwise be combined by hand.

When to use it — and when not to

A self-hoster must operate a Docker host with at least 4GB of RAM and 10GB of disk, and no hosted or managed option appears in the project's quick start, so teams without a container platform should look elsewhere. Teams that do not run agents, MCP servers or skill packages will find little of the Agent Scan, Skill scan and ClawScan surface applies to them, leaving only the infrastructure scan and jailbreak evaluation. The project moves quickly, with releases through 2026, which means operators should expect frequent upgrades and a changelog to track.

project readme (upstream, from github) — read inline

📖 Documentation  |  🌐 🇨🇳 中文 · 🇯🇵 日本語 · 🇪🇸 Español · 🇩🇪 Deutsch · 🇫🇷 Français · 🇰🇷 한국어 · 🇧🇷 Português · 🇷🇺 Русский

GitHub stars GitHub downloads docker pulls Release Ask DeepWiki

EdgeOne ClawScan EdgeOne Skill Scanner AIG Scanner

OpenClaw Recommended

Tencent%2FAI-Infra-Guard | Trendshift   


🚀 AI Red Teaming Platform by Tencent Zhuque Lab

A.I.G (AI-Infra-Guard) integrates capabilities such as ClawScan(OpenClaw Security Scan), Agent Scan,AI infra vulnerability scan, MCP Server & Agent Skills scan, and Jailbreak Evaluation, aiming to provide users with the most comprehensive, intelligent, and user-friendly solution for AI security risk self-examination.

We are committed to making A.I.G(AI-Infra-Guard) the industry-leading AI red teaming platform. More stars help this project reach a wider audience, attracting more developers to contribute, which accelerates iteration and improvement. Your star is crucial to us!

Give us a Star


📋 User Feedback Survey

Help us improve A.I.G! Please take 3-5 minutes to fill out our User Feedback Survey. Users who provide high-quality feedback and leave a valid email address will receive an exclusive Tencent souvenir gift.


🚀 What's New

  • 2026-09-10 · v4.6.1 — API Checker: expanded model fingerprint coverage (Gemini 2.5/3.1, Gemma 2/3/4, GLM-5.3 & GLM-5.3-Flash); MCP-Scan reliability: flags empty/incomplete scans, preserves security findings during context compaction, surfaces underlying connection errors; corrected mislabeled CVE product names.
  • 2026-08-26 · v4.6.0 — LLM API poisoning detection (multi-probe black-box audit for model substitution & backdoor risks); Agent-Scan v5.0.0 mutation engine refactor; vuln library expanded to 146 AI components & 2000+ CVE rules; MCP/Skill scan stability & compatibility fixes.
  • 2026-08-17 · v4.5.2 — Skill-Scan: .pyc bytecode bypass detection + charset smuggling defense; MCP-Scan: RCE prevention via tool whitelisting in dynamic mode; new SkillJack research project; vuln library expanded to 2000+ CVE rules.
  • 2026-07-30 · v4.5.1 — Jailbreak Evaluation: 4 multi-turn jailbreak attacks (Many-Shot, PAIR, GOAT, ActorAttack); Agent-Scan: 5 new OWASP skills + web-exfiltration detection (10 skills total); MCP-Scan: 4 new security rules
  • 2026-07-27 · v4.5.0 — AI Security Skill Market launched (3 official skills); frontend fully open-sourced; Skill scan engine upgraded (9 risk categories, SkillTrustBench top score 0.9848); Skill/MCP/Agent scan as standalone CLI; vuln library expanded to 130 components, 1888 rules

👉 Earlier releases · 🛒 AI Security Skill Market · 🔍 skill-scan CLI · 🔍 mcp-scan CLI · 🔍 agent-scan CLI · 📊 SkillTrustBench

Table of Contents



🚀 Quick Start

🐳 Deploy A.I.G with Docker

Docker RAM Disk Space
20.10 or higher 4GB+ 10GB+
# This method pulls pre-built images from Docker Hub for a faster start
git clone https://github.com/Tencent/AI-Infra-Guard.git
cd AI-Infra-Guard
# For Docker Compose V2+, replace 'docker-compose' with 'docker compose'
docker-compose -f docker-compose.images.yml up -d

Once the service is running, you can access the A.I.G web interface at: http://localhost:8088

Use from OpenClaw

You can also call A.I.G directly from OpenClaw chat via the aig-scanner skill.

clawhub install aig-scanner

Then configure AIG_BASE_URL to point to your running A.I.G service.

For more details, see the aig-scanner README.

More installation options

Other Installation Methods

Method 2: One-Click Install Script (Recommended)

# This method will automatically install Docker and launch A.I.G with one command
curl https://raw.githubusercontent.com/Tencent/AI-Infra-Guard/refs/heads/main/docker.sh | bash

Method 3: Build and run from source

git clone https://github.com/Tencent/AI-Infra-Guard.git
cd AI-Infra-Guard
# This method builds a Docker image from local source code and starts the service
# (For Docker Compose V2+, replace 'docker-compose' with 'docker compose')
docker-compose up -d

Note: The AI-Infra-Guard project is positioned as an AI red teaming platform for internal use by enterprises or individuals. It currently lacks an authentication mechanism and should not be deployed on public networks.

For more information, see: [https://tencent.github.io/AI-Infra-Guard/?menu=getting-started](https://tencent.github.io/AI-Infra-G

readme truncated — read the full docs on github

Frequently asked questions

Is AI-Infra-Guard free to use?

AI-Infra-Guard is open source under the Apache-2.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does AI-Infra-Guard do?

A full-stack AI Red Teaming platform securing AI ecosystems via Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak evaluation.

What is AI-Infra-Guard written in?

AI-Infra-Guard is primarily written in Python. Its source is publicly available at https://github.com/Tencent/AI-Infra-Guard, and it has 6,415 GitHub stars.