whatisgithub

What is ai-infra-guard?

tencent/ai-infra-guard — explained in plain English

Analysis updated 2026-07-03

3,671PythonAudience · ops devopsComplexity · 3/5Setup · moderate

In one sentence

A security scanner from Tencent that finds weaknesses in AI systems, checks over 58 AI tools and servers for known vulnerabilities, tests AI agents and their integrations, and measures how often AI models can be tricked into breaking their own rules.

Mindmap

mindmap
  root((repo))
    What It Does
      AI security scanning
      Jailbreak testing
    Scan Modules
      Infrastructure CVEs
      MCP server testing
      Jailbreak evaluation
    Setup
      Docker install
      Web UI port 8088
      Private network only
    Coverage
      58 AI tools covered
      Weekly updates
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Scan your AI model server setup for known security vulnerabilities before deploying to production.

USE CASE 2

Test an AI agent and its connected tools for security weaknesses your team might have missed.

USE CASE 3

Run systematic jailbreak tests against an AI model to measure how resistant it is to producing restricted outputs.

What is it built with?

PythonDocker

How does it compare?

tencent/ai-infra-guardbelval/textrecognitiondatageneratorfo40225/tensorflow-windows-wheel
Stars3,6713,6713,673
LanguagePythonPythonPython
Setup difficultymoderateeasyeasy
Complexity3/52/51/5
Audienceops devopsdatadata

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

No built-in authentication, deploy only on a private network, never on a public-facing server.

License not mentioned in the explanation.

So what is it?

AI-Infra-Guard is a security testing platform built by Tencent's Zhuque Lab that helps teams find weaknesses in AI systems before attackers do. The idea is that as companies deploy AI models, AI agents, and related infrastructure, those systems introduce new kinds of security risks that traditional scanning tools were not built to catch. The platform bundles several scanning modes into one place. One module scans AI infrastructure components for known vulnerabilities, covering over 58 tools like model servers, agent frameworks, and databases. Another module tests AI agents and their tool integrations, called MCP servers, for security issues. A third module runs jailbreak evaluations, which means it systematically tries to get AI models to produce outputs they are supposed to refuse, then measures how often that succeeds. To run it yourself, you start it with Docker and access a web interface at port 8088. A one-line install script is also provided for convenience. The README notes the platform has no built-in authentication, so it is meant for internal or private network use only, not for public-facing deployments. The project was presented at Black Hat Europe 2025 and is actively updated, with changelog entries showing weekly or biweekly releases that expand the vulnerability database and add coverage for new AI components.

Copy-paste prompts

Prompt 1
I have an AI agent running with MCP server tools. Using ai-infra-guard, show me how to scan it for security vulnerabilities and interpret the results.
Prompt 2
Help me run a jailbreak evaluation against my AI model using Tencent's ai-infra-guard. What Docker command do I need and how do I read the output?
Prompt 3
I want to check my AI infrastructure stack against known CVEs. Walk me through starting ai-infra-guard with Docker and running an infrastructure scan.
Prompt 4
Using ai-infra-guard, how do I check whether a specific AI tool version is in the vulnerability database?

Frequently asked questions

What is ai-infra-guard?

A security scanner from Tencent that finds weaknesses in AI systems, checks over 58 AI tools and servers for known vulnerabilities, tests AI agents and their integrations, and measures how often AI models can be tricked into breaking their own rules.

What language is ai-infra-guard written in?

Mainly Python. The stack also includes Python, Docker.

What license does ai-infra-guard use?

License not mentioned in the explanation.

How hard is ai-infra-guard to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is ai-infra-guard for?

Mainly ops devops.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.