Skip to content

Demo 04 · Solana · Check before you sign

Before you approve on Solana, see if the code was audited.

Your wallet lists the actions (instructions) a transaction will run. It cannot tell you whether that code is the code an audit reviewed. This demo replays real Solana lending, staking, swap, order book and multisig transactions so you can check one.

  1. 1Pick an action (done)
  2. 2See what your wallet shows (done)
  3. 3Press Check first (done)
  4. 4Read the answer (done)

Pick an action

Each one is a real transaction recorded on Solana mainnet.

Protocol

Phoenix · Order book exchange

Action

Nothing is sent from your browser.

See what your wallet shows

The confirmation a Solana wallet gives you before you approve. Your action is highlighted.

Solana walletApprove transaction
IllustrationDrawn by POA from the recorded transaction. Not a real wallet.
Requesting site
Not known (recorded on mainnet, no site sent it)
Network
mainnet-beta
Network fee
0.000007001 SOL
Accounts it can change
7 of 13

Actions (instructions)4

  1. 0–1Compute Budgetaction not decoded×2
  2. 2Phoenix v1PlaceLimitOrderYour action
  3. 3System Programaction not decoded

Your token balance changes

No token balance change for the signing account.

Checked first.

This is what POA holds about this exact transaction.

Read the answer

Whether the code this action runs is the code an audit reviewed.

The answer · Phoenix · Place a limit order

Changed

The code changed after the audit.

Audited3d09bc8OtterSec
Running nowc16694drebuilt by POA from source

It stops at “The audited version is the running version”: POA found that the code changed after the audit.

Technical name (instruction): PlaceLimitOrder

mainnet-betaslot 472,697,450Recorded transaction

How POA got this answer

Five things must all hold before POA says Matched. Read left to right; the answer stops at the first one that does not.

  1. POA read the action

    Holds

    The action's bytes match one entry in the program's published interface (IDL), with no collision.

  2. POA rebuilt the live code from source

    Holds

    POA built the source itself and got the exact program code running on Solana (executable hash match).

  3. An audit covers this action's code

    No proof yet

    A published audit report lists the file that runs this action (the handler file) in its scope.

  4. The audit says which version it checked

    No proof yet

    The report prints the exact code version (commit) it reviewed.

  5. The audited version is the running version

    Code changed since the audit

    The reviewed commit and the rebuilt live commit hold the same program code.

A step with no proof yet is not a failure, and never an approval.

Details· exact reasons and what is needed

What Changed means, exactly

The reviewed commit and the live source are both established, and the handler file or a traced related file changed between them.

Why

  • Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….
  • Decoded by native-u8-tag 02.
  • Handler src/program/processor/new_order.rs#L221 (new_order::process_place_limit_order).
  • Live source c16694d4 established by POA's independent build.
  • No report with directly extracted scope names a path covering the handler file.
  • CHANGED: between phoenix-ottersec-2023's reviewed commit 3d09bc8 and live c16694d4 the handler's traced files changed: src/program/processor/new_order.rs (M +4 -1).

Needed for a stronger verdict

  • A report whose printed scope paths cover the handler file.

Audited by OtterSec 3d09bc8 · Mad Shield ee9cc03

Programs, audits and what this does not prove

Every program this transaction runs (3)

A transaction can call other programs along the way. Each one has its own answer; one program's answer never covers another.

  • Runs your actionPhoenix v1PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXYChanged

    Called directly by the transaction · Called by another program (CPI)

    Actions it ran
    PlaceLimitOrderChangedLogChanged
    Who can change the code
    8mv7G3…hyitEq
    POA rebuilt it from source
    Rebuilt by POA, hash matches · c16694d
    Third-party claim (OtterSec verify API)
    Provider reports verified · Nonesame hash as POA's read: Yes
    Program page
Solana built-in programs(2)Unknown · no POA proof

System, token and fee-budget programs this transaction calls. POA publishes no proof for them, so each stays Unknown.

  • Compute BudgetCalled directly by the transaction · no POA proof for this programUnknown
  • System ProgramCalled directly by the transaction · no POA proof for this programUnknown

Which audits cover this action

Audit reports that relate to the code behind this action, and the code version (commit) each one checked.

File that runs this action (handler)src/program/processor/new_order.rs

  • OtterSec · Program covered, no paths namedchecked 3d09bc8
  • Mad Shield · Program covered, no paths namedchecked ee9cc03

The code that ran

Solana programs can be upgraded. This says whether the code POA checked is the code that ran in this transaction.

The code POA checked was already live when this transaction ran.

Deployment slot 231,433,470, transaction slot 472,697,450, snapshot slot 472,718,297.

What this does not prove

  • A verdict is about the code, not about whether this transaction or its amounts are what you intend.
  • An audit report names what it reviewed. It does not say the code has no bugs.
  • Called programs are judged on their own evidence. A caller's verdict never carries over to them.
  • Unknown never means approved.

Not released: release needs two independent human evidence reviewers.

  • Recorded data
  • 12protocols
  • 37real recorded transactions
  • 31programs they run
  • read at Solana slot472,718,301

All recorded transactions

37 transactions, each with its verdict and the programs it runs

The same answers as above, for every recorded transaction at once, with each program's own verdict.

KaminoLending

  • Technical name (instruction)

    deposit_reserve_liquidity_and_obligation_collateral_v2

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedKamino Lending (KLend)
    • UnknownAssociated Token Account
    • UnknownSPL Token
    • UnknownCompute Budget

    Code that ran

    Same as checked

  • Technical name (instruction)

    borrow_obligation_liquidity_v2

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedKamino Lending (KLend)
    • UnknownHFn8…2fWJ
    • UnknownAssociated Token Account
    • UnknownSPL Token-2022
    • UnknownCompute Budget

    Code that ran

    Same as checked

  • Technical name (instruction)

    repay_obligation_liquidity_v2

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedKamino Lending (KLend)
    • UnknownSPL Token
    • UnknownCompute Budget

    Code that ran

    Same as checked

  • Technical name (instruction)

    withdraw_obligation_collateral_and_redeem_reserve_collateral_v2

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedKamino Lending (KLend)
    • UnknownHFn8…2fWJ
    • UnknownFarm…91Hr
    • UnknownSystem Program
    • UnknownAssociated Token Account
    • UnknownSPL Token
    • UnknownCompute Budget

    Code that ran

    Same as checked

SquadsMultisig

  • Technical name (instruction)

    multisig_create_v2

    Verdict

    Matched
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Established

    Programs it runs, each with its own verdict

    • MatchedSquads Protocol v4
    • UnknownCompute Budget
    • UnknownSystem Program

    Code that ran

    Same as checked

  • Technical name (instruction)

    vault_transaction_create

    Verdict

    Matched
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Established

    Programs it runs, each with its own verdict

    • MatchedSquads Protocol v4
    • UnknownSystem Program

    Code that ran

    Same as checked

  • Technical name (instruction)

    proposal_approve

    Verdict

    Matched
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Established

    Programs it runs, each with its own verdict

    • MatchedSquads Protocol v4
    • UnknownCompute Budget
    • UnknownSystem Program

    Code that ran

    Same as checked

  • Technical name (instruction)

    vault_transaction_execute

    Verdict

    Matched
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Established

    Programs it runs, each with its own verdict

    • MatchedSquads Protocol v4
    • UnknownDyrw…VMjo
    • UnknownCompute Budget
    • UnknownSystem Program

    Code that ran

    Same as checked

OrcaSwaps and liquidity

  • Technical name (instruction)

    swap

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Not established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialWhirlpool program
    • UnknownCompute Budget
    • UnknownAssociated Token Account
    • UnknownSystem Program
    • UnknownSPL Token

    Code that ran

    Same as checked

  • Technical name (instruction)

    increase_liquidity

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Not established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialWhirlpool program
    • UnknownCompute Budget
    • UnknownSystem Program
    • UnknownSPL Token

    Code that ran

    Same as checked

  • Technical name (instruction)

    decrease_liquidity

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Not established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialWhirlpool program
    • UnknownAssociated Token Account
    • UnknownSPL Token
    • UnknownSystem Program

    Code that ran

    Same as checked

  • Technical name (instruction)

    open_position

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Not established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialWhirlpool program
    • UnknownCompute Budget
    • UnknownSystem Program
    • UnknownSPL Token
    • UnknownAssociated Token Account

    Code that ran

    Same as checked

  • Technical name (instruction)

    collect_fees

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Not established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialWhirlpool program
    • UnknownCompute Budget
    • UnknownSystem Program
    • UnknownSPL Token

    Code that ran

    Same as checked

marginfiLending

  • Technical name (instruction)

    lending_account_deposit

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • Partialmarginfi v2 (mrgnLend)
    • UnknownCompute Budget
    • UnknownSPL Token

    Code that ran

    Same as checked

  • Technical name (instruction)

    lending_account_borrow

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • Partialmarginfi v2 (mrgnLend)
    • UnknownFQXq…Bfdq
    • UnknownJUP6…TaV4
    • UnknownArch…PMhy
    • UnknownALPH…4pHA
    • UnknownCompute Budget
    • UnknownAssociated Token Account
    • UnknownSPL Token

    Code that ran

    Same as checked

  • Technical name (instruction)

    lending_account_repay

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • Partialmarginfi v2 (mrgnLend)
    • UnknownL2TE…3S95
    • UnknownCompute Budget
    • UnknownSPL Token

    Code that ran

    Same as checked

  • Technical name (instruction)

    lending_account_withdraw

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • Partialmarginfi v2 (mrgnLend)
    • UnknownL2TE…3S95
    • UnknownCompute Budget
    • UnknownAssociated Token Account
    • UnknownSPL Token

    Code that ran

    Same as checked

MarinadeLiquid staking

  • Technical name (instruction)

    deposit

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Established

    Programs it runs, each with its own verdict

    • PartialMarinade liquid staking program
    • UnknownSPL Token
    • UnknownSystem Program

    Code that ran

    Same as checked

  • Technical name (instruction)

    liquid_unstake

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Established

    Programs it runs, each with its own verdict

    • PartialMarinade liquid staking program
    • UnknownSystem Program
    • UnknownSPL Token

    Code that ran

    Same as checked

JitoLiquid staking

  • Technical name (instruction)

    DepositSol

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedSPL Stake Pool program
    • UnknownAssociated Token Account
    • UnknownSPL Token
    • UnknownSystem Program

    Code that ran

    Same as checked

Jupiter LendLending

  • Technical name (instruction)

    deposit

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Not established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialJupiter Lend Earn (lending)
    • PartialJupiter Lend Liquidity
    • UnknownCompute Budget
    • UnknownSPL Token

    Code that ran

    Same as checked

  • Technical name (instruction)

    operate

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Not established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialJupiter Lend Borrow (vaults)
    • PartialJupiter Lend Oracle
    • PartialJupiter Lend Liquidity
    • UnknownCompute Budget
    • UnknownSPL Token

    Code that ran

    Same as checked

Raydium CLMMSwaps and liquidity

  • Technical name (instruction)

    swap_v2

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialRaydium CLMM (AMM v3)
    • UnknownCompute Budget
    • UnknownAssociated Token Account
    • UnknownSPL Token
    • UnknownSystem Program
    • UnknownSPL Token-2022

    Code that ran

    Same as checked

  • Technical name (instruction)

    increase_liquidity_v2

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialRaydium CLMM (AMM v3)
    • UnknownSystem Program
    • UnknownSPL Token
    • UnknownSPL Token-2022

    Code that ran

    Same as checked

  • Technical name (instruction)

    open_position_with_token22_nft

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialRaydium CLMM (AMM v3)
    • UnknownSPL Token-2022
    • UnknownSPL Token
    • UnknownSystem Program
    • UnknownAssociated Token Account

    Code that ran

    Same as checked

Raydium CPMMSwaps (constant product pools)

  • Technical name (instruction)

    swap_base_input

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedRaydium CPMM
    • UnknownCompute Budget
    • UnknownAssociated Token Account
    • UnknownSPL Token
    • UnknownSystem Program

    Code that ran

    Same as checked

  • Technical name (instruction)

    swap_base_output

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedRaydium CPMM
    • UnknownSPL Token
    • UnknownCompute Budget
    • UnknownMemo

    Code that ran

    Same as checked

MeteoraSwaps and liquidity

  • Technical name (instruction)

    swap

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Not established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialMeteora DLMM (lb_clmm)
    • UnknownGKyb…YJpx
    • UnknownCompute Budget
    • UnknownSPL Token

    Code that ran

    Same as checked

  • Technical name (instruction)

    rebalance_liquidity

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Not established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialMeteora DLMM (lb_clmm)
    • UnknownAssociated Token Account
    • UnknownSPL Token
    • UnknownSystem Program

    Code that ran

    Same as checked

  • Technical name (instruction)

    remove_liquidity_by_range2

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Not established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialMeteora DLMM (lb_clmm)
    • UnknownCompute Budget
    • UnknownAssociated Token Account
    • UnknownSPL Token
    • UnknownSystem Program
    • UnknownSPL Token-2022

    Code that ran

    Same as checked

PhoenixOrder book exchange

  • Technical name (instruction)

    PlaceLimitOrder

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedPhoenix v1
    • UnknownCompute Budget
    • UnknownSystem Program

    Code that ran

    Same as checked

  • Technical name (instruction)

    DepositFunds

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedPhoenix v1
    • UnknownCompute Budget
    • UnknownSPL Token
    • UnknownSystem Program

    Code that ran

    Same as checked

  • Technical name (instruction)

    WithdrawFunds

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedPhoenix v1
    • UnknownPSMx…Zwf1
    • UnknownCompute Budget
    • UnknownAssociated Token Account
    • UnknownSPL Token
    • UnknownSystem Program

    Code that ran

    Same as checked

  • Technical name (instruction)

    CancelAllOrders

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedPhoenix v1
    • UnknownCompute Budget

    Code that ran

    Same as checked

OpenBookOrder book exchange

  • Technical name (instruction)

    place_order

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedOpenBook v2
    • UnknownCompute Budget

    Code that ran

    Same as checked

  • Technical name (instruction)

    place_take_order

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedOpenBook v2
    • UnknownSPL Token

    Code that ran

    Same as checked

  • Technical name (instruction)

    consume_events

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedOpenBook v2

    Code that ran

    Same as checked

What the verdicts mean

Matched
The instruction handler sits in a file a report names as in scope, POA rebuilt the live executable from source itself, and that source equals the reviewed commit or differs only outside the program crate.
Changed
The reviewed commit and the live source are both established, and the handler file or a traced related file changed between them.
Partial
Some evidence exists, but one required link is missing, for example the live source is only claimed by a provider or the report names no files.
Unknown
The program evidence is unusable or the instruction could not be decoded or tied to any report. Unknown never means approved.

Not in a Solana wallet yet.

POA has no Solana wallet integration yet. This demo replays recorded mainnet transactions; nothing is sent from your browser.

Open the Solana Proof Explorer

No Solana evidence shown here is released in Proof of Audits yet. Release needs two independent human evidence reviewers.