Навык ghost-proxy
✓ ПровереноПерехватывайте, изучайте, ищите и воспроизводите HTTP/HTTPS-трафик с помощью CLI-прокси типа man-in-the-middle для тестирования безопасности.
- Звёзды на GitHub
- 441
- Файлы
- 1
- Последний коммит
- 28 сент. 2026 г.
- Лицензия
- apache-2.0
- Разрешённые инструменты
- —
Что делает навык ghost-proxy?
ghost-proxy — это Agent Skill. Перехватывайте, изучайте, ищите и воспроизводите HTTP/HTTPS-трафик с помощью CLI-прокси типа man-in-the-middle для тестирования безопасности.
Сводка сгенерирована из SKILL.md навыка.
О skill ghost-proxy
Исследователи безопасности и разработчики могут перехватывать и анализировать веб-трафик, используя этот инструмент для управления MITM-прокси reaper. Он представляет собой интерфейс командной строки для захвата HTTP и HTTPS-соединений между клиентами и серверами, что делает его идеальным для тестирования безопасности приложений. Агенту следует загрузить этот SKILL при получении задач на запуск прокси, перехват запросов или изучение захваченного трафика для проверки результатов тестирования безопасности.
Этот SKILL предоставляет специальные команды для управления демоном прокси, такие как запуск с ограничением по домену или хосту, чтобы гарантировать логирование только релевантного трафика. Пользователи могут искать записи в захваченном трафике, используя такие фильтры, как HTTP-метод, путь, код состояния или хост. После захвата трафика инструмент позволяет изучать полные необработанные HTTP-записи, включая заголовки и тела запросов, с помощью команд вроде reaper get, reaper req или reaper res. Все захваченные данные сохраняются в локальной базе данных SQLite для последующего анализа.
Что агент может делать с ним
- 1Перехват трафика конкретного доменаЗапустите прокси, который захватывает запросы только для определенного домена и его поддоменов.
- 2Поиск конкретных HTTP-запросовНайдите все POST-запросы, отправленные на определенный путь API в захваченных логах.
- 3Мониторинг недавней сетевой активностиПросматривайте список последних захваченных записей запросов и ответов.
Написано на основе skill SKILL.md. Каждый сценарий использования проверен по цитате из него.
Как установить навык ghost-proxy
Каждая команда копирует папку навыка в каталог навыков клиента. Перезапустите клиент или начните новую сессию, чтобы загрузить его.Установка навыка ghost-proxy в Плагин
/plugin marketplace add ghostsecurity/skills /plugin install ghost@ghost-security
Установка навыка ghost-proxy в Claude Code
~/.claude/skills/ghost-proxy/SKILL.md
$ npx degit ghostsecurity/skills/plugins/ghost/skills/proxy ~/.claude/skills/ghost-proxyУстановка навыка ghost-proxy в Claude Code (project)
.claude/skills/ghost-proxy/SKILL.md
$ npx degit ghostsecurity/skills/plugins/ghost/skills/proxy .claude/skills/ghost-proxyУстановка навыка ghost-proxy в Codex
~/.agents/skills/ghost-proxy/SKILL.md
$ npx degit ghostsecurity/skills/plugins/ghost/skills/proxy ~/.agents/skills/ghost-proxyУстановка навыка ghost-proxy в Gemini CLI
~/.gemini/skills/ghost-proxy/SKILL.md
$ npx degit ghostsecurity/skills/plugins/ghost/skills/proxy ~/.gemini/skills/ghost-proxyУстановка навыка ghost-proxy в Claude.ai
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
Автоматические проверки
Запущено 14 нояб. 2026 г.Полный отчёт →Прошёл наши автоматические проверки. Это не аудит безопасности: прочитайте скрипты, прежде чем агент их запустит. Как работают проверки · Что исправить, чтобы получить больше баллов
- Связанный и доступный исходный репозиторийghostsecurity/skills/plugins/ghost/skills/proxy is public and reachablegithub.com/ghostsecurity/skills/tree/HEAD/plugins/ghost/skil ↗Пройдено
- Open source лицензия (OSI)apache-2.0spdx.org/licenses/apache-2.0.html ↗Пройдено
- Коммит или релиз за последний годLast commit 2026-09-28github.com/ghostsecurity/skills/commits ↗Пройдено
- В скриптах нет загрузки с запуском и кражи учётных данныхNo scripts in the skill folderПройдено
- В SKILL.md нет скрытых инструкцийNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/ghostsecurity/skills/blob/HEAD/plugins/ghost/skil ↗Пройдено
- Заранее разрешённые инструменты ограниченыNo pre-approved tools; the agent asks before using onegithub.com/ghostsecurity/skills/blob/HEAD/plugins/ghost/skil ↗Пройдено
- SKILL.md соответствует формату Agent Skillsname "ghost-proxy" differs from the folder "proxy"github.com/ghostsecurity/skills/blob/HEAD/plugins/ghost/skil ↗Проблема
SKILL.md
Открыть на GitHubReaper 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.
Файлы в этом навыке
1Вопросы о навыке ghost-proxy
Как установить навык ghost-proxy в Claude Code?
Выполните npx degit ghostsecurity/skills/plugins/ghost/skills/proxy ~/.claude/skills/ghost-proxy. Claude Code загружает навыки из ~/.claude/skills (все проекты) или .claude/skills (один проект) и использует навык, когда его описание соответствует задаче.
Какие клиенты могут использовать навык ghost-proxy?
Любой клиент, который читает формат Agent Skills: Claude Code, Codex, Gemini CLI и claude.ai (загрузить как ZIP). Скрипты в навыке выполняются только там, где клиент разрешает выполнение кода.
Как запустить прокси для конкретного домена?
Вы можете запустить прокси с привязкой к домену, используя команду reaper start --domains example.com.
Как найти конкретный перехваченный трафик?
Вы можете искать трафик с помощью различных фильтров, таких как метод, хост, суффикс домена, путь или код состояния, через команду reaper search.
Где хранятся данные перехваченного трафика?
Все данные хранятся в директории ~/.ghost/reaper/, а именно в базе данных SQLite под названием reaper.db.
Нужно ли менять настройки клиента для использования прокси?
Да, вам необходимо настроить ваш HTTP-клиент на использование адреса прокси, который по умолчанию — localhost:8443. Также может потребоваться отключить проверку SSL, так как прокси использует собственный CA-сертификат.