ghost-proxy Skill
Erfasse, inspiziere, durchsuche und spiele HTTP/HTTPS-Traffic mit einem CLI-basierten Man-in-the-Middle-Proxy für Sicherheitstests nach.
- GitHub Stars
- 441
- Dateien
- 1
- Letzter Commit
- 28. Sept. 2026
- Lizenz
- apache-2.0
- Erlaubte Tools
- —
Was macht der ghost-proxy Skill?
ghost-proxy ist ein Agent Skill. Erfasse, inspiziere, durchsuche und spiele HTTP/HTTPS-Traffic mit einem CLI-basierten Man-in-the-Middle-Proxy für Sicherheitstests nach.
Zusammenfassung erzeugt aus der SKILL.md des Skills.
Über den ghost-proxy skill
Security Researcher und Entwickler können Web-Traffic abfangen und analysieren, indem sie dieses Tool zur Verwaltung des reaper MITM-Proxys nutzen. Es fungiert als Command-Line Interface zum Erfassen von HTTP- und HTTPS-Kommunikation zwischen Clients und Servern, was es ideal für Application Security Testing macht. Ein Agent sollte diesen Skill laden, wenn er damit beauftragt wird, einen Proxy zu starten, Requests abzufangen oder aufgezeichneten Traffic zu inspizieren, um Security-Ergebnisse zu validieren.
Der Skill bietet spezifische Commands zur Steuerung des Proxy-Daemons, wie zum Beispiel das Starten mit einer Beschränkung auf Domains oder Hosts, um sicherzustellen, dass nur relevanter Traffic geloggt wird. Nutzer können die aufgezeichneten Einträge mit Filtern wie HTTP-Method, Path, Status Code oder Host durchsuchen. Sobald der Traffic erfasst wurde, ermöglicht das Tool die Inspektion vollständiger, roher HTTP-Einträge inklusive Header und Body über Commands wie reaper get, reaper req oder reaper res. Alle aufgezeichneten Daten werden in einer lokalen SQLite-Datenbank für die spätere Analyse gespeichert.
Was ein agent damit machen kann
- 1Traffic einer spezifischen Domain abfangenStarte einen Proxy, der nur Requests für eine bestimmte Domain und deren Subdomains erfasst.
- 2Nach spezifischen HTTP-Requests suchenFinde alle POST-Requests, die an einen bestimmten API-Path innerhalb der aufgezeichneten Logs gesendet wurden.
- 3Aktuelle Netzwerkaktivitäten überwachenZeige eine Liste der zuletzt aufgezeichneten Request- und Response-Einträge an.
Geschrieben basierend auf dem SKILL.md des skills. Jeder use case wurde gegen ein zitat daraus geprüft.
So installierst du den ghost-proxy Skill
Jeder Befehl kopiert den Skill-Ordner in das Skills-Verzeichnis des Clients. Starte den Client neu oder beginne eine neue Session, um ihn zu laden.Den ghost-proxy Skill in Plugin installieren
/plugin marketplace add ghostsecurity/skills /plugin install ghost@ghost-security
Den ghost-proxy Skill in Claude Code installieren
~/.claude/skills/ghost-proxy/SKILL.md
$ npx degit ghostsecurity/skills/plugins/ghost/skills/proxy ~/.claude/skills/ghost-proxyDen ghost-proxy Skill in Claude Code (project) installieren
.claude/skills/ghost-proxy/SKILL.md
$ npx degit ghostsecurity/skills/plugins/ghost/skills/proxy .claude/skills/ghost-proxyDen ghost-proxy Skill in Codex installieren
~/.agents/skills/ghost-proxy/SKILL.md
$ npx degit ghostsecurity/skills/plugins/ghost/skills/proxy ~/.agents/skills/ghost-proxyDen ghost-proxy Skill in Gemini CLI installieren
~/.gemini/skills/ghost-proxy/SKILL.md
$ npx degit ghostsecurity/skills/plugins/ghost/skills/proxy ~/.gemini/skills/ghost-proxyDen ghost-proxy Skill in Claude.ai installieren
npx degit ghostsecurity/skills/plugins/ghost/skills/proxy ghost-proxy && zip -r ghost-proxy.zip ghost-proxy # claude.ai → Customize → Skills → + → Create skill → Upload a skill → ghost-proxy.zip
SKILL.md
Auf GitHub ansehenReaper MITM Proxy
Reaper is a CLI-based MITM HTTPS proxy for application security testing. It intercepts, logs, and allows inspection of HTTP/HTTPS traffic flowing through it. Use it to capture live request/response pairs for security validation.
Prerequisites
Before using any reaper command, make sure the latest version of the binary is installed:
curl -sfL https://raw.githubusercontent.com/ghostsecurity/reaper/main/scripts/install.sh | bash
All reaper commands in this document should be invoked as ~/.ghost/bin/reaper unless ~/.ghost/bin is on PATH.
Quick Reference
| Command | Purpose |
|---|---|
reaper start --domains example.com |
Start proxy (foreground) |
reaper start --domains example.com -d |
Start proxy (daemon) |
reaper logs |
Show recent captured entries |
reaper search --method POST --path /api/* |
Search captured traffic |
reaper get <id> |
Show full request + response |
reaper req <id> |
Show raw HTTP request only |
reaper res <id> |
Show raw HTTP response only |
reaper stop |
Stop the daemon |
Starting the Proxy
Start reaper scoped to the target domain(s). At least one --domains or --hosts flag is required.
# Intercept all traffic to example.com and its subdomains
reaper start --domains example.com
# Multiple domains
reaper start --domains example.com,api.internal.co
# Exact hostname matching
reaper start --hosts api.example.com
# Both domain suffix and exact host matching
reaper start --domains example.com --hosts special.internal.co
# Custom port (default: 8443)
reaper start --domains example.com --port 9090
# Run as background daemon
reaper start --domains example.com -d
Scope behavior:
--domains: Suffix match.example.commatchesexample.com,api.example.com,sub.api.example.com--hosts: Exact match.api.example.commatches onlyapi.example.com- Traffic outside scope passes through transparently without logging
Routing Traffic Through the Proxy
Configure the HTTP client to use the proxy. The default listen address is localhost:8443.
# curl
curl -x http://localhost:8443 -k https://api.example.com/endpoint
# Environment variables (works with many tools)
export http_proxy=http://localhost:8443
export https_proxy=http://localhost:8443
# Python requests
import requests
requests.get("https://api.example.com/endpoint",
proxies={"http": "http://localhost:8443", "https": "http://localhost:8443"},
verify=False)
The -k / verify=False flag is needed because reaper generates its own CA certificate at startup for MITM TLS interception.
Viewing Captured Traffic
Recent Entries
# Show last 50 entries (default)
reaper logs
# Show last 200 entries
reaper logs -n 200
Output columns: ID, METHOD, HOST, PATH, STATUS, MS, REQ (request body size), RES (response body size).
Searching
# By HTTP method
reaper search --method POST
# By host (supports * wildcard)
reaper search --host *.api.example.com
# By domain suffix
reaper search --domains example.com
# By path prefix (supports * wildcard)
reaper search --path /api/v3/transfer
# By status code
reaper search --status 200
# Combined filters
reaper search --method POST --path /api/v3/* --status 200 -n 50
Inspecting Individual Entries
# Full request and response (raw HTTP)
reaper get 42
# Request only
reaper req 42
# Response only
reaper res 42
Output is raw HTTP/1.1 format including headers and body, suitable for analysis or replay.
Stopping the Proxy
reaper stop
Common Workflows
Validate a Security Finding
When used with the validate skill (may need to collaborate with the user to setup the test environment):
- Start reaper scoped to the application domain
- Verify traffic is being captured by running
reaper logs— at least one entry should appear after routing a test request through the proxy - If no entries appear, verify proxy settings and domain scope match the target
- Authenticate (or ask the user to authenticate) as a normal user and exercise the vulnerable endpoint legitimately
- Search for the captured request to understand the expected request format
- Craft and send a malicious request that exercises the exploit described in the finding
- Inspect the response to determine if the exploit succeeded
- Use
reaper get <id>to capture the full request/response as evidence
Data Storage
All data is stored in ~/.ghost/reaper/:
reaper.db- SQLite database with captured entriesreaper.sock- Unix socket for CLI-to-daemon IPCreaper.pid- Daemon process ID
The CA certificate is generated fresh in memory on each start and is not persisted.
Dateien in diesem Skill
1ghost-proxy Skill-Fragen
Wie installiere ich den ghost-proxy Skill in Claude Code?
Führe npx degit ghostsecurity/skills/plugins/ghost/skills/proxy ~/.claude/skills/ghost-proxy aus. Claude Code lädt Skills aus ~/.claude/skills (alle Projekte) oder .claude/skills (ein Projekt) und nutzt einen Skill, wenn seine Beschreibung zur Aufgabe passt.
Welche Clients können den ghost-proxy Skill nutzen?
Jeder Client, der das Agent Skills-Format liest: Claude Code, Codex, Gemini CLI und claude.ai (als ZIP hochladen). Skripte im Skill laufen nur dort, wo der Client Codeausführung erlaubt.
Wie starte ich den Proxy für eine bestimmte Domain?
Du kannst den Proxy mit einer Beschränkung auf eine Domain über den Befehl reaper start --domains example.com starten.
Wie kann ich nach spezifischem aufgezeichnetem Traffic suchen?
Du kannst den Traffic über den Befehl reaper search mit verschiedenen Filtern wie Method, Host, Domain-Suffix, Path oder Status Code durchsuchen.
Wo werden die aufgezeichneten Traffic-Daten gespeichert?
Alle Daten werden im Verzeichnis ~/.ghost/reaper/ gespeichert, konkret in einer SQLite-Datenbank namens reaper.db.
Muss ich meine Client-Einstellungen ändern, um den Proxy zu nutzen?
Ja, du musst deinen HTTP-Client so konfigurieren, dass er die Proxy-Adresse nutzt (standardmäßig localhost:8443). Zudem musst du eventuell die SSL-Verifizierung deaktivieren, da der Proxy sein eigenes CA-Zertifikat verwendet.