security research · coming 2027
Shadow Parsing
Every program reads its input. Not every program reads it the same way. One reading is the light. The other is the shadow.
Same bytes. Same number?
Two programs get the exact same 24 bytes. Neither one crashes. Neither one warns. They just don't agree.
The Light · reader A
Keeps integers exact.
9007199254740993
READS 993
Same bytes
{"id": 9007199254740993}
Valid JSON. Nothing unusual. Nothing to escape.
The Shadow · reader B
Stores numbers as 64-bit floats.
9007199254740992
READS 992
Where did the 1 go?
Clues
Try to work it out first. Open one clue at a time.
CLUE 1
9007199254740993 is exactly 2^53 + 1.CLUE 2
An IEEE 754 double has 1 sign bit, 11 exponent bits and
52 fraction bits.CLUE 3
52 stored bits + 1 hidden bit =
53 bits of precision. 2^53 + 1 needs 54.CLUE 4
Above
2^53, doubles are spaced 2 apart. Odd integers simply do not exist up there.CLUE 5
…993 sits exactly halfway between …992 and …994. Ties go to the even mantissa.Coming 2027.
One number was the warm-up. Every format casts a shadow.