# 004: Non-string `message` values are coerced and reported as verified (input confusion, low)

A JSON number or array in `message` is converted with JavaScript String() semantics: `123` -> "123", `["a","b"]` -> "a,b".
The resulting text is then hashed and reported as `valid_signature: true`. The verifier is then vouching for a message
the client never sent as text. A front end that shows the original JSON value would show something other than what was
signed, and arrays skip the "<=2000 chars" length check on the original value.

**Reproduce:** `python3 -I run_vectors.py live ../004-non-string-message-coerced` -> 004-a/b/c return HTTP 200, valid_signature:true,
recovered key = the test key (expected: HTTP 400). Control 004-d passes.

**Fix** ([fix.patch](fix.patch)): `if (typeof message !== 'string') return 400`. Apply the same check to `signature`.
