Download common/audit_schema.json from sunblaze-ucb/wirebench: direct link, hf CLI and curl.
- Browser
- Download file 2.88 kB
-
https://huggingface.co/datasets/sunblaze-ucb/wirebench/resolve/main/common/audit_schema.json
- Command line
-
hf download hf://datasets/sunblaze-ucb/wirebench/common/audit_schema.json
-
curl -L -o audit_schema.json https://huggingface.co/datasets/sunblaze-ucb/wirebench/resolve/main/common/audit_schema.json
2.88 kB
| { | |
| "$schema": "https://json-schema.org/draft/2020-12/schema", | |
| "title": "Benchmark Audit Schema", | |
| "description": "Standardized schema for comparing agent-generated crypto analysis against ground truth.", | |
| "type": "object", | |
| "required": [ | |
| "ciphers", | |
| "key_exchange", | |
| "key_hex", | |
| "iv_hex", | |
| "key_size" | |
| ], | |
| "properties": { | |
| "ciphers": { | |
| "type": "array", | |
| "description": "Ordered list of ciphers applied to the plaintext, innermost first. Most protocols use a single cipher; compound schemes (e.g. RC4 then AES-CBC) use multiple.", | |
| "items": { | |
| "type": "object", | |
| "required": ["cipher", "mode", "padding"], | |
| "properties": { | |
| "cipher": { | |
| "type": "string", | |
| "enum": ["AES", "DES", "3DES", "RC4", "XOR", "ChaCha20", "RSA"] | |
| }, | |
| "mode": { | |
| "type": "string", | |
| "enum": ["ECB", "CBC", "CTR", "GCM", "OAEP", "PKCS1v15", "stream", "custom", "other", "none"] | |
| }, | |
| "padding": { | |
| "type": "string", | |
| "enum": ["pkcs7", "zero", "none"] | |
| } | |
| }, | |
| "additionalProperties": false | |
| }, | |
| "minItems": 1 | |
| }, | |
| "key_exchange": { | |
| "type": "string", | |
| "description": "Key exchange mechanism. 'none' means keys are static or deterministically derived without a handshake.", | |
| "enum": ["none", "rsa", "dh", "ecdh"] | |
| }, | |
| "key_hex": { | |
| "type": ["string", "null"], | |
| "description": "The static encryption key as a hex string. For per-request keys, this is the static seed/master key used to derive or decrypt per-request keys. null only if the key is fully per-request with no static component." | |
| }, | |
| "iv_hex": { | |
| "type": ["string", "null"], | |
| "description": "The IV as a hex string, or null if no IV is used (ECB, XOR, stream ciphers, or per-request IV with no static component)." | |
| }, | |
| "key_size": { | |
| "type": "integer", | |
| "description": "Length in bytes of the value passed to encrypt.py via --key-hex. For static-key tasks this matches len(key_hex)/2; for per-request tasks this is the size encrypt.py expects.", | |
| "minimum": 1 | |
| }, | |
| "passively_decryptable": { | |
| "type": "boolean", | |
| "description": "True only if proven that a third party observing only the recorded traffic could decrypt these payloads with no device access: the key material is deterministic (hardcoded, fixed seed, or derived from values visible in the capture) and a decryption script reproduces plaintext for multiple packets using capture-derived inputs alone. False whenever recovery required Frida/instrumentation, MITM, device- or session-specific state, or a key exchange whose secret never appears in the capture. Default false; ambiguity means false. Optional, so existing reference audits stay valid." | |
| } | |
| }, | |
| "additionalProperties": false | |
| } | |