Berildocs GitHub

Memory cards

Predictable randomness is a key recovery bug

confidence: highupdated: 2026-11-24status: activecryptorandompredictability

Claim#

A token, nonce or key comes from time, a weak PRNG, or a seed reused across processes.

Test#

Collect many outputs. Check the seed source. Try to predict the next value from the timestamp or PID.

Proof#

A predicted token accepted by the server.

Failure modes#

A random-looking string is not proof. Check the generator and the seed.