Skip to content
AI-Infra-Guard

AI-Infra-Guard

NEW
Category: AI Security
License: Free (Open-Source, Apache 2.0)
Suphi Cankurt
Suphi Cankurt
+8 Years in AppSec
Updated July 29, 2026
3 min read
Key Takeaways
  • AI-Infra-Guard combines AI service fingerprinting, agent scanning, MCP and skill review, OpenClaw assessment, and jailbreak evaluation.
  • Version 4.5.0 lists 130 AI components and 1,888 vulnerability rules.
  • The project provides a web UI, task APIs, and standalone CLIs for skill, MCP, and agent scans.
  • The default deployment has no authentication and must not be exposed to a public network.

AI-Infra-Guard is an open-source AI security tool from Tencent Zhuque Lab. The project combines AI infrastructure, agent, MCP, skill, OpenClaw, and jailbreak testing in one red-team platform.

The tool is also called A.I.G. It provides a browser interface, task APIs, and standalone command-line scanners under the Apache 2.0 license.

AI-Infra-Guard AI infrastructure scan showing an Ollama finding, vulnerability count, and remediation references

What is AI-Infra-Guard?

AI-Infra-Guard tests several layers of an AI system. Infrastructure scans fingerprint running services, while agent, MCP, and skill scans inspect the components that give models tools and execution paths.

Version 4.5.0 lists 130 AI components and 1,888 vulnerability rules. The same release added standalone skill, MCP, and agent scanners and opened the front-end source.

Key features

Scan typeWhat it checks
AI infrastructureRunning AI services and known component vulnerabilities
Agent scanAgent configurations, prompts, tools, permissions, and workflow risks
MCP and skill scanSource archives or remote repositories for 14 risk categories
OpenClaw assessmentConfiguration, skills, known vulnerabilities, and privacy leakage
Jailbreak evaluationModel endpoints against selected datasets and attack methods
Task APIProgrammatic creation of infrastructure, MCP, and jailbreak jobs
Standalone CLIsSeparate skill, MCP, and agent scan commands

AI infrastructure scanning

Infrastructure scans target a running service URL or IP address. The scanner fingerprints the exposed component, matches its version against vulnerability rules, and produces remediation references.

The project documents targets such as vLLM, Ollama, ComfyUI, n8n, and NVIDIA Triton Inference Server. Version 4.5.0 reports coverage for 130 components.

The target is a live service, not a source repository. CIDR ranges and IP ranges can be submitted when several internal hosts need review.

Agent security scanning

Agent Scan evaluates an AI agent’s exposed configuration, prompt behavior, tool list, and permissions. The report maps findings to agent security risks and retains the evidence collected during the test.

AI-Infra-Guard Agent Scan report showing a Dify agent finding and security score

The official interface shows agent tests against Dify. The repository also describes support for Coze and a plugin system for extending scan behavior.

MCP servers and agent skills

MCP and skill scans accept a remote repository URL or an uploaded source archive. No running server is required for this mode.

The project says this scanner covers 14 risk categories. Version 4.5.0 also ships dedicated mcp-scan, skill-scan, and agent-scan command-line tools.

AI-Infra-Guard skill scan report showing a detected reverse-shell backdoor and reviewed evidence

The skill scanner maps findings to nine SkillTrustBench categories. These cover instruction hijacking, memory poisoning, malicious code, privilege abuse, persistence, tool hijacking, dependencies, and insecure coding.

Note
No authentication by default
The project’s README says AI-Infra-Guard has no built-in authentication. Do not expose the default web service to a public network.

Jailbreak evaluation

Jailbreak evaluation connects to a configured model API, applies a selected dataset and attack methods, then produces model-level scores and case details.

AI-Infra-Guard jailbreak evaluation showing attack progress, model score, risk rate, and a test case

The interface separates the original input, transformed attack input, and model output. This makes individual cases reviewable instead of showing only an aggregate score.

AI-Infra-Guard plugin management showing jailbreak evaluation datasets and security test categories

Installation requirements

The documented Docker deployment requires Docker 20.10 or newer, at least 4 GB of RAM, and 10 GB of disk space. The browser interface is served on port 8088.

The official quick start uses the repository’s Docker Compose file with prebuilt images:

git clone https://github.com/Tencent/AI-Infra-Guard.git
cd AI-Infra-Guard
docker-compose -f docker-compose.images.yml up -d

Docker Compose V2 users can substitute docker compose. The project also provides a source-build path and an installation script, but the prebuilt image flow is the shortest documented route.

After startup, API documentation is available from /docs/index.html on the A.I.G server. The task APIs cover infrastructure, MCP, and jailbreak jobs.

The Docker deployment supports Linux, macOS, and Windows hosts. The web interface and project documentation are available in Chinese and English, with additional translated README files.

For infrastructure scans, submit only services you are authorized to test. Keep the scanner and its result data on an internal network because the default service has no login boundary.

Project status and license

Tencent Zhuque Lab maintains AI-Infra-Guard. The repository had 4,319 GitHub stars and release 4.5.0 was published on July 27, 2026.

The code is licensed under Apache 2.0. The project requires downstream products using its core components to retain notices and acknowledge AI-Infra-Guard in product documentation or an About screen.

When to use AI-Infra-Guard

AI-Infra-Guard fits labs and security teams that need several AI red-team workflows behind one self-hosted interface. It covers more system layers than a model-only jailbreak tool.

Tip
Best for
Teams testing live AI services, agent workflows, MCP servers, skills, and model jailbreak behavior from one internal platform.

Frequently Asked Questions

What does AI-Infra-Guard scan?
AI-Infra-Guard scans running AI services, AI agents, MCP servers, agent skills, OpenClaw deployments, and LLM jailbreak behavior. Version 4.5.0 lists 130 AI components and 1,888 vulnerability rules.
Is AI-Infra-Guard open source?
Yes. Tencent publishes AI-Infra-Guard under the Apache 2.0 license. The repository had about 4,300 GitHub stars when this page was updated.
What does AI-Infra-Guard require?
The documented Docker setup requires Docker 20.10 or newer, at least 4 GB of RAM, and 10 GB of disk space. The web interface runs on port 8088 by default.
Can AI-Infra-Guard be exposed to the internet?
No. The project’s README says the default deployment has no authentication and should not be placed on a public network. Keep it on a trusted internal host or add an external access-control layer.