mingyiseclab/mingyi-atlas/prompt-injection
Claude Code and agent skill by mingyiseclab/mingyi-atlas
- community
Checking that the SKILL.md file is still in the repository.
Hunt LLM prompt injection and tool-call hijacking in modern AI-integrated applications (CWE-1427). Covers indirect injection via RAG, tool abuse, exfiltration chains, and jailbreak-to-RCE pivots on agentic systems.
Install
npx vskill@latest install mingyiseclab/mingyi-atlas/prompt-injectionSKILL.md
The same SKILL.md was published earlier as mingyiseclab/mingyi-atlas/prompt-injection.
Prompt Injection Playbook
Every product shipping an LLM interface in 2026 has this surface. The bug bounty payouts are high because nobody has a clean defense, and the chain impact is unbounded (prompt injection → tool call → exfil → RCE in the agent's sandbox).
1. Target inventory — what counts as an LLM application
- Chatbots with document upload / RAG
- IDE copilots and code-review bots
- Email assistants (classic indirect-injection vector)
- Browser agents / AI-powered scraping tools
- Customer support bots with CRM tool access
- Agentic frameworks (LangChain, CrewAI, Semantic Kernel) running tools
- CI/CD bots that read PR descriptions into a prompt
- Internal "chat with your data" dashboards
2. Injection vectors
Direct
User-controlled chat input reaches the system prompt (or overrides it through role-play: "Ignore previous instructions and...").
Indirect (the real money)
Attacker-controlled content flows through a document the LLM later ingests:
- PDF upload parsed by the LLM
- Email body summarised by an assistant
- Webpage scraped by a browser agent
- Git diff read by a code-review bot
- Slack message that a bot reads on trigger
- RAG corpus poisoning (add a malicious document to the search index)
Tool-description injection
If tools are registered dynamically (plugin marketplace), a malicious plugin can supply a tool description that tricks the model into calling it.
3. Audit workflow
For each tool definition, ask:
- Does the tool perform filesystem / network / shell / DB operations?
- What happens if the LLM calls it with attacker-chosen arguments?
- Is there a human-in-the-loop confirmation?
4. Exploitation goals (rank by impact)
| Goal | Impact | Indicator | |
|---|---|---|---|
| Exfiltrate system prompt | Low | Reflected prompt in output | |
| Exfiltrate chat history / memory | Medium | Leaks other users' messages | |
| Force tool call with attacker args | High | Side effect visible (file written, etc) | |
| Persistence via memory poisoning | High | Persists across sessions | |
| Pivot to sandbox RCE | Critical | Shell output in response | |
| Exfil internal data to attacker URL | Critical | DNS callback from LLM tool call |
5. PoC payloads
Indirect exfil via HTML comment in uploaded doc
RAG poisoning
Tool-call hijack
Markdown image exfil (browser agents)
Cross-plugin request forgery (ChatGPT-plugin-style)
6. validate_finding contract
- success_patterns:
sk-[A-Za-z0-9]{20,}(API key),BEGIN (PRIVATE|RSA), DNS callback log entry, attacker mailbox hit, base64 of system prompt, tool invocation log - negative_command: same flow without the injection (benign prompt)
- negative_patterns:
I cannot help with that, same response shape minus secrets
7. Default CVSS
| Variant | Vector | Score | |
|---|---|---|---|
| System prompt extraction only | AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | 5.3 | |
| Indirect injection → cross-user data | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N | 7.1 | |
| Tool abuse leading to data modification | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | 9.1 | |
| Sandbox RCE via agentic tool chain | AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | 10.0 |
8. Chain promotion
Prompt injection is the emerging chain starter. Typical chains:
- Indirect injection via uploaded PDF → tool call to fetch internal URL
→ SSRF to metadata → cloud takeover.
- RAG poisoning → persistent backdoor → future users exfil'd.
- Plugin injection → arbitrary tool call → exec tool → RCE.
Add enables edges from the prompt_injection vuln to every tool the agent has access to (weight 0.4 — just say it out loud).
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 repositoryCheckingsrc/skills/standard/analyst/prompt-injection/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (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/mingyiseclab/mingyi-atlas/prompt-injection)