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.
- 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.
- 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.
- 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.
- OtterSec's verify API reports is_verified true for this program with commit None, so the provider does not say which commit it built.
- The Dockerfile in the repo still pins e879f1c (February 2023) as the verified-build commit; that commit is not the deployed code.
- 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.
- The upgrade authority 8mv7G3fJ... can replace the program. POA has not checked what kind of account controls it.
- Instruction args that are defined structs (order packets, cancel params) are not decoded by POA.
- 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.
Phoenix v1
order book program
- Verdict
- Changed
- Upgrade authority
- 8mv7G3…hyitEq (opens Solana Explorer in a new tab)
- Independent build
- Rebuilt by POA, hash matches
The proof chain Instruction decoded
28 of 28 instructions
Live code rebuilt by POA
28 of 28 instructions
Report names the handler file
0 of 28 instructions
Reviewed commit printed
0 of 28 instructions
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.
| Report | Checked version (commit) | Names the file that runs it | Covers the program, no files named | Checked version vs running code |
|---|---|---|---|---|
| OtterSec | 3d09bc8 | 0 of 28 | 28 of 28 | Code changed since: 1 files |
| Mad Shield | ee9cc03 | 0 of 28 | 28 of 28 | Code 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.
01
OtterSec
Ellipsis Labs Audit (phoenix, phoenix-seat-manager, sokoban, ellipsis-macros, phoenix-sdk, ellipsis-client)
2023-01-09 to 2023-02-08
Reviewed commits
- 3d09bc8role not stated · p. 4
Scope paths
No paths namedExclusions
None statedFindings
- 0 critical
- 2 high
- 2 medium
- 1 low
- 4 info
PDF SHA-25603af71…7af0c3 03af710ee5e76b40fde532d599d803af0b3246fe8fb151672554af88a77af0c3Printed in the report · PDF text02
Mad Shield
Phoenix Limit Order Book Program Audit Report
2023-03-02 to 2023-04-05 · published 2023-11-01
Reviewed commits
- 11eda7ainitial · p. 5
- ee9cc03final · p. 8
Scope paths
No paths namedExclusions
None statedFindings
- 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.
3d09bc8c16694dOtterSec reviewed commit (3d09bc8) → POA rebuilt live commit (c16694d)
From OtterSec reviewed commit (3d09bc8)
To POA rebuilt live commit (c16694d)
Show the 1 changed files
File Status Added Removed src/program/processor/new_order.rs modified 4 1 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
File Status Added Removed src/lib.rs modified 14 2 src/program/processor/new_order.rs modified 248 15 src/program/validation/checkers/token_checkers.rs modified 10 0 src/shank_structs.rs modified 2 0 src/state/markets/fifo.rs modified 4 2 src/state/markets/test_market.rs modified 83 1 src/state/order_schema/order_packet.rs modified 66 26
Accounts that are not programs
State, config, mint and multisig accounts. None of these is an executable program, and none has a verdict.
| Address | Kind | Label | Note | Source |
|---|---|---|---|---|
2myyNe…vwaKTk 2myyNegEA6pjAHmmEsJC6JdYhW51gwxQW7ZCTWvwaKTk (opens Solana Explorer in a new tab)Not an executable program | Other | Phoenix v1 ProgramData | ProgramData 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.
| Signature | Instruction | Slot | Block time | Code that ran |
|---|---|---|---|---|
| 4XjA4Lcs…udBVCB 4XjA4Lcs19JP6KipRUGhnPpLNwUoXqWMfnymbio7F2bye7EkHFpik2CRSUCt3cijXDXRytkVQn1Ca1Vn9vudBVCB (opens Solana Explorer in a new tab) | PlaceLimitOrder | 472,697,450 | 2026-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) | DepositFunds | 472,697,446 | 2026-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) | WithdrawFunds | 471,378,277 | 2026-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) | CancelAllOrders | 467,943,559 | 2026-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
- Published JSON
- /explorer/solana/api/v1/protocols/phoenix-v1