Works with the AI Agents you already use
HAR File Forensics: Sanitize, Audit & Diff Network Traces
by ClumsyMoney
Sanitizes and audits local .har HTTP Archive captures offline, returning secret-free HAR files, p50/p95/p99 waterfall forensics, security leak findings, and release regression diffs.
$9
HAR File Forensics: Sanitize, Audit & Diff Network Traces
Example session with this skill installed
Sanitize ./captures/checkout_v2.har to ./clean/checkout_v2.sanitized.har, audit it for performance and security issues, and diff it against ./captures/checkout_v1.har with a 150 ms p95 regression threshold.
- Read your context and instructions
- Compiled the har file forensics
HAR Forensics Summary — checkout_v2.har
- Requests:
48total (6cached,14xx/5xx/aborted) | Wire Transfer:1,842.4KiB - Latency (Wait / TTFB): p50
142.5ms | p95920.0ms | p991,180.0ms - Findings:
1CRITICAL,3ERROR,2WARNING
| Severity | Code | Endpoint / Target | Details | Recommended Fix |
|---|---|---|---|---|
| CRITICAL | COOKIE_SAMESITE_NONE_INSECURE | Set-Cookie: sid | SameSite=None without Secure flag | Add Secure attribute |
| ERROR | UNCOMPRESSED_PAYLOAD | GET /api/v1/orders/:id | 45.2 KiB application/json without br/gzip | Enable Brotli or gzip |
| ERROR | CORS_PREFLIGHT_UNCACHED | OPTIONS /api/v1/orders/:id | Missing Access-Control-Max-Age (5s default) | Set Access-Control-Max-Age: 7200 |
HAR Diff (checkout_v1.har -> checkout_v2.har): FAIL (exit code 1)
GET api.example.com/api/v1/orders/:id: p95180 ms->920 ms(+740 ms, exceeds150 msgate).
Connects securely to your tools. The creator never sees your data.
About this skill
Stop fighting 50 MB browser .har files that overflow LLM context windows and leak live session cookies.
HAR File Forensics gives your AI agent a deterministic, 100% offline Python 3.9+ toolkit to sanitize, audit, and diff W3C HAR 1.2 network captures from Chrome DevTools, Firefox, Safari, Charles, and Proxyman—with zero pip installs, zero API keys, and zero network calls.
What It Does
- 8-Vector DevTools-Safe Sanitizer (
har_sanitize.py): ScrubsAuthorization,Cookie,Set-Cookie,X-API-Key, OAuth query/redirect tokens (rewritingqueryString[],request.url, andredirectURLin lockstep), JSON/formpostData, base64-encoded response bodies, and_initiatorURLs using deterministic pseudonymous hashes ([REDACTED:HEADER:a1b2c3]) so session correlation survives without leaking credentials. Supports--strip-bodiesfor monster 50+ MB SPA captures. - Waterfall Performance & Security Auditor (
har_audit.py): Computes exactp50/p95/p99timings (properly handling HAR 1.2-1sentinels and avoidingssl-inside-connectdouble-counting), wire transfer weight via the Chrome_transferSizecascade, uncompressed compressible payloads (>= 1.4 KiBwhile skipping binarywebp/woff2/png),Cache-Control/immutablegaps, uncached CORSOPTIONSpreflights (Access-Control-Max-Age), redirect chains, duplicate calls,status: 0aborted requests, mixed content, andSet-Cookieflag flaws (Secure,HttpOnly,SameSite,__Host-/__Secure-). Automatically detects Chrome 130+ pre-sanitized exports. - Release-to-Release HAR Regression Differ (
har_diff.py): Normalizes dynamic URLs (/users/12345->/users/:id, UUIDs, hex hashes, fingerprinted bundles) to compare baseline vs. candidate captures forp50/p95latency regressions, payload bloat, new4xx/5xxerrors, and newly added third-party hosts—with CI exit codes (--max-p95-delta-ms,--fail-on-new-5xx).
Operates exclusively on W3C HAR 1.2 JSON captures (.har); does not parse binary Wireshark .pcap/.pcapng files or run live remote Lighthouse crawls. Chrome 130+ exports that stripped sensitive headers at capture time cannot be audited for missing Set-Cookie security flags (an informational notice is emitted).
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 3 days ago
- Software
Python 3.9+
Permissions
What's inside
Frequently Asked Questions
New in Security
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.