Skip to content

Proof of AuditsExplore EvidenceSolana programsPhoenix

Phoenix

Phoenix (renamed Phoenix Legacy in its repository) is an on-chain limit order book on Solana that settles trades without a crank. One upgradeable native program by Ellipsis Labs holds every market.

  • Recorded data
  • 1programs
  • 2audit reports
  • 4curated transactions
  • 9open questions
  • observed at slot472,718,297

What this page showsEvery program Phoenix runs on Solana, the audit reports POA holds for it, which report covers which instructions (actions), and what POA could not establish.

Open questions

What is not established

9 open questions recorded

Facts research could not establish, copied from the evidence as written.

  1. No report lists file paths, so no instruction is shown inside a report's named files. Both reports name the phoenix-v1 repository at a commit.
  2. POA's rebuild of c16694d reproduces the on-chain executable hash. OtterSec reviewed 3d09bc8; from 3d09bc8 to c16694d only src/program/processor/new_order.rs changed (4 lines added, 1 removed). Mad Shield's final commit ee9cc03 is older; seven files under src/ changed after it.
  3. The OtterSec report states an assessment window of January 9 to February 8, 2023 but names commit 3d09bc8 from July 31, 2023. The report does not say when 3d09bc8 was reviewed.
  4. OtterSec's verify API reports is_verified true for this program with commit None, so the provider does not say which commit it built.
  5. The Dockerfile in the repo still pins e879f1c (February 2023) as the verified-build commit; that commit is not the deployed code.
  6. No top-level Swap instruction was found in the 250 most recent program transactions or 200 SOL/USDC market transactions; swaps mostly arrive by CPI from routers, so no Swap example is published.
  7. The upgrade authority 8mv7G3fJ... can replace the program. POA has not checked what kind of account controls it.
  8. Instruction args that are defined structs (order packets, cancel params) are not decoded by POA.
  9. Static CPI lists come from source pattern matching in the handler function and same-file helpers it calls (three levels). An empty list does not prove the handler makes no CPI.

Programs

Executable programs POA read from mainnet, each with its proof chain counted over its instructions.

  1. The proof chain
    1. Instruction decoded

      28 of 28 instructions

    2. Live code rebuilt by POA

      28 of 28 instructions

    3. Report names the handler file

      0 of 28 instructions

    4. Reviewed commit printed

      0 of 28 instructions

    5. Reviewed code is the live code

      0 of 28 instructions

      28 with a known difference

    Every link must hold before POA says Matched. A missing link is not a failure, and never an approval.

Audit reports

2 reports, 2 with a reviewed commit printed.

Which audit covers what

For each program, one row per report that relates to it. Counts are instructions of that program.

ReportChecked version (commit)Names the file that runs itCovers the program, no files namedChecked version vs running code
OtterSec3d09bc80 of 2828 of 28Code changed since: 1 files
Mad Shieldee9cc030 of 2828 of 28Code changed since: 7 files

No report's checked version can be tied to the running code: POA cannot show the audited version is the running version.

As extracted from each PDF. Commits, scope paths and exclusions are what the report prints. A dash means the record states no count for that severity.

  1. 01

    OtterSec

    Ellipsis Labs Audit (phoenix, phoenix-seat-manager, sokoban, ellipsis-macros, phoenix-sdk, ellipsis-client)

    2023-01-09 to 2023-02-08

    Report PDF (opens in a new tab)

    Reviewed commits

    • 3d09bc8role not stated · p. 4

    Scope paths

    No paths named

    Exclusions

    None stated

    Findings

    • 0 critical
    • 2 high
    • 2 medium
    • 1 low
    • 4 info
    PDF SHA-25603af71…7af0c3 03af710ee5e76b40fde532d599d803af0b3246fe8fb151672554af88a77af0c3Printed in the report · PDF text
  2. 02

    Mad Shield

    Phoenix Limit Order Book Program Audit Report

    2023-03-02 to 2023-04-05 · published 2023-11-01

    Report PDF (opens in a new tab)

    Reviewed commits

    • 11eda7ainitial · p. 5
    • ee9cc03final · p. 8

    Scope paths

    No paths named

    Exclusions

    None stated

    Findings

    • 0 critical
    • 0 high
    • 2 medium
    • 2 low
    • – info
    PDF SHA-2560741c2…e8db7e 0741c2055792664beb4fb24bb94cdd456a213d6627b96ef830234cb567e8db7ePrinted in the report · PDF text

Source diffs

File-level git diffs between pinned commits, restricted to the program crate.

  1. 3d09bc8c16694dOtterSec reviewed commit (3d09bc8) → POA rebuilt live commit (c16694d)

    From OtterSec reviewed commit (3d09bc8)

    To POA rebuilt live commit (c16694d)

    11 files changed under src

    +4 −1 lines

    computed 2026-11-22 · Compare on GitHub (opens in a new tab)

    Show the 1 changed files
    FileStatusAddedRemoved
    src/program/processor/new_order.rsmodified41
  2. ee9cc03c16694dMadShield final commit (ee9cc03) → POA rebuilt live commit (c16694d)

    From MadShield final commit (ee9cc03)

    To POA rebuilt live commit (c16694d)

    77 files changed under src

    +427 −46 lines

    computed 2026-11-22 · Compare on GitHub (opens in a new tab)

    Show the 7 changed files
    FileStatusAddedRemoved
    src/lib.rsmodified142
    src/program/processor/new_order.rsmodified24815
    src/program/validation/checkers/token_checkers.rsmodified100
    src/shank_structs.rsmodified20
    src/state/markets/fifo.rsmodified42
    src/state/markets/test_market.rsmodified831
    src/state/order_schema/order_packet.rsmodified6626

Accounts that are not programs

State, config, mint and multisig accounts. None of these is an executable program, and none has a verdict.

AddressKindLabelNoteSource
OtherPhoenix v1 ProgramDataProgramData account of the BPF upgradeable loader for Phoenix v1. Upgrade authority 8mv7G3fJq5a5ej7E14vgcSGeQKH79emjU9fVfuhyitEq; last deployment slot 231433470 (block time 2023-11-21T21:12:23Z).Read by POA from mainnet · 2026-11-22

Curated transactions

Finalized mainnet transactions POA decoded. Each opens on Solana Explorer.

SignatureInstructionSlotBlock timeCode that ran
4XjA4Lcs…udBVCB 4XjA4Lcs19JP6KipRUGhnPpLNwUoXqWMfnymbio7F2bye7EkHFpik2CRSUCt3cijXDXRytkVQn1Ca1Vn9vudBVCB (opens Solana Explorer in a new tab)PlaceLimitOrder472,697,4502026-11-22 21:49 UTC

Current deployment predates this transaction. Deployment slot 231,433,470, transaction slot 472,697,450, snapshot slot 472,718,297.

MnxRGX1o…JbM8jp MnxRGX1oV6NoDdkdUN6hGqFgJ4AtzMi8ffj7z8Dph2AgbuTEdnfnG9SgJDFdGTPCw2adhkPYSSvLG1iNHJbM8jp (opens Solana Explorer in a new tab)DepositFunds472,697,4462026-11-22 21:49 UTC

Current deployment predates this transaction. Deployment slot 231,433,470, transaction slot 472,697,446, snapshot slot 472,718,297.

2WQtSrGH…jfYH1G 2WQtSrGHJ8ZAbT9KQ4b8283JYfY9W626rHGq6yRChKvmbmnjokwavS6cdLXNBJtEaKcx1wf7YTPi9G2ZPzjfYH1G (opens Solana Explorer in a new tab)WithdrawFunds471,378,2772026-11-19 15:00 UTC

Current deployment predates this transaction. Deployment slot 231,433,470, transaction slot 471,378,277, snapshot slot 472,718,297.

277zVt2J…rDE6AZ 277zVt2JMoinmfyYcvhgDBvqMzjTD6AGZbRmtxJLrnYDXEP6ax185agUKXskkXBJe14qGQGR6SGSqTsGe6rDE6AZ (opens Solana Explorer in a new tab)CancelAllOrders467,943,5592026-11-11 01:45 UTC

Current deployment predates this transaction. Deployment slot 231,433,470, transaction slot 467,943,559, snapshot slot 472,718,297.

Summary

Category
order book exchange
Depth
Catalog only
Observed at slot
472,718,297
Generated
2026-11-22
Input file SHA-256
cef9da5f4c…9589f07a98 cef9da5f4c5bb778d621aaa9d4768fc60260df54e638068fededc29589f07a98