← Security Lab
📄
Receipt Verification Tests
TESTNET
Verify that receipts cannot be tampered with and cannot be used as transfer authority.
Receipt Tamper Detection
Create a valid receipt, modify owner/status/amount field, verify — must be detected.
Expected: RECEIPT_HASH_INVALID
1.Create valid test receipt
2.Modify owner field in simulation
3.Re-verify receipt
4.System detects: RECEIPT_HASH_INVALID
Receipt as Transfer Authority
Attempt to use a copied receipt as proof of ownership to initiate a transfer. Must be rejected.
Expected: RECEIPT_NOT_TRANSFER_AUTHORITY
1.Create valid receipt for past event
2.Attempt to initiate transfer using receipt ID as authority
3.System rejects: RECEIPT_NOT_TRANSFER_AUTHORITY
Why receipts cannot authorize transfers
A receipt is a proof that an event happened in the past. It does not grant authority over the current asset state. Ownership authority requires the current owner's wallet signature against the current state version — not possession of a historical receipt.