本文へ移動
cccskills
無料GitHub で公開

network-recording

Use when explicitly authorized lab traffic must be captured, searched, or exported from the project's mitmproxy-backed Docker lab recorder.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Network Recording

Use this skill only for an explicitly authorized Target and a network-enabled Docker lab. Recording is an observation capability: it does not expand target authorization, allowed methods, redirect scope, or the selected network profile.

Enable

Set the lab's Traffic recording option to mitmproxy (or set NETWORK_TRAFFIC_RECORDING_MODE=mitmproxy before the lab starts). Enabling or changing recording recreates the lab — an infrastructure mutation — so treat it as the user's/UI's decision or obtain a durable approval covering it; do not enable recording on your own initiative. The lab is recreated so its HTTP_PROXY, HTTPS_PROXY, and ALL_PROXY point to a per-project mitmproxy sidecar on 127.0.0.1:8080.

The recorder shares the lab's Docker network namespace (network_mode: service:lab is the Compose equivalent), so the existing egress firewall also constrains proxy-originated traffic. Its CA is trusted only inside that project lab. Recording cannot be enabled for offline labs.

Flows are retained in the project Docker volume as /captures/traffic.mitm inside the recorder. They can contain credentials, cookies, request bodies, and response bodies; treat them as sensitive evidence and retain them exactly. The recorder captures all proxied lab traffic, including CDN, registry, and telemetry flows — third-party content is not target evidence and must stay out of prompts, telemetry, and evidence.

Search flows

Run these docker exec commands from the host against the recorder container, substituting its project-specific name from the lab boot log. Every docker exec is a shell command and requires a durable command approval matching the exact invocation (see docs/durable-approvals.md). The -nr flag is read-only: never modify the capture in place, and never use mitmproxy client/server replay without a validation plan.

# Compact request/response index.
docker exec <recorder> mitmdump -nr /captures/traffic.mitm --set flow_detail=0

# Filter by host, method, status code (~c), or URL fragment.
docker exec <recorder> mitmdump -nr /captures/traffic.mitm '~d target.example'
docker exec <recorder> mitmdump -nr /captures/traffic.mitm '~m POST'
docker exec <recorder> mitmdump -nr /captures/traffic.mitm '~c 500'
docker exec <recorder> mitmdump -nr /captures/traffic.mitm '~u /api/'

# Search decoded request/response content deliberately; this may expose secrets.
# ~bq matches request bodies; ~bs matches response bodies; ~b matches both.
docker exec <recorder> mitmdump -nr /captures/traffic.mitm '~bq token'
docker exec <recorder> mitmdump -nr /captures/traffic.mitm '~b error'

Prefer narrow filters and confine searches to authorized target domains before quoting content. Record the exact command, target, time window, and result count alongside the flow Evidence. Stop capture when the approved observation is complete; stopping the lab stops its recorder but preserves the flow volume.

Export flows

Captures live in a Docker volume the workspace cannot address, so they only become durable evidence once exported and registered. Export the filtered slice byte-exact, then register it through the Evidence Interface (src/server/evidence/artifact-service.ts) and cite the returned artifact ID:

docker exec <recorder> mitmdump -nr /captures/traffic.mitm \
  -w /captures/exports/traffic-filtered.mitm '~d target.example'

Note the flow volume's size at stop time; traffic.mitm grows without bound. Deletion is governed by the lab disposition flow — do not delete captures on your own initiative. Never replay captured side effects without a validation plan.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Plan and use user-consented local camera and microphone observations for an explicitly authorized physical target. Use when a capture can establish a bounded physical-state observation such as whether a test fixture changed state, an instrument reading changed, or equipment noise changed relatively.

日本語の概要は準備中です。原文の説明を表示しています。

justsml/ExploitHunter.app142026年10月15日 更新

Plan vulnerability research using conventional bug-hunting and pentest stage names, specialty playbooks, and a research-hypothesis-experiment loop. Use when designing a bug bounty workflow, selecting tools and strategies, building a decision tree, or turning a target/scope into a staged hunting plan.

日本語の概要は準備中です。原文の説明を表示しています。

justsml/ExploitHunter.app142026年10月15日 更新

Passive code-review lane for authorized repositories, local checkouts, uploaded source archives, and diffs. Use when the security research agent needs deterministic candidate discovery before expensive AI investigation, scoped PR-style review, append-only evidence records, or independent revalidation of code findings.

日本語の概要は準備中です。原文の説明を表示しています。

justsml/ExploitHunter.app142026年10月15日 更新

Run independent, task-matched expert attempts, select a base, and synthesize the strongest result.

日本語の概要は準備中です。原文の説明を表示しています。

justsml/ExploitHunter.app142026年10月15日 更新

Select established CTF and security-research tools for authorized artifact triage, web inspection, reversing, crypto, forensics, networking, and exploit validation. Use when a user provides a CTF-style tool catalog, asks which tools to use, or needs safe usage instructions for common offensive/security tools.

日本語の概要は準備中です。原文の説明を表示しています。

justsml/ExploitHunter.app142026年10月15日 更新

diagnose

無料

Disciplined diagnosis loop for hard bugs and performance regressions. Reproduce → minimise → hypothesise → instrument → fix → regression-test. Use when user says "diagnose this" / "debug this", reports a bug, says something is broken/throwing/failing, or describes a performance regression.

日本語の概要は準備中です。原文の説明を表示しています。

justsml/ExploitHunter.app142026年10月15日 更新

justsml のスキルをすべて見る

このスキルの問題を報告する