К основному содержанию
скилл CX Codex

ghost-validate — скилл для Claude Code: что делает и как установить

Проверяет отчёты сканеров безопасности и отделяет ложные срабатывания от реальных уязвимостей. Анализирует код, проверяет маршруты и при доступности тестирует эндпоинты.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add ghostsecurity/skills --skill ghost-validate -a claude-code
npx skills add ghostsecurity/skills --skill validate -a claude-code
Открыть на GitHub

Что делает ghost-validate

Скилл разбирает найденную проблему по переданному файлу или тексту описания. Он определяет класс уязвимости (BFLA, BOLA, XSS, SQLi или SSRF), читает исходный код на указанной строке и отслеживает путь запроса от регистрации маршрута через middleware к обработчику. Агент выясняет, действительно ли отсутствует нужная проверка прав или санитизация.

Для живого приложения скилл может подключить прокси через proxy и запустить reaper для отправки тестовых запросов. По итогам проверки формируется статус: True Positive, False Positive или Inconclusive с уровнем уверенности и рекомендацией по исправлению. Для живого теста требуется доступность тестового контура приложения и утилита reaper.

Какие задачи решает

  • отличить ложные срабатывания сканера от реальных уязвимостей
  • проследить путь запроса от маршрута до обработчика
  • проверить наличие скрытых проверок в middleware или ORM
  • составить отчёт с вердиктом и рекомендацией по исправлению

Примеры запросов агенту

  • Проверь этот отчёт сканера: path/to/finding.md, это реальная уязвимость или ложное срабатывание?
  • Проверь эндпоинт /api/transfers на наличие BOLA по описанию из отчёта
  • Выполни валидацию уязвимости из отчёта и проверь логику владения ресурсом

Как установить ghost-validate

1Через Skills CLI (Vercel)

npx skills add ghostsecurity/skills --skill ghost-validate -a claude-code
npx skills add ghostsecurity/skills --skill validate -a claude-code

2Вручную: положить файлы

~/.claude/skills/validate/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/validate/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Из того же набора7

ghost-scan-code Ищет уязвимости в исходниках: SQL-инъекции, XSS, SSRF и другие категории OWASP. Планирует проверки, потом прогоняет их по проекту. CX Codex +1 5 200установок ghost-scan-secrets Ищет утёкшие API-ключи, токены и пароли в кодовой базе проекта. Пригодится перед коммитом или при аудите репозитория на скрытые секреты. CX Codex +1 4 400установок ghost-scan-deps Скилл запускает аудит зависимостей проекта по файлам блокировок, находит уязвимости с CVE и готовит отчёт с оценкой риска и шагами по исправлению. CX Codex +1 4 300установок ghost-repo-context Сканирует кодовую базу, находит проекты и записывает карту архитектуры в repo.md. Нужен перед анализом безопасности или знакомством с новым репозиторием. CX Codex +1 3 800установок ghost-report Собирает находки всех сканирующих скиллов Ghost Security в один отчёт по риску и уверенности. Пригодится перед релизом или аудитом. CX Codex +1 3 800установок ghost-exo Маршрутизирует запросы к платформе exo: создаёт цепочки агентов, улучшает их по прошлым запускам и находит сбои. CX Codex +1 947установок

Похожие

triage официальный anthropics Скилл проверяет находки сканеров, убирает дубли и ранжирует уязвимости по эксплуатационной сложности. Нужен для разбора файла или каталога с результатами. CX Codex +1 1 100установок finding-triage briiirussell Скилл разбирает отдельную уязвимость из отчёта сканера или аудита, оценивает её реальную опасность и оформляет решение для тикета. CX Codex +1 360установок code-auditor mhattingpete Разбирает проект по шести направлениям: архитектура, качество кода, безопасность, производительность, тесты и поддерживаемость. Пригодится, когда нужно понять, что в репозитории болит. CX Codex +1 333установок web-security-review OWASP Проверяет веб-приложения по рискам OWASP Top 10 (2021) и формирует отчёт с матрицей рисков. Пригодится при аудите серверного кода, веб-фреймворков и конфигураций. CX Codex +1 613установок security-bounty-hunter affaan-m Ищет удалённо достижимые уязвимости, которые подходят для bounty-отчёта. Нужен для проверки реального пути атаки, а не общего аудита. CX Codex +1 4 500установок mantis-dedupe официальный google Объединяет дублирующиеся отчёты об уязвимостях перед проверкой. Нужен после сбора сырых находок, когда несколько записей описывают одну проблему. CX Codex +1 1 500установок

Рядом в теме «Безопасность»

Всё по теме «Безопасность» →

Вопросы о ghost-validate

Как установить ghost-validate в Claude Code?

Выполните команду npx skills add ghostsecurity/skills --skill ghost-validate -a claude-code в терминале.

Что делает скилл ghost-validate?

Он разбирает отчёты об уязвимостях в кодовой базе, проверяет наличие защитных механизмов и выносит вердикт о подтверждении дефекта или ложном срабатывании.

Как выполняется живая проверка эндпоинтов?

Если сервис доступен для тестов, скилл запускает прокси reaper для целевого домена, повторяет запрос с изменёнными параметрами и фиксирует ответ сервера.

Исходный текст

SKILL.md · Apache-2.0
---
name: "ghost-validate"
description: This skill should be used when the user asks to "validate a finding", "check if a vulnerability is real", "triage a security finding", "confirm a vulnerability", "determine if a finding is a true positive or false positive", or provides a security finding for review. It validates security vulnerability findings by tracing data flows, verifying exploit conditions, analyzing security controls, and optionally testing attack vectors against a live application.
license: apache-2.0
metadata:
  version: 1.1.0
---

# Security Finding Validation

Determine whether a security finding is a true positive or false positive. Produce a determination with supporting evidence.

## Input

The user provides a finding as a file path or pasted text. If neither is provided, ask for one.

Extract: vulnerability class, specific claim, affected endpoint, code location, and any existing validation evidence.

## Validation Workflow

### Step 1: Understand the Finding

Identify:
- The vulnerability class (BFLA, BOLA, XSS, SQLi, SSRF, etc.)
- The specific claim being made (what authorization check is missing, what input is unsanitized, etc.)
- The affected endpoint and HTTP method
- The code location

### Step 2: Analyze the Source Code

1. Read the vulnerable file at the specified line number and all supporting files
2. Trace the request flow from route registration through middleware to the handler
3. Verify the specific claim — does the code actually lack the described check?
4. Look for indirect protections (middleware, helpers, ORM constraints) the scanner may have missed
5. Confirm the vulnerable code path is reachable under the described conditions

### Step 3: Live Validation (When Available)

If a live instance of the application is accessible and the vulnerability can be confirmed through live interaction, use the `proxy` skill to confirm exploitability:

1. Start reaper proxy scoped to the target domain
2. Authenticate (or have the user authenticate) as a legitimate user and capture a valid request to the vulnerable endpoint
3. Replay or modify the request to attempt the exploit described in the finding
4. Compare the response to expected behavior:
   - Does the unauthorized action succeed? (true positive)
   - Does the server reject it with 401/403/404? (false positive)
5. Capture the request/response pair as evidence using `reaper get <id>`

### Step 4: Make Determination

Classify the finding as one of:

- **True Positive**: The vulnerability exists and is exploitable. The code lacks the described protection and the endpoint is reachable.
- **True Positive (Confirmed)**: Same as above, plus live testing demonstrated successful exploitation.
- **False Positive**: The vulnerability does not exist. Provide the specific reason (indirect protection found, code path unreachable, etc.).
- **Inconclusive**: Cannot determine without additional information. Specify what is needed.

### Step 5: Report

Output a summary in the following format:

1. **Determination**: True Positive, False Positive, or Inconclusive
2. **Confidence**: High, Medium, or Low
3. **Evidence Summary**: Key findings from code review and/or live testing
4. **Code Analysis**: Specific lines and logic that support the determination
5. **Live Test Results** (if performed): Request/response pairs demonstrating the behavior
6. **Recommendation**: Fix if true positive, close if false positive, gather more info if inconclusive

Example:

```
## Validation Result
- **Determination**: True Positive
- **Confidence**: High
- **Evidence**: Handler at routes/transfers.go:142 queries transfers by ID without checking ownership. No middleware or ORM-level constraint enforces user scoping.
- **Recommendation**: Add ownership check — include user_id in the WHERE clause.
```

### Step 6: Persist Results

If the finding was provided as a file path, ask the user if they would like to append the validation details to the original finding file. If they agree, append a `## Validation` section to the file containing the determination, confidence, evidence summary, and recommendation.

## Vulnerability Class Reference

See `VULNERABILITY_PATTERNS.md` in this skill directory for patterns to look for when validating authorization flaws (BFLA/BOLA/IDOR), injection (SQLi/XSS), and authentication flaws.

© ghostsecurity · Apache-2.0 · ghostsecurity/skills

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой