Using post-quantum signatures isn't the same as being safe.

Sera Bolt is a drop-in guard for QoreChain contracts that makes the safe way the default. Attack it yourself: this server plays the attacker and pays the gas.

The retrofit: one inheritance, one modifier
contract Vault is OnlyPQ {
  function withdraw(
    address payable to, uint256 amount,
    uint256 nonce, uint256 deadline,
    bytes calldata pqSig
  ) external
    onlyPQ(guardian,
      keccak256(abi.encode(to, amount)),
      nonce, deadline, pqSig)
  { ... }
}

One mistake is enough

Post-quantum, and still drainable

This vault uses ML-DSA-87, but verifies against whatever public key the caller sends. The attacker signs with their own key.

Before: drain it with the attacker's own key

The attack matrix

Attack the guarded vault

Simulation is an eth_call against the deployed contract: free and instant. "Send" mines a transaction and gives you its hash.

Refused calls are mined and reverted (EVM receipt status 0x0). The explorer's "Status" line can still read "success", because it shows the outer transaction.

9/9attacks refused on testnet
3contracts retrofitted
~183kextra gas per guarded call
QCAIaudited (stage 2 pending)

Proof of reuse

Three contracts retrofitted

Each guarded function gains nonce, deadline and pqSig; callers sign with ML-DSA-87.

On the record

Recorded runs