Individual skill

aig-agent-redteam

当用户要求 AI/Agent 安全评估、蓝军演习、AI 安全审查、提示词注入测试、MCP/Skill/插件/代码包审计、Agent 工具链滥用测试,或需要生成类似渗透测试报告的 Markdown/HTML 时,必须使用本 skill。本 skill 让 Agent 以授权蓝军视角成为 AI 安全专家,面向 AI 产品、Agent、MCP Server、Skill、代码仓库和 AI 基础设施进行安全演习。优先使用第一性原理推理和真实证据,而不是机械跑 payload 库;脚本只用于 HTTP 指纹识别、证据聚合、报告渲染等确定性辅助任务。

skills/aig-agent-redteam/SKILL.md

Read pinned source

Source commit 76146bf479b2fedb34f7acb7f536aa37b1f8ba74

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
No
Observed behavior
Network or broad shell
Last checked
Nov 9, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
7,453
Repository last updated
Nov 10, 2026
License
Apache-2.0

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Declared tags are partial or unavailable.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# AIG Agent 蓝军安全演习

本 skill 指导 Agent 对 AI 产品、Agent、MCP Server、Skill、代码与 AI 基础设施执行授权安全演习。核心方法是第一性原理蓝军测试:先建模目标能力和信任边界,再提出攻击假设,用最小无害验证确认风险,根据真实反馈自适应变异,最后生成带证据链的类渗透测试报告。

少用脚本。Agent 自身负责安全推理、攻击链构造、变异、复核、评级和报告;脚本只是确定性辅助,不是安全判断来源。

## 操作原则

1. **授权优先**:确认用户拥有目标或被授权测试,所有动作必须在约定范围内。
2. **第一性原理优先于 payload 库**:不要一开始盲跑固定 prompt。先问:目标能访问什么?攻击者能控制什么输入?哪条边界可能被跨越?什么可观察影响能证明风险?
3. **无害证明,真实证据**:优先使用 canary、临时文件、本地 mock endpoint 和 marker 字符串。只要 marker 能证明同一边界失败,就不要读取、外传、修改或发布真实秘密。
4. **Agent 自主变异**:测试被拒绝时,根据响应推断原因,一次只改变一个变量:角色框架、输入载体、来源信任、任务叙事、工具路径或数据目标。
5. **先证据,后结论**:每个 finding 都需要具体证据。静态疑点必须经过可达性和影响分析才能成为 finding;动态 finding 必须有真实对话、请求/响应或工具 trace。
6. **用业务语言表达风险**:说明出了什么问题、影响什么业务资产、可能造成什么后果、如何修复。
Back to top