MindJack
Description
MindJack. Get into the mind of AI agents. Read their memories. Rewrite their instructions. Security toolkit that extracts conversation history and demonstrates prompt injection across 10 AI coding assistants, 56 attack scenarios, zero dependencies.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
MindJack
Get into the mind of AI agents. Read their memories. Rewrite their instructions.
Security research toolkit for auditing the local attack surface of AI coding assistants.
**Zero dependencies, Python 3.10+ standard library only.**
extractor.py- Extract conversation history from 10 AI toolsinjector.py- Scan injection surfaces, demonstrate 56 attack scenariosmindjack report- Generate interactive HTML attack graph with OWASP compliance mapping
**Disclaimer:** For authorized security testing, red teaming, CTF challenges, and AI safety research only. Always obtain proper authorization before testing on systems you don't own.
Supported Tools
| Tool | Extractor | Injector | Key Attack Surface |
|---|---|---|---|
| Claude Code | history, sessions, memories | rules, settings, hooks, MCP, memory | CLAUDE.md, settings.json, hooks (RCE) |
| OpenAI Codex CLI | history, rollout sessions | AGENTS.md, config.toml | sandbox_mode: danger-full-access |
| GitHub Copilot | chat sessions | copilot-instructions.md | .github/copilot-instructions.md |
| Cursor IDE | state.vscdb chat data | .cursorrules, MCP config | CVE-2025-54135 (MCP RCE) |
| Aider | chat history markdown | config.yml, CONVENTIONS.md | auto-commits, model override |
| Continue.dev | session JSON | config.yaml, rules, .continuerc.json | config.ts (arbitrary code exec) |
| Cline / Roo Code | task conversations | .clinerules, .roo/rules/, memory-bank | Persistent memory bank poisoning |
| Amazon Q | chat history JSON | .amazonq/rules/, MCP config | MCP server injection |
| Windsurf/Codeium | cascade, memories | .windsurfrules, global_rules.md | Auto-generated memory poisoning |
Quick Start
git clone https://github.com/7h30th3r0n3/MindJack.git
cd MindJack
# Extract all conversations
python3 extractor.py
# Scan for injection surfaces
python3 injector.py scan
# List a
Related Skills
Fastapi Review
Review a FastAPI application for architecture, async correctness, dependency injection, Pydantic schemas, secu
Security Defense in Depth
Implement multi-layered testing and security best practices.
Security SecLists Official Repository
[OWASP Testing Guide](https://owasp.org/www-project-web-security-testing-guide/)
Security Threat Hunting with Sigma Rules
Use Sigma detection rules to hunt for threats and analyze security events
Security Maintenance Walkthrough - 2026-03-29
- Re-triaged the full 2026-03-15 security finding set against current `main` and wrote a fresh current-head re
Security Google Workspace Model Armor
Filter user-generated content for safety
Security Related Agents
Django Reviewer
Expert Django code reviewer specializing in ORM correctness, DRF patterns, migration safety, security misconfi
Token Auditor
Scans ui/src/ for hardcoded visual values, duplicate components, and shadcn replacement candidates; produces d
Gitnexus Security Boundary Reviewer
GitNexus security and trust-boundary reviewer. Use for auth, permissions, secrets, injection, unsafe parsing,