ok truncated PNG, bad filter byte, broken IDAT, 27-byte JPEG stub -> 415 ok same defects in images above the full-decode threshold (6 Mpx) -> 415 ok valid 6 Mpx PNG accepted ok valid 36 Mpx PNG (116 KiB on the wire, 108 MiB decoded) accepted in 0.1s ok 36 Mpx PNG with bad filter byte -> 415 ok whitespace-only, DEL, C1 and dot filenames -> 400 ok attachment order preserved in POST, replay and history; reordered body -> 409 ok idempotency: [] == absent, invalid keys -> 400, scoped per user ok 12 MiB body -> JSON 413 PASS: input hardening