mcpField
🛡
🛡️ A.I.G(AI-Infra-Guard)

🛡️ A.I.G(AI-Infra-Guard)

Local
tencent.github.ioAI & Agents7.2kUpdated today

About 🛡️ A.I.G(AI-Infra-Guard)

A.I.G(AI-Infra-Guard) is an AI red-teaming platform from Tencent Zhuque Lab for security teams and developers assessing AI systems. Its web interface and standalone command-line scanners cover infrastructure, agents, skills, MCP servers, and LLM jailbreak risks.

Key features

  1. 01Scan AI infrastructure fingerprints and vulnerabilities
  2. 02Assess LLM jailbreak scenarios
  3. 03Scan MCP server source or running services
  4. 04Audit agent skills and running agents
  5. 05Run scanners independently from the command line
  6. 06Extend checks with plugins and rules

Use cases

  1. 01Review an MCP server for security risks
  2. 02Test an agent for unsafe behavior
  3. 03Assess an LLM's jailbreak resistance
  4. 04Scan an AI infrastructure target

MCP support

A.I.G includes an MCP scanner that examines an MCP server source directory or connects to a running service.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

A.I.G

📖 Documentation  |  🌐 🇬🇧 English · 🇨🇳 中文

GitHub stars GitHub downloads docker pulls Release

EdgeOne ClawScan EdgeOne Skill Scanner AIG Scanner

OpenClaw Recommended

Tencent%2FAI-Infra-Guard | Trendshift  Tencent%2FAI-Infra-Guard | blackhat  Tencent%2FAI-Infra-Guard | awesome-deepseek-integration


🚀 One-Stop AI Red Teaming Platform by Tencent Zhuque Lab

A.I.G (AI-Infra-Guard) brings together OpenClaw security checks, Agent security scanning, AI tool and skill scanning, AI infrastructure vulnerability scanning, and LLM security assessment (jailbreak evaluation), aiming to provide the most comprehensive, intelligent, and easy-to-use way to check AI security risks.

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


Table of Contents

🚀 Quick Start

🐳 Deploy A.I.G with Docker
DockerRAMDisk Space
20.10 or higher4GB+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

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

🧰 Standalone Use

The five scanners can be used from the command line without starting the web service. Only the shortest usage is shown below. See each README for parameters and examples.

AI Infrastructure Scan

Scan a domain, IP, or URL and match fingerprints and vulnerabilities.

pip install aig-infra-scan
aig-infra-scan -t https://example.com

View README

LLM Security Assessment / Jailbreak

Evaluate a model that exposes an OpenAI-compatible API.

pip install aig-model-scan
aig-model-scan \
  --model "gpt-4o-mini" \
  --base_url "https://api.openai.com/v1" \
  --api_key "your-api-key" \
  --max_concurrent 10 \
  --scenarios Bias \
  --techniques Raw

View README

MCP Scan

Scan an MCP server source directory, or connect to a service that is already running.

pip install aig-mcp-scan
export LLM_API_KEY="your-api-key"
aig-mcp-scan --repo /path/to/mcp-server -o result.sarif.json

View README

Skill Scan

Audit a local Agent Skill directory.

pip install aig-skill-scan
export LLM_API_KEY="your-api-key"
aig-skill-scan --repo /path/to/your/skill -o result.sarif.json

View README

Agent Scan

Send test prompts to a running Agent. target.yaml describes the Agent under test. The API key is for the model used by the scanner.

pip install aig-agent-scan
export LLM_API_KEY="your-api-key"
aig-agent-scan --agent_provider target.yaml -o result.json

View README

🖼️ Showcase

A.I.G Main Interface

A.I.G main interface

Plugin management


📖 User Guide

Visit our online documentation: https://tencent.github.io/AI-Infra-Guard/

For more detailed FAQs and troubleshooting guides, visit our documentation.

📝 Contribution Guide

One of A.I.G's core strengths is its rich plugin system, which can be configured quickly. We welcome high-quality plugins and features from the community.

Plugin Contribution Rules
  1. Fingerprint Rules: Add new YAML fingerprint files to the data/fingerprints/ directory.
  2. Vulnerability Rules: Add new vulnerability scan rules to the data/vuln/ directory.
  3. MCP Plugins: Add new MCP security scan rules to the data/mcp/ directory.
  4. Model Evaluation Datasets: Add new model evaluation datasets to the data/eval directory.

Please refer to the existing rule formats, create new files, and submit them via a Pull Request.

Other Ways to Contribute

🛡️ About the Team

This project is led and developed by Tencent Zhuque Lab, part of the Tencent Security Platform Department. Founded in 2019, Tencent Zhuque Lab is a top-tier security research lab focused on real-world offensive and defensive research and frontier technology in the AI security space, covering large model security, AI agent security, AI-empowered security, and AI-generated content detection.

The team has helped major vendors such as NVIDIA, Google, and Microsoft, as well as open-source communities like OpenClaw, Linux, and Hugging Face, fix a large number of high-risk vulnerabilities, and has been publicly acknowledged by them.

We have released open-source AI security products including the AI Red Team Security Testing Platform A.I.G (AI-Infra-Guard) and the Zhuque AI Detection Assistant. Our research has been widely published at top international security and AI conferences such as Black Hat, DEF CON, ICLR, CVPR, NeurIPS, and ACL, and we have authored the book "AI Security: Technology and Practice".

👥 Core Members & Contributions
RoleMemberContribution
Head of Tencent Security Platform DepartmentYong YangInitiated A.I.G and proposed automated assessment of AI agent loss-of-control risks, guiding the platform's expansion from AI infrastructure vulnerability scanning to agent execution risk, tool misuse, and permission-boundary evaluation.
Head of Tencent Zhuque LabXing ZhengProposed the automated vulnerability-update and benchmark-alignment mechanism, helping AI Infra fingerprints, CVE/GHSA rules, and benchmarks iterate continuously.
Project LeadNickyFrontier security research, product planning, technical-route decisions, internal and external collaboration, and communications.
Technical LeadPythonOverall architecture design, core module development, and version iteration.
Core ContributorZonaFrontend interaction, product experience, community operations, and user-feedback loop.
Core ContributorFyoungAI Infra vulnerability component fingerprint updates and Benchmark system construction.
Core ContributorXiangfanSecurity capability development for Skill risks and agent loss-of-control scenarios.
Core ContributorElwoodEnhancing Agent security scanning capabilities and updating technical reports.
Core ContributorRobertLLM safety assessment and jailbreak-evaluation strategy operations.
Core ContributorZoeLLM safety assessment, jailbreak evaluation, and model-integration module development.
ContributorRoninParticipated in AI agent security scanning development.
ContributorRsinParticipated in community operations and campaign communications.

🙏 Acknowledgements

🎓 Academic Collaborations

We thank our academic partners for their research contributions and technical support.

README image
README image
Prof. hui Li
README image
Bin Wang
README image
Zexin Liu
README image
Hao Yu
README image
Ao Yang
README image
Zhengxi Lin
README image
README image
Prof. Zhemin Yang
README image
Kangwei Zhong
README image
Jiapeng Lin
README image
Cheng Sheng

👥 Thanks to the following teams and developers

Keen LabWeChat SecurityFit Security
README image

🤝 Thanks to the following organizations and teams for using and supporting A.I.G

Tencent DeepSeek Antintl Lenovo ICBC Vivo Oppo Haier Abc 招商银行 中国电信 Bilibili Qunar 蜜雪冰城 IDG kingdee 联通数科 长安汽车 天鹅到家
清华大学 北京大学 南洋理工大学 复旦大学 浙江大学 南京大学 武汉大学 An-Najah National University 西安交通大学 华中科技大学 南开大学 四川大学 Binus University


💬 Join the Community

🌐 Online Discussions
📱 Discussion Community
WeChat Group
WeChat Group
📧 Contact Us

For collaboration inquiries or feedback, please contact us at: [email protected]

🔗 More Security Tools

If you are interested in code security, we recommend A.S.E (AICGSecEval), the industry's first project-level AI-generated code security evaluation framework open-sourced by the Tencent Wukong Code Security Team.



📖 Citation

If you use A.I.G in your research or product, please cite:

@misc{Tencent_AI-Infra-Guard_2025,
  author={{Tencent Zhuque Lab}},
  title={{AI-Infra-Guard: A Comprehensive, Intelligent, and Easy-to-Use AI Red Teaming Platform}},
  year={2025},
  howpublished={GitHub repository},
  url={https://github.com/Tencent/AI-Infra-Guard}
}

📄 License

This project is open-sourced under the Apache License 2.0. See the LICENSE file for details.

⚖️ License & Attribution

This project is open-sourced under the Apache License 2.0. We warmly welcome and encourage community contributions, integrations, and derivative works, subject to the following attribution requirements:

  1. Retain notices: You must retain the LICENSE and NOTICE files from the original project in any distribution.
  2. Product attribution: If you integrate AI-Infra-Guard's core code, components, or scanning engine into your open-source project, commercial product, or internal platform, you must clearly state the following in your product documentation, usage guide, or UI "About" page:

    "This project integrates AI-Infra-Guard, open-sourced by Tencent Zhuque Lab."

  3. Academic & article citation: If you use this tool in vulnerability analysis reports, security research articles, or academic papers, please explicitly mention "Tencent Zhuque Lab AI-Infra-Guard" and include a link to the repository.

Repackaging this project as an original product without disclosing its origin is strictly prohibited.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.