caido-mode
БесплатноЗапускает вложенные скриптыНе проверенFull Caido SDK integration for coding agents. Search HTTP history with HTTPQL, test with curl proxied through Caido (caching auth in reusable static curl…
от caido★ 298 звёзд на GitHubОб этом скилле
Caido Mode Skill
A CLI over Caido's API (built on the official @caido/sdk-client) for HTTP-history-driven
testing. The tool lives alongside this file as caido-client.ts; run commands from this skill
directory as npx tsx caido-client.ts <command>. Output is JSON unless noted.
How to operate (read this first)
There are two distinct modes:
- Testing → use
curl, always proxied through Caido. Find a real authenticated request in history, cache its auth into a reusable curl config (a faithful static snapshot of its headers- cookies), then probe with
curl -K auth.cfg "$BASE/path". All traffic must go through Caido (the config carries the proxy), so every request lands in HTTP history.
- cookies), then probe with
- Handoff → use replay sessions + collections. Only when handing a request (or a set) to the user do you materialize it as a named replay session inside a named collection.
Hard rules:
- Everything goes through Caido — except high-volume bruteforce/fuzzing. Never curl a single
target request directly; always via the Caido proxy (the generated config does this; otherwise add
-x <proxy>). The one exception: don't proxy bruteforce/fuzzing tools (ffuf, etc.) or any batch of 100+ requests at once through Caido — it bloats HTTP history. Run those direct (no-x), then bring any interesting hit back into Caido (re-send it through the proxy / promote to Replay) to investigate and hand off. - Test with
curl. Don't spin up replay sessions for probing — that's handoff only. - To show the operator a request, send it to Replay. Whenever you want the operator to see a
specific request, create a named replay session for it (in a named collection if there's more
than one) — that's how they inspect and re-run it in Caido. A request you tested via curl only
becomes something the operator can work with once you promote it into Replay
(
create-session <id> --name …, orsend-raw … --name …for a crafted one). - Cache auth in files, don't re-paste it. Use
export-curl --configonce per target; then reference the config. Don't dump cookies/JWTs into every command (or repeatedly into context). - If you hand the operator a runnable command, make it a FULL self-contained curl (all headers
inline, via
export-curl) — for a PoC or something they'll run outside Caido. The-Kconfig is for your internal testing only; never hand them acurl -K /tmp/…line. - Replay session names are mandatory, and editing a session forces explicit name intent.
- Use collections for multi-request handoffs; refer to sessions/collections by name, not ID.
The primary workflow (do this by default)
# 1. Find a base request that already has the auth/cookies you need.
npx tsx caido-client.ts search 'req.host.cont:"target.com" AND req.path.cont:"/api/user"' --compact
# → 8431 200 GET target.com/api/user/me
# 2. ONCE per target: cache its auth into a reusable curl config.
npx tsx caido-client.ts export-curl 8431 --config
# → writes /tmp/caido/target.com/auth.cfg — a FAITHFUL STATIC snapshot:
# proxy + insecure + compressed + ALL the request's auth/identity headers
# (cookies, Authorization, Origin/Referer, X-*, Sec-*, app-specific headers)
# and prints BASE + the captured header list
# 3. Test with curl. -K carries the proxy + auth, so it goes through Caido into history.
BASE=https://target.com
curl -K /tmp/caido/target.com/auth.cfg "$BASE/api/user/999" # IDOR
curl -K /tmp/caido/target.com/auth.cfg -X POST "$BASE/api/profile" \
-H 'Content-Type: application/json' --data-binary @/tmp/caido/target.com/body.json
Iterate step 3 freely — it's cheap, it's all in Caido, and the big auth blob stays in the file.
Confirm a probe landed in Caido with search 'req.host.cont:"target.com"' --compact.
Send the path exactly as written
When testing path traversal / path-normalization (../, /.., /./, encoded variants), pass
curl --path-as-is — otherwise curl collapses ../ and /./ client-side before sending, so
the server never sees the payload and the test silently passes. Keep the path verbatim:
curl --path-as-is -K /tmp/caido/target.com/auth.cfg "$BASE/api/../../../etc/passwd"
(Likewise add -g/--globoff if the URL contains [ ] { } you don't want curl to interpret.)
The config is a faithful STATIC snapshot (important)
export-curl --config captures every auth/identity header from the base request (not a
curated subset) and inlines the cookies statically. Two deliberate choices, both learned the
hard way:
- All headers, not an allowlist. Modern apps gate authorization on app-specific headers you
can't predict —
x-goog-ext-*,X-Browser-Validation,X-Client-Data,Origin,Referer,X-Same-Domain,Sec-*, … A narrow allowlist silently drops these and you get opaque403/PERMISSION_DENIED. The config now mirror
Установить caido-mode в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл caido-mode?
Full Caido SDK integration for coding agents. Search HTTP history with HTTPQL, test with curl proxied through Caido (caching auth in reusable static curl config files), add match & replace rules, and organize handoffs into named replay sessions and collections - all via the official @caido/sdk-client. PAT auth recommended.
Как установить скилл caido-mode?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл caido-mode запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic