A.I.G (AI-Infra-Guard) integrates capabilities such as AI infra vulnerability scan, MCP Server risk scan, and Jailbreak Evaluation, aiming to provide users with the most comprehensive, intelligent, and user-friendly solution for AI security risk self-examination.
Our project has been featured in 🔗Awesome DeepSeek Integrations.
- ✨ Features
- 🖼️ Showcase
- 🚀 Quick Start
- 📖 User Guide
- 📝 Contribution Guide
- 🙏 Acknowledgements
- 💬 Join the Community
- 📄 License
- 📖 Citation
- 📚 Papers
- Precisely identifies 30+ AI framework components
- Covers nearly 400 known CVE vulnerabilities
- Including Ollama, ComfyUI, vLLM, etc.
- Powered by AI Agent
- Detects 9 major categories of MCP security risks
- Supports source code/remote URL scanning
- Rapidly assesses Prompt security risks
- Includes multiple curated jailbreak evaluation datasets
- Cross-model security performance comparison
- Comprehensive security assessment reports
- Shareable analysis with detailed vulnerability insights
- Completely free to use
- Open source with MIT license
- 🇨🇳 Chinese and 🇺🇸 English interface
- Localized documentation and help
- 🐧 Linux, 🍎 macOS, and 🪟 Windows support
- Docker-based deployment
![]() |
![]() |
System Requirements
- Docker 20.10 or higher
- At least 4GB of available RAM
- At least 10GB of available disk space
1. 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
2. Run with pre-built images (Recommended)
git clone https://github.com/Tencent/AI-Infra-Guard.git
cd AI-Infra-Guard
# This method pulls pre-built images from Docker Hub for a faster start
docker-compose -f docker-compose.images.yml up -d
3. Build from source and run
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
docker-compose up -d
Once the service is running, you can access the A.I.G web interface at:
http://localhost:8088
Visit our online documentation for detailed documentation: https://tencent.github.io/AI-Infra-Guard/
For more detailed FAQs and troubleshooting guides, visit our documentation.(常见问题文档补充中)
The extensible plugin framework serves as A.I.G's architectural cornerstone, inviting community innovation through Plugin and Feature contributions.
- Fingerprint Rules: Add new YAML fingerprint files to the
data/fingerprints/
directory. - Vulnerability Rules: Add new vulnerability scan rules to the
data/vuln/
directory. - MCP Plugins: Add new MCP security scan rules to the
data/mcp/
directory. - Jailbreak Evaluation Datasets: Add new Jailbreak evaluation datasets to the
data/eval
directory.
Please refer to the existing rule formats, create new files, and submit them via a Pull Request.
Thanks to all the developers who have contributed to the A.I.G project:
![]() |
![]() |
We are deeply grateful to the following teams and organizations for their trust, and valuable feedback in using A.I.G. Your contributions have been instrumental in making A.I.G a more robust and reliable AI Red Team platform.
(待确定后改为logo)
- Tencent Zhuque Lab
- Tencent Keen Lab
- Tencent WeChat Security
- Tencent FIT Security
- DeepSeek
If you are using A.I.G, please let us know! Your usage is very important to us (new registrations will be prioritized in order, with dedicated support for priority Q&A and Pro Version): 💬 Submit Usage Registration
- GitHub Discussions: Join our community discussions
- Issues & Bug Reports: Report issues or suggest features
For collaboration inquiries or feedback, please contact us at: zhuque@tencent.com
This project is licensed under the MIT License. See the License.txt file for details.
We are deeply grateful to all the developers who have starred our repository!
Thank you to Peking University, Alibaba, Tsinghua University, ByteDance, Microsoft, Amazon, Huawei, Meituan, Douban, HFUT, cuit, and many more amazing users for your stars!
⭐ Every star encourages us to keep improving and innovating! ⭐
🚀 Help us reach more developers by starring this repository. 🚀
If you use A.I.G in your research or product, please cite:
@misc{tencent2025aig,
title={A.I.G},
author={tencent},
year={2025},
url={https://github.com/Tencent/AI-Infra-Guard}
}
- Systematic Analysis of MCP Security - https://arxiv.org/abs/2508.12538
- A Survey on AgentOps: Categorization, Challenges, and Future Directions - https://arxiv.org/pdf/2508.02121
- MCPSecBench: A Systematic Security Benchmark and Playground for Testing Model Context Protocols - https://arxiv.org/pdf/2508.13220