Security Lab

Attacks sent to the live contracts on Stellar Testnet. Each one was refused. Open the transaction to check it, or run the checks yourself below.

V1: refused on the ledger

Real transactions with status FAILED, executed by validators. Not simulations.

Unavailable

Run the checks yourself

Runs as a free simulation against the live contracts. No wallet needed. To send a proof check as a real transaction, open the group.

Fake or altered proofs

A real proof passes. A forged one and one with a number written in two ways are refused.

Each check, one by one
  • Real proof (control)

    Your browser proves a synthetic borrower and asks the verifier. Expected: accepted.

  • Forged proof

    Valid curve points that are not a proof. Expected: refused, #5 InvalidProof.

  • Same number, different bytes

    The nonce is replaced with nonce + r, the same field element in other bytes. Expected: refused, #6 InvalidEncoding.

Wrong borrower, old data, replay

A proof only works for its own borrower, the current passport list and the current lender rules, and only once.

Each check, one by one
  • Proof made for someone else

    Borrow on Lender A with a proof bound to another address. Expected: refused, #5.

  • Passport list that is not active

    Borrow with a passport root the registry does not know. Expected: refused, #8 InactiveRoot.

  • Old lender rules

    Active passport root with a policy hash that is not the active one. Expected: refused, #9 InactivePolicy.

  • Proof used twice

    Reads the controller's list of used proofs. A used one is refused with #10 Replay, see the ledger list above.

Limits and custody

Only registered lenders can lend, one limit covers all of them, and each pool holds the money it reports.

Each check, one by one
  • Unregistered lender

    Asks the controller about a contract that is not a registered lender. Expected: not enabled, #12 UnknownMarket.

  • Shared credit limit

    Reads the live amount used against your limit. Going over is refused with #11 AllowanceExceeded.

  • Pool balances and proof domain

    Each pool's token balance covers free liquidity plus locked collateral, and the on-chain proof domain matches the provers.

Other transactions from the recorded demo run
No demo evidence loaded yet.