web-app-attack-chain — скилл для Claude Code: анализ атак
Скилл web-app-attack-chain для Claude Code восстанавливает цепочку атаки по журналам запросов. Он выделяет успешные действия внутри приложения и перечисляет, что должен отменить человек.
Apache-2.0 ★ 71 обновлён 2026-11-15
npx skills add Problem99-io/kodeblue --skill web-app-attack-chain -a claude-codeЧто делает web-app-attack-chain
Скилл связывает запросы одного клиента в последовательность: разведка, создание аккаунта или вход, затем загрузка файла либо действия с данными и настройками. По кодам ответа он определяет, где неудачные попытки сменились успешными, и отмечает последующие действия атакующего.
В отчёт попадают созданные аккаунты, выданные сессии и токены, загруженные файлы, изменения или экспорт данных. Скилл использует журнал запросов kodeblue и журнал доступа приложения; для чтения последних записей служит host_read. Журнал kodeblue доступен, когда включён request tap. Большинство баз данных приложения kodeblue запросить не может, поэтому подтверждённые сведения отделяются от тех, которые должен проверить человек.
Для сдерживания атаки скилл предлагает block_ip и мониторинг log, а в список ручных действий включает удаление аккаунтов и файлов, отзыв сессий и токенов, восстановление данных и исправление уязвимого endpoint. Успешный вход или загрузка могут считаться атакой и без изменений на хосте.
Какие задачи решает
- восстановить последовательность запросов атакующего
- найти запрос, после которого атака сработала
- перечислить аккаунты, сессии и файлы, затронутые атакой
- составить список действий для ручного устранения последствий
Примеры запросов агенту
- Восстанови цепочку атаки по журналам запросов и укажи первый успешный запрос.
- Проверь, какие аккаунты, сессии и файлы затронул клиент из журнала.
- Составь отчёт о последствиях атаки и перечисли, что нужно отменить вручную.
Как установить web-app-attack-chain
1Через Skills CLI (Vercel)
npx skills add Problem99-io/kodeblue --skill web-app-attack-chain -a claude-code2Вручную: положить файлы
~/.claude/skills/web-app-attack-chain/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/web-app-attack-chain/
1Через Skills CLI (Vercel)
npx skills add Problem99-io/kodeblue --skill web-app-attack-chain -a codex2Вручную: положить файлы
.agents/skills/web-app-attack-chain/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add Problem99-io/kodeblue --skill web-app-attack-chain -a cursor2Вручную: положить файлы
.cursor/skills/web-app-attack-chain/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install Problem99-io/kodeblue blue/skills/web-app-attack-chain2Вручную: положить файлы
.github/skills/web-app-attack-chain/SKILL.md1Через Skills CLI (Vercel)
npx skills add Problem99-io/kodeblue --skill web-app-attack-chain -a gemini-cli2Командой платформы
gemini skills install https://github.com/Problem99-io/kodeblue --path blue/skills/web-app-attack-chainВручную: положить файлы
.devin/skills/web-app-attack-chain/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о web-app-attack-chain
Как установить web-app-attack-chain в Claude Code?
Выполни npx skills add Problem99-io/kodeblue --skill web-app-attack-chain -a claude-code. Файл скилла устанавливается по пути ~/.claude/skills/web-app-attack-chain/SKILL.md.
Что делает web-app-attack-chain?
Он восстанавливает атаку на веб-приложение по журналам запросов, находит момент успеха и перечисляет последствия внутри приложения. Отдельно отмечает действия, которые должен выполнить человек.
Нужен ли доступ к базе данных приложения?
Скилл использует журнал запросов kodeblue и журнал доступа приложения, но kodeblue не может запросить большинство баз данных приложений. Человеку нужно проверить в приложении сведения, которые нельзя подтвердить по журналам.
Исходный текст
SKILL.md · Apache-2.0
--- name: web-app-attack-chain description: Reconstruct an attack on a web application from its request log — probing, sign-up and login, upload or admin abuse — find what the attacker achieved inside the app, and list what only a human can undo. metadata: kodeblue-bundled: true --- # Web application attack chains Attacks on an application often never touch the host: the attacker signs up, logs in, uploads, changes data. The request log is the evidence. Use kodeblue's request log (`/var/lib/kodeblue/requests/access.log`, when the request tap is on) and the application's own access log; `host_read` with a negative offset reads the end of either. ## 1. Rebuild the chain Filter by the client address and put the requests in order. Scripted attacks show a steady rhythm (a request every few seconds) and a tool user agent (`curl`, `python-requests`, `Python-urllib`, `Go-http-client`, `sqlmap`, `nuclei`). Typical steps: 1. **Recon**: version, admin, config or API-listing endpoints, `/.git`, `/.env`, directory guessing (many 404s). 2. **Foothold**: account creation (`POST` to a users or register endpoint → 201), login (→ 200 with a token or session cookie), password reset abuse. 3. **Abuse**: uploads, profile or settings changes, admin actions, order or payment tampering, data export, injection payloads in parameters. ## 2. Find the moment it worked Probing fails until it does not. The status codes tell you when: a run of 4xx or 5xx on an endpoint followed by 2xx (`410`/`500` on an upload, then `204`) is the success. Everything after that moment is in scope. A successful upload can write outside the upload directory: check the drop zones the service can write (see `service-process-exploitation`). ## 3. Scope what the attacker holds inside the app List every application-level foothold, because blocking the address does not remove them: - accounts created (time, from which request) and accounts logged into, - sessions or API tokens issued, password or email changes, - uploaded files and where they were stored, - data changed (profiles, orders, settings) or exported. kodeblue cannot query most application databases. Say which of these you could confirm and which a human must check in the application. ## 4. Contain and hand over - `block_ip` on the client as soon as the chain shows success (see `containment-verification` for checking it holds). A blocked attacker often returns from the same address after a restart, or from a new one with the same rhythm and user agent: a `log` monitor on the request log for that client, or for the first hit on sensitive endpoints, catches the return. - The human's list, in the report: delete attacker accounts, revoke their sessions and tokens, remove uploads, restore changed data, and fix the vulnerable endpoint. Name the endpoint and the request that succeeded. ## Verdict A client that probes and then succeeds at account creation, login, upload or an admin action without being a known user or test client in the access model is a true_positive, even when nothing changed on the host.
© Problem99-io · Apache-2.0 · Problem99-io/kodeblue