net-debug
Run the following command in DeepSeek Harness:
dsh plugin install JohnXu22786/net-debug
Paste the following prompt into your AI chat to install this plugin:
Install the plugin in DeepSeek Harness by running dsh plugin install JohnXu22786/net-debug; the full source is available at https://github.com/JohnXu22786/net-debug .
About this plugin
Most fetch-and-search utilities in agent pipelines flatten a page into a Markdown summary, which is great for reading but the wrong tool when you need to see the actual wire exchange: exact method, custom headers, redirect chain, response encoding, timing, and byte size. net-debug fills that gap for DeepSeek Harness (dsh) by providing a general-purpose HTTP client whose every response is a structured, inspectable object rather than a flattened document.
Security is designed in, not bolted on. SSRF protection ships enabled by default and covers loopback, RFC 1918 private ranges, CGNAT, link-local (including cloud-metadata endpoints), multicast, and every other IANA-reserved block. The guard resolves all A/AAAA records before allowing a connection, re-checks on each redirect hop, catches curl-style decimal and hex IP encodings, and honours a flexible whitelist of exact hostnames, wildcards, IP literals, or CIDR ranges.
A per-session ring buffer records every exchange with its request snapshot, capped response, timing, size, and any error code, so you can list, inspect, or replay past calls through the same SSRF pipeline. On the response side the plugin validates JSON bodies, optionally emits a HAR 1.2 log, and enforces a hard byte cap to keep oversized payloads from blowing up the model context. Three model-facing tools (http_request, http_history, http_rules) and a zero-dependency CLI give you one engine whether you are orchestrating through dsh or scripting shell pipelines.
Built for engineers who debug APIs, run integration or security tests, audit proxy behaviour, or orchestrate agents that need raw HTTP semantics instead of another layer of abstraction.
Use Cases
- Inspect exact method, headers, body, and response encoding while debugging API calls
- Block SSRF attacks in agent pipelines to prevent access to internal networks or cloud metadata endpoints
- Replay historical HTTP exchanges and export HAR 1.2 logs for incident analysis
Best For
- API engineers who need raw HTTP semantics rather than Markdown summaries
- Security engineers auditing agent network behaviour and egress safety
- dsh developers extending DeepSeek Harness agent capabilities
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.