JohnXu22786/net-debug1

dsh-http-debug

HTTP network debugging toolset for DeepSeek Harness (dsh): a general-purpose HTTP client with SSRF/private-network protection, per-session request history with replay, response inspection, and a zero-dependency CLI.

包名
dsh-http-debug
版本
1.0.0
许可证
MIT
最近更新
2026年9月11日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JohnXu22786/net-debug

Configuration

All fields are optional; defaults are the safe ones.

KeyDefaultMeaning
ssrf.enabledtrueMaster switch for all IP/DNS checks.
ssrf.blockPrivatetrueBlock 10/8, 172.16/12, 192.168/16, CGNAT 100.64/10, ULA fc00::/7.
ssrf.blockLoopbacktrueBlock 127.0.0.0/8 and ::1.
ssrf.blockLinkLocaltrueBlock 169.254/16 and fe80::/10 (covers cloud metadata).
ssrf.blockReservedtrueBlock the remaining special-use ranges (documentation, multicast, broadcast, benchmarking, NAT64/6to4 prefixes, …).
ssrf.whitelist[]Hosts / *.wildcards / IPs / CIDRs that always pass.
client.timeoutMs30000Per-request timeout in ms.
client.maxRedirects10Redirect cap.
client.maxBodyBytes131072Captured body bytes; larger bodies are truncated.
client.wafHeaderstrueAdd sane default User-Agent (and Referer if configured) when the caller doesn't send one.
client.userAgenta Chrome UADefault User-Agent.
client.referer''Default Referer; empty means none.
history.maxEntries200Ring-buffer capacity.
har.enabledfalseAttach HAR to every response by default.