--- a/verifier_model_live.py
+++ b/verifier_model_live.py
@@ -30,6 +30,16 @@
     # LIVE 005: TextEncoder replaces each lone surrogate (U+D800-U+DFFF) with U+FFFD before hashing
     return re.sub('[\ud800-\udfff]', '\ufffd', m)
 
+import json
+def _no_dups(pairs):
+    keys = [k for k, _ in pairs]
+    if len(keys) != len(set(keys)): raise ValueError('duplicate key in JSON object')
+    return dict(pairs)
+
+def parse_body(text):
+    # FIX 007: refuse duplicate keys (HTTP 400), so every parser sees the same message/signature.
+    return json.loads(text, object_pairs_hook=_no_dups)
+
 def verify(body, keyring):
     msg, sig = body.get('message'), body.get('signature')
     # LIVE: non-string messages are coerced (123 -> "123", ["123"] -> "123")
