wirebench / common /audit_schema.json
Anonymous
Initial commit
ec47cae
{
"$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",
"vuln",
"key_exchange",
"key_hex",
"iv_hex"
],
"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", "custom", "mode", "padding"],
"properties": {
"cipher": {
"type": "string",
"enum": ["AES", "DES", "3DES", "RC4", "XOR", "ChaCha20", "RSA"]
},
"custom": {
"type": "boolean",
"description": "Whether the cipher implementation is a custom (non-standard) variant."
},
"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
},
"vuln": {
"type": "boolean",
"description": "Whether the protocol is vulnerable to decryption by a passive network observer."
},
"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)."
}
},
"additionalProperties": false
}