A.I.G skills: security checks for agent skills and agents
Tencent/AI-Infra-Guard
Three security skills from Tencent's A.I.G project. One checks the skills you installed, or one skill before you install it, by reading its files. One gives an OpenClaw setup a full health check. One runs an authorised attack exercise on an AI assistant or product and writes a report like a penetration test.
Pack description by its author: “Three security skills from Tencent's A.I.G project. One checks the skills you installed, or one skill before you install it, by reading its files. One gives an OpenClaw setup a full health check. One runs an authorised attack exercise on an AI assistant or product and writes a report like a penetration test.”
DevOps, cloud and securityKnowledge and rules for your assistantGives your assistant new abilities with scripts
1. Changes your files
Skills that write or edit files: aig-agent-redteam.
github.com/Tencent/AI-Infra-Guard/blob/9581449/2. Runs code on your machine
Install: Markdown skills; no hooks. aig-agent-redteam also ships Python helper scripts the assistant may call. OpenClaw check: The assistant runs openclaw security audit --deep (a live probe of your local gateway) and, unless AIG_CLOUD_LOOKUP=off, curl requests to matrix.tencent.com/clawscan with skill names, sources and your OpenClaw version.
github.com/Tencent/AI-Infra-Guard/blob/9581449/3. Sends data
edgeone-clawscan itself warns that a skill registry may show a different owner than the author, so check the copy against github.com/Tencent/AI-Infra-Guard. The attack exercise holds real attack prompts: run it only on systems you own or may test.
github.com/Tencent/AI-Infra-Guard/blob/9581449/4. Commercial use
Apache-2.0; the NOTICE asks you to state "Based on Tencent Zhuque Lab AI-Infra-Guard" and link the repo in anything built on it
github.com/Tencent/AI-Infra-Guard/blob/9581449/Checked against the pack's files at commit 9581449, on Nov 17, 2026. Tap a verdict to see its source.How we checkedReport an error
The pack has changed since AgentGid checked it on Nov 17, 2026. Some details may be out of date.
Good for you if
- You want to know whether a skill is safe before you install it
- You run OpenClaw and want a check of its settings, installed skills and known flaws
- You build an AI assistant or product and want it tested against tricks like hidden instructions and data leaks
Probably not for you if
- You want a check of an app or website you don't own: the attack exercise asks you to confirm you may test it
- You only want the OpenClaw health check without any outside lookup: switch the cloud lookup off first
What its answer looks like
The scanner's verdict card for a safe skill
✅ {skill} passed security check
| Check | Result |
|-------|--------|
| Source trust | {Known trusted source / Unknown source, watch for future updates} |
| Access to your files | {No, reads only its own config / Yes, but consistent with stated purpose} |
| Hidden network calls | {None detected / Only calls endpoints declared in its description} |
| Dangerous operations | None found |
No high-risk issues detected. You may proceed with installation. (This is a static analysis and does not cover risks introduced by future updates.)
The skill's own example, from skills/edgeone-clawscan/SKILL.md. More examples
What you'll notice
- A short verdict card per skill: safe, needs attention, or risk found, in everyday words
- The OpenClaw check ends with a report of four parts: settings, skills, known flaws, privacy
- Reports carry Tencent links: a fixed footer, and in the OpenClaw report an EdgeOne product tip
- The attack exercise asks what to test, how to reach it and whether you may test it before it starts
What you need
- Claude Code, Cursor, CodeBuddy, Windsurf, OpenClaw
- Free, Apache-2.0 license
- One skills command, or copy a folder; the two EdgeOne skills are listed on ClawHub
- The OpenClaw check needs the openclaw program; the attack exercise scripts need Python 3
Words on this page
- Skill
- A set of written instructions your AI assistant follows. Installing one is like giving it a playbook.
- MCP
- A standard way to connect an AI assistant to outside tools and data.
- API
- A way for programs to talk to a service, usually with a key.
| Repository | Tencent/AI-Infra-Guard · website |
|---|---|
| GitHub stars | 7,608 |
| Skills | 20 (21 SKILL.md in the repo, 3 in skills/) · 1 with scripts |
| Category | DevOps, cloud and security |
| License | Apache-2.0 |
| Last updated | Nov 20, 2026 · card checked Nov 17, 2026 at commit 9581449 |
| Install counts | Tencent/AI-Infra-Guard on skills.sh, Vercel's skills directory, which shows installs and security audits per skill |
Tencent/AI-Infra-Guard popularity over time
What A.I.G skills does
- Skill scanner: finds your installed skills (or one named skill), reads their files and code without running them, and compares what each skill says it does with what its code does
- It flags stealing keys or passwords, hidden downloads, back doors, access to photos or documents, real secrets left in files, wide deletions and hidden instructions aimed at the assistant
- OpenClaw check: runs OpenClaw's own security audit, checks each installed skill (optionally against Tencent's online list), looks up known flaws for your OpenClaw version and rates privacy risk from settings only
- Attack exercise: maps what the target can reach, writes risk guesses, tests them with harmless markers, changes one thing per round and sends at least 30 test prompts when live testing is in scope
- The exercise writes report.md, and report.html for fuller runs, with every round shown in full and secrets replaced
Never cut, per the skill: Static only in the scanners: the skill being checked is never run; the exercise avoids real secrets, real data leaving the machine and destructive writes unless you allow them.
From the pack's SKILL.md files, summarised by AgentGid.
The 3 skills, explained
edgeone skill scanner
Reads a skill's files and tells you if it looks safe to install
You give
- The name or folder of one skill, or ask to check all skills on your assistant
- Which assistant you use, if it cannot tell
You get
- One verdict per skill: no risk found, needs attention, or risk found
- For each finding: place in the file, the code, what could happen, how far it reaches, what to do
- For a full check: one table of every skill, details only for risky ones
edgeone-clawscan
A full health check of an OpenClaw setup, or a safety check of one skill
You give
- A request for a full OpenClaw check, or the name of one skill
- Your choice on the cloud lookup (on by default)
You get
- OpenClaw Security Health Report with a score out of 100
- Settings check
- Installed skills ranked by risk
- Known flaws for your OpenClaw version
- Privacy risk check
- For one skill: a short verdict
aig-agent-redteam
Runs an authorised attack exercise on an AI assistant or product and writes a full report
You give
- What to test: a web address, a model address, code, a skill, or the assistant itself
- How to send it test messages and how to see its replies
- That you own it or may test it
- What is off limits
You get
- A map of what the target can reach and do
- Every attempt with its result, not only the failures
- Counts of test prompts sent and which tricks were used
- Findings by severity with full evidence
- What held up, and fixes with a way to retest
- report.md, and report.html when asked or for fuller runs
See it in action
The skill defines what its answer looks like. Its own example:
✅ {skill} passed security check
| Check | Result |
|-------|--------|
| Source trust | {Known trusted source / Unknown source, watch for future updates} |
| Access to your files | {No, reads only its own config / Yes, but consistent with stated purpose} |
| Hidden network calls | {None detected / Only calls endpoints declared in its description} |
| Dangerous operations | None found |
No high-risk issues detected. You may proceed with installation. (This is a static analysis and does not cover risks introduced by future updates.)
The skill defines what its answer looks like. Its own example:
Risk detected — direct installation is not recommended. This skill executes system commands and accesses sensitive paths not declared in its description, which exceeds its stated formatting function. Disable this version and verify the source and code before deciding whether to use it.
When to reach for it
| You want | Use |
|---|---|
| To know if one skill is safe before installing it | edgeone skill scanner: "check skill safety" plus the skill name |
| A check of every skill your assistant has | edgeone skill scanner: "scan all my skills" |
| A full health check of OpenClaw | edgeone-clawscan: ask for a security audit of OpenClaw |
| To attack-test your own AI assistant or product with a report | aig-agent-redteam |
Skills in Tencent/AI-Infra-Guard
| Skill | In plain words | Changes files? | What it does (author) |
|---|---|---|---|
| aig-agent-redteam | Runs an authorised attack exercise on an AI assistant or product and writes a full report | Yes | 当用户要求 AI/Agent 安全评估、蓝军演习、AI 安全审查、提示词注入测试、MCP/Skill/插件/代码包审计、Agent 工具链滥用测试,或需要生成类似渗透测试报告的 Markdown/HTML 时,必须使用本 skill。本 skill 让 Agent 以授权蓝军视角成为 AI 安全专家,面向 AI 产品、Agent、MCP Server、Skill、代码仓库和 AI 基础设施进行安全演习。优先使用第一性原理推理和真实证据,而不是机械跑 payload 库;脚本只用于 HTTP 指纹识别、证据聚合、报告渲染等确定性辅助任务。 has scriptsnpx skills add Tencent/AI-Infra-Guard --skill aig-agent-redteam |
| edgeone-clawscan | A full health check of an OpenClaw setup, or a safety check of one skill | No | The first security skill to install after setting up OpenClaw — powered by Tencent Zhuque Lab. Works like an antivirus for your AI environment: audits installed skills, scans skills before installation, and performs a full OpenClaw security health check to prevent data leaks and privacy risks.…npx skills add Tencent/AI-Infra-Guard --skill edgeone-clawscan |
| edgeone skill scanner | Reads a skill's files and tells you if it looks safe to install | No | Scan any agent skill for security risks before you install or use it. Powered by Tencent Zhuque Lab A.I.G (AI-Infra-Guard). 100% local static analysis — no file contents or credentials leave your device. Compatible with CodeBuddy, Cursor, Windsurf, Claude Code, OpenClaw and more. Triggers on: `这个… |
| agentic-supply-chain-detection | — | — | Detect agentic supply-chain risks: compromised dependencies, malicious plugins/tools/models, and untrusted update sources.npx skills add Tencent/AI-Infra-Guard --skill agentic-supply-chain-detection |
| authorization-bypass-detection | — | — | Detect privilege escalation and unauthorized access via dialogue. Use when the agent has roles, admin functions, or multi-user data.npx skills add Tencent/AI-Infra-Guard --skill authorization-bypass-detection |
| cascading-failure-detection | — | — | Detect error propagation, chain failures, and single-point breakdowns that cascade across agent workflows.npx skills add Tencent/AI-Infra-Guard --skill cascading-failure-detection |
| data-leakage-detection | — | — | Detect sensitive information disclosure via escalating dialogue probes. Covers system prompt extraction, credential/API key leakage, PII, and internal configuration exposure.npx skills add Tencent/AI-Infra-Guard --skill data-leakage-detection |
| direct-injection-detection | — | — | Detect direct prompt injection or instruction override via user message (no external content). Focuses on system/role override attempts.npx skills add Tencent/AI-Infra-Guard --skill direct-injection-detection |
| file-path-traversal-detection | — | — | Detect unsafe file handling and path traversal in upload/save/extract flows. Focuses on user-controlled paths or filenames, not data leakage.npx skills add Tencent/AI-Infra-Guard --skill file-path-traversal-detection |
| hardcoded-secret-detection | — | — | Detect hardcoded secrets in code or configuration accessible to the target agent. Focuses on secrets embedded in source, configs, or IaC, not runtime leaks.npx skills add Tencent/AI-Infra-Guard --skill hardcoded-secret-detection |
| human-agent-trust-exploit-detection | — | — | Detect social engineering, deceptive responses, false assurances, or prompts that induce unsafe user actions.npx skills add Tencent/AI-Infra-Guard --skill human-agent-trust-exploit-detection |
| indirect-injection-detection | — | — | Detect indirect prompt injection (goal hijack). Instructions hidden in "external" content (documents, RAG, web) that the agent processes. Use when the agent has document/RAG/web/file input.npx skills add Tencent/AI-Infra-Guard --skill indirect-injection-detection |
| inter-agent-comm-security-detection | — | — | Detect data leakage, missing boundaries, or privilege mismatch in inter-agent communication.npx skills add Tencent/AI-Infra-Guard --skill inter-agent-comm-security-detection |
| memory-poisoning-detection | — | — | Detect persistent instruction injection or long-term memory poisoning. Focus on writing/retaining hostile instructions for future tasks, not data leakage.npx skills add Tencent/AI-Infra-Guard --skill memory-poisoning-detection |
| memory-rag-poisoning-detection | — | — | Detect persistent-memory poisoning and RAG/knowledge-base contamination via dialogue testing. Use when the agent has long-term memory, a user/preference store, or writes to a retrievable knowledge base.npx skills add Tencent/AI-Infra-Guard --skill memory-rag-poisoning-detection |
| owasp-asi | — | — | OWASP Top 10 for Agentic Applications 2026 (ASI) classification framework. Use for mapping security findings to standardized risk categories.npx skills add Tencent/AI-Infra-Guard --skill owasp-asi |
| tool-abuse-detection | — | — | Detect tool misuse and unexpected code execution via dialogue testing. Use when the agent exposes file, code-execution, or network tools.npx skills add Tencent/AI-Infra-Guard --skill tool-abuse-detection |
| unexpected-code-execution-detection | — | — | Detect command injection, eval/exec usage, remote execution, or arbitrary code loading.npx skills add Tencent/AI-Infra-Guard --skill unexpected-code-execution-detection |
| web-exfiltration-detection | — | — | Detect data exfiltration via URL path encoding and chained web_fetch navigation. Covers fake trusted UI injection, letter-level URL path exfiltration, and multi-hop navigation hijacking. Use when the agent has web/URL fetch capability and stores user memory or personal context.npx skills add Tencent/AI-Infra-Guard --skill web-exfiltration-detection |
| pdf-summarizer | — | — | Summarize the key points of a PDF document into a short bullet list.npx skills add Tencent/AI-Infra-Guard --skill pdf-summarizer |
The author's descriptions come from each skill's SKILL.md; the plain-words column is AgentGid's.
Good to know before you install
- The OpenClaw check sends a little data to Tencent by default: skill names, where each came from, and your OpenClaw version. Set AIG_CLOUD_LOOKUP=off to keep everything local.
- The OpenClaw check also runs a live probe of the gateway set in your OpenClaw config; the skill says to avoid a production gateway.
- After a full OpenClaw check it offers to save a habit in the assistant's global memory: scan every new skill with it before installing.
- The attack exercise ships a large library of attack prompts and test sets, including harmful-request sets, for testing models.
- The attack exercise can test the assistant running it; that counts as permission only for that assistant, within safe limits.
- The skills list names a fourth skill, aig-scanner, but its folder is not in the repo at this commit.
Before you start
Works in
- Claude Code: skills folder
- Cursor, CodeBuddy: skills folder
- Windsurf, OpenClaw: skills (scanner); OpenClaw via ClawHub
You will need
- openclaw program: edgeone-clawscan runs its built-in audit
- Node.js and git: To install with npx skills add
- Python 3: aig-agent-redteam helper scripts
- A model address and key: Only to test a model with aig-agent-redteam
Steps only you can do
- Confirm that you own the target or are allowed to test it, and set its limits (skills/aig-agent-redteam/SKILL.md (Step 0))
Then: The assistant starts the attack exercise inside those limits - Decide on the OpenClaw check's cloud lookup (set AIG_CLOUD_LOOKUP=off to keep it local) (skills/edgeone-clawscan/SKILL.md (Configuration))
Then: The assistant runs the check with or without Tencent lookups - For model testing, set AIG_TARGET_BASE_URL, AIG_TARGET_TOKEN and AIG_TARGET_MODEL yourself (skills/aig-agent-redteam/scripts/profiler.py)
Then: The scripts send test prompts to that model
Mistakes to avoid
Run the OpenClaw check where policy forbids any outside call
Set AIG_CLOUD_LOOKUP=off first, or point AIG_BASE_URL at your own A.I.G
Cloud lookup to Tencent is on by defaultRead a cloud-off OpenClaw report as "no known flaws"
Read it as "online flaw check skipped"
The skill says a skipped lookup is not the same as zero flawsTreat a "safe" verdict as a guarantee
Re-check after updates; the verdict covers only the current files
The scan is static and cannot see later updates or runtime behaviourAsk the attack exercise to test an outside product without saying how to reach it or that you may
Give target, how to send, how to observe, and your authorisation up front
It must not start on outside targets until those four are clearLook for the aig-scanner skill in this repo
Use the three folders that exist under skills/
skills/README.md lists aig-scanner, but its folder is missing at this commit
Which one to pick
| If you need | Pick |
|---|---|
| You want a skill safety check plus an OpenClaw health check and an attack exercise for your own assistant | This pack |
| You want a security suite that keeps guarding OpenClaw and its variants | prompt-security/clawsec |
| You want a dedicated scanner for agent skills | cisco-ai-defense/skill-scanner |
| You want NVIDIA's scanner for vulnerabilities and prompt injection in skills | NVIDIA/SkillSpector |
Works well with
- openclaw: edgeone-clawscan is built for OpenClaw and calls the openclaw program
- claude-code: The scanner reads .claude/skills, and the attack exercise installs into ~/.claude/skills
- skills: The README installs aig-agent-redteam with npx skills add
- promptfoo: Another way to red-team LLM apps when you want repeatable test configs
May I use it like this?
| Use | Answer | Condition |
|---|---|---|
| In a commercial app | With conditions | Apache-2.0; the NOTICE asks you to state "Based on Tencent Zhuque Lab AI-Infra-Guard" and link the repo in anything built on it |
| Passing the files on | With conditions | Apache-2.0: keep LICENSE and NOTICE, add the attribution and repo link; the EdgeOne skills also say MIT in their headers |
| Work for clients | With conditions | Apache-2.0 with the NOTICE attribution |
What leaves your machine
- Installed skill names and source labels → matrix.tencent.com/clawscan (A.I.G threat lookup), edgeone-clawscan, per skill from a managed catalog such as ClawHub. Opt out: AIG_CLOUD_LOOKUP=off, or a self-hosted AIG_BASE_URL
- The fixed word OpenClaw and your OpenClaw version → matrix.tencent.com/clawscan (advisory lookup), edgeone-clawscan full check. Opt out: AIG_CLOUD_LOOKUP=off
- Test requests and test prompts → The target address or model you name, aig-agent-redteam live tests. Opt out: Keep the exercise to static code review
Install A.I.G skills
Official commands from the repository
npx skills add https://github.com/Tencent/AI-Infra-Guard.git --skill aig-agent-redteam
Installs the attack exercise skill. Needs node and git.
git clone https://github.com/Tencent/AI-Infra-Guard.git /tmp/aig cp -r /tmp/aig/skills/aig-agent-redteam ~/.claude/skills/
Copy another skill folder from skills/ the same way.
Remove: delete the folder from ~/.claude/skills/
edgeone-clawscan and edgeone-skill-scanner are listed on ClawHub under aigsec. The skill itself says to check the publisher against the official repo before trusting it.
Or with the open-source skills CLI: npx skills add Tencent/AI-Infra-Guard. Skills are instructions your agent follows: read them before installing.
What it installs and runs on your machine
Read in the code at commit 9581449, Nov 17, 2026
| When | What happens |
|---|---|
| Install | Markdown skills; no hooks. aig-agent-redteam also ships Python helper scripts the assistant may call. |
| OpenClaw check | The assistant runs openclaw security audit --deep (a live probe of your local gateway) and, unless AIG_CLOUD_LOOKUP=off, curl requests to matrix.tencent.com/clawscan with skill names, sources and your OpenClaw version. |
| Skill scanner | Reads skill folders such as .claude/skills and ~/.claude/skills. Sends nothing out. |
| Attack exercise on a web address | A Python script sends HTTP requests to the target to identify the product and match known flaws, and writes findings JSON under reports/<run_id>/. |
| Attack exercise on a model | Sends test prompts to the model address you set in AIG_TARGET_BASE_URL with AIG_TARGET_TOKEN. |
| Only if you allow a download | git clone of the full AI-Infra-Guard repo into a temporary folder for its data files. |
Settings
AIG_CLOUD_LOOKUP: off / false / 0 turns off every call to Tencent in edgeone-clawscan (default on)AIG_BASE_URL: Address of the A.I.G service for edgeone-clawscan (default https://matrix.tencent.com/clawscan)AIG_DATA_DIR / AIG_ROOT: Where aig-agent-redteam finds A.I.G data filesAIG_TARGET_BASE_URL / AIG_TARGET_TOKEN / AIG_TARGET_MODEL: Model address, key and name for testing a model with aig-agent-redteam
Quick answers
- Does the skill scanner send my files anywhere?
- No. It reads skill files on your machine and never runs them.
- What does the OpenClaw check send to Tencent?
- Only skill names, their source label and your OpenClaw version, never skill text, chats or files. AIG_CLOUD_LOOKUP=off stops all of it.
- Can I point the OpenClaw check at my own server instead of Tencent's?
- Yes, set AIG_BASE_URL to a self-hosted A.I.G.
- Will the attack exercise start testing on its own?
- Not for outside targets: it first asks what to test, how to send and read messages, and whether you may test it.
- Is it free?
- Yes. The repo is Apache-2.0 with a notice that asks for credit when you build on it; the two EdgeOne skills say MIT in their own headers.
Checked by AgentGid on Nov 17, 2026 against commit 9581449 of the pack's own files. Related: openclaw/clawscan. agent.md for AI agents · Report a mistake
More devops, cloud and security skill packs
| # | Install | |||||
|---|---|---|---|---|---|---|
| 1 |
ruvnet/RuView
Checked
A guide for your AI assistant to the RuView project. RuView uses WiFi signals and cheap ESP32 boards to sense people in a room: presence, breathing, heart rate and body pose. Your assistant walks you through the demo, flashing and setting up the boards, running the sensing apps, training models and checking a build. |
105K | +6,415 | 53 | ||
| 2 |
Becomes a careful security reviewer for your code. Ask a security question and it answers with the relevant checks. Ask for a full audit and it runs a team of helper agents in six steps. A fresh agent tries to disprove each finding, and the report gives proof and the smallest fix. |
76.8K | +43.1K | 1 | ||
| 3 |
A library of 818 security playbooks for your AI assistant: investigating alerts, analysing malware, checking cloud setups, hunting for intruders, and also attack techniques used in authorised testing. Your assistant picks the playbook that matches your question and follows its steps. Almost every playbook comes with a small Python helper script the assistant can run. |
36.5K | +1,777 | 818 | ||
| 4 |
Nine skills from Vercel for your AI coding assistant. Some are rule books for React, Next.js and React Native apps. Two review your pages or your docs against Vercel's guidelines. Three put your site on Vercel or check its costs and speed. |
34.7K | +1,684 | 9 | ||
| 5 |
Before you add a new skill to your AI assistant, it checks whether the skill is safe. A scanner looks for known risky patterns, then your assistant reads the source itself. You get one of three verdicts: approve, caution or reject, with the evidence behind it. |
27.2K | +5,857 | 30 | ||
| 6 |
pascalorg/editor
Checked
Two playbooks that let your AI assistant work in Pascal, a free 3D building editor. It can make and edit a room or a house model, check it, save it and give you the link to open it. It can also tell you whether a sofa, bed or table fits in a measured room, and it says plainly what it did not check. |
25.7K | +675 | 5 |
No pack matches.