network-payload-zero-knowledge-test

Scan HAR captures for sentinel values that leak plaintext against zero-knowledge claims.

2|Updated May 6, 2026
One-click install
npx skills add https://github.com/bpcakes/jig-skills --skill network-payload-zero-knowledge-test-bpcakes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: network-payload-zero-knowledge-test
Source: https://github.com/bpcakes/jig-skills/tree/main/plugins/jig-privacy-audit/skills/network-payload-zero-knowledge-test
Command: npx skills add https://github.com/bpcakes/jig-skills --skill network-payload-zero-knowledge-test-bpcakes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Products claiming zero-knowledge or end-to-end encryption may still transmit plaintext content, keys, or recovery secrets over the network. This Skill verifies those claims by planting synthetic sentinel values in test flows and scanning captured HAR traffic to detect where protected data actually appears. ## Core Features & Use Cases - Sentinel-Based Leak Detection: Generate high-entropy synthetic sentinels across categories (plaintext content, metadata, encryption keys, recovery secrets, credentials) and detect them in URLs, headers, cookies, request/response bodies, and telemetry. - Recursive Decoding: Automatically decode URL encoding, base64, base64url, JWT segments, hex, gzip/zlib, and nested JSON to catch encoded plaintext that naive scans miss. - Structured Findings: Emit schema-shaped findings with ZK-NET IDs, severity, classification labels (third-party payload, telemetry, unencrypted transport), redacted evidence excerpts, and retest steps. - Use Case: Auditing a notes app that claims end-to-end encryption: generate sentinels, exercise login/sync/share flows while capturing HAR, then run the scanner to confirm whether note bodies or keys ever reach the server or third-party analytics in readable form. ## Quick Start Ask the agent to audit the supplied HAR capture with its sentinel manifest using the network zero-knowledge test and report any leaked plaintext findings with severity and evidence.

Frequently Asked Questions about network-payload-zero-knowledge-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test whether an app is truly zero-knowledge?

Plant unique synthetic sentinel values in protected fields like note bodies or recovery codes, capture network traffic as HAR files during normal flows, then scan the captures for those sentinels. A match in request or response data proves the value crossed the network in readable form.

How do I scan a HAR file for leaked secrets?

Run zknet_scan.py scan-har with a sentinel manifest and at least one --first-party domain. The scanner checks URLs, headers, cookies, and bodies, recursively decoding base64, JWT, hex, and gzip content, and exits 1 when finding candidates are detected.

Can encoded data like base64 hide plaintext from the scan?

No. The scanner recursively decodes URL encoding, HTML entities, JSON strings, base64, base64url, JWT segments, hex, and gzip/zlib up to a configurable depth. Encoded plaintext is classified as reversible exposure, not cryptographic protection.

Does a clean scan prove an app is zero-knowledge?

No. Absence of sentinel matches only covers the supplied captures and configured sentinels. HAR exports may omit bodies, service-worker traffic, websockets, or binary payloads, and server-side processing is invisible to network analysis.

What are the safety requirements for running this network audit?

Use only authorized test accounts, staging, or approved targets with synthetic sentinel data. Never inject real credentials, customer content, or regulated PII, and treat HAR captures as sensitive artifacts requiring redaction before sharing.