# AI LLM App Attack

AI/LLM应用攻击:提示注入,Agent工具滥用RCE,RAG投毒,MCP供应链,torch.load pickle RCE。Use when testing LLM...

- Repository: https://github.com/AIPentest/CyberStrikeAI (8302 stars)
- Category: Testing
- License: Apache-2.0
- Last updated: 2026-10-31
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add AIPentest/CyberStrikeAI --skill ai-llm-app-attack -g -a claude-code -y`
Codex: `npx skills add AIPentest/CyberStrikeAI --skill ai-llm-app-attack -g -a codex -y`
Cursor: `npx skills add AIPentest/CyberStrikeAI --skill ai-llm-app-attack -g -a cursor -y`
Gemini CLI: `npx skills add AIPentest/CyberStrikeAI --skill ai-llm-app-attack -g -a gemini-cli -y`

## Description

AI/LLM应用攻击:提示注入,Agent工具滥用RCE,RAG投毒,MCP供应链,torch.load pickle RCE。Use when testing LLM apps, agents, RAG, MCP plugins, or AI model file risks.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

## AI / LLM 应用攻击

```
=== AI/LLM应用(大模型应用爆发期真实攻击面) ===
提示注入: 直接(忽略上文输出system prompt) | 间接(更危险):指令藏RAG文档/网页/邮件/工具返回值/图片EXIF → 劫持Agent
🚨Agent工具滥用(最高危,直达RCE): code interpreter→注入执行 | fetch工具→SSRF内网/云元数据 | 文件工具→读/etc/passwd写webshell
  | SQL工具→导全表 | shell工具→命令注入 → 验证:实际触发工具副作用(OOB回连/读到文件)才写Fact
系统提示泄露/RAG投毒/过度授权跨租户越权/MCP插件供应链/资源成本攻击(烧token) | 输出处理:LLM输出进eval/SQL/前端→二次注入/存储XSS
模型文件: torch.load默认pickle→RCE | 发现端点:抓流量找/chat /agent /tool,问Agent"你有哪些工具"
```

