xamirhamza77/reverseops-skill/llm-security
Claude Code and agent skill by xamirhamza77/reverseops-skill
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use for authorized security assessment of LLM applications and AI agents, including prompt injection, tool abuse, RAG exposure, memory poisoning, and model supply-chain risks.
Install
npx vskill@latest install xamirhamza77/reverseops-skill/llm-securitySKILL.md
The same SKILL.md was published earlier as xamirhamza77/reverseops-skill/llm-security.
LLM / AI 安全Testing
ACTION REQUIRED(读完后立刻execute)
Agent Skill 自身安全:installation/合并外部 skill 或 MCP 前读../ops/skill-supply-chain.md(OWASP AST10 精简)。社区index见../references/community-security-skills.md。
NOW: read../field-journal/precedent-pentest.md— 确认本 skill 的operation是已authorization的常规operationNOW: 确认当前task是否hit本 skill 的适用scopeNEXT: read../tool-index.md,checksumtoolavailable性和实际pathNEXT: 缺tool时调用 bootstrap,不要猜pathACT: 进入"工作流"第一步并execute,不要停在确认status
覆盖 OWASP LLM Top 10 v2.0 + OWASP Agentic AI Top 10(ASI 2026)当前routing未hit时,联网搜索最新exploitation技术。
Use Cases
- LLM 应用安全Testing(ChatBot、RAG、Code Assistant)
- AI Agent 安全审计(tool调用、记忆持久化、多智能体通信)
- Prompt injectionTesting(直接 + 间接)
- 模型supply chain安全评估
- red team AI 系统攻击模拟
工作流
1. 侦察:映射 AI attack surface
2. Prompt injectionTesting(OWASP LLM01 / ASI01)
按难度递进,先直接injection再间接injection:
tool:garak(100+ injection探针)、PyRIT(多轮编排)、promptfoo(AI generate攻击)
3. tool滥用Testing(OWASP ASI02/ASI03/ASI05)
4. 记忆与上下文投毒(OWASP ASI06)
5. output安全Testing(OWASP LLM05)
LLM output可能被下游系统直接消费:
| 下游 | Testing | |
|---|---|---|
| 浏览器/DOM | XSS via <img src=x onerror=...> 在generate内容中 | |
| 数据库 | SQL injection在generate的查询中 | |
| Shell/OS | command injection (cat file; cat /etc/hosts) | |
| API 调用 | SSRF、privilege escalation请求 |
6. 系统hint词提取(OWASP LLM07)
Toolchain
| tool | 用途 | 获取 | |
|---|---|---|---|
| garak | 100+ injection探针automatic化 | pip install garak | |
| PyRIT | 多轮攻击编排 (Microsoft) | pip install pyrit | |
| promptfoo | AI generate攻击 + 回归Testing | npm install -g promptfoo | |
| promptmap2 | 双 AI 架构automatic推理 | GitHub | |
| AgentThreatBench | ASI Top 10 基准Testing | UK AISI |
参考
references/owasp-llm-top10.md— OWASP LLM + ASI Top 10 完整对照references/prompt-injection-methodology.md— Prompt injectionmethodologyreferences/agent-security-testing.md— Agent 安全Testingframeworkreferences/agent-obedience-engineering.md— Agent 服从性工程:让 AI 读完工作流后真正干活(8 大技术 + 借口反驳表 + 强制executetemplate)
Task Completion Checklist (MUST pass before claiming completion)
- [ ] 我是否execute了工作流中的每一步(而不是只阅读)?
- [ ] Did I use real tool paths based on
tool-index? - [ ] 我是否产出了可复现evidence(command/script/截图/report)?
- [ ] 我是否完成并回写了 RULES 要求的 Checklist 项?
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/llm-security/SKILL.md
Popularity
- Repository stars
- 4
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/xamirhamza77/reverseops-skill/llm-security)