Reviews
How Ported's code has been checked so far: seven rounds of internal review on 2026-11-29 and 2026-11-30, what they found, what changed, and what is still open. No independent audit has been done yet.
Where things stand
Each finding was fixed or explicitly accepted, and fixes came with tests. Where a reviewer's proof-of-concept showed the faulty behaviour, it was turned into a regression test that now asserts the fixed one, so the same issue cannot return unnoticed.
The seven rounds
| Round | Date | Scope | Findings |
|---|---|---|---|
| 1 | 2026-11-29 | Elysium and HyperEVM contracts: Issuer, price source, CoreAccount, factory | 2 high, 4 medium, 6 low |
| 2 | 2026-11-29 | Re-review of the round 1 fixes, and the rewritten keeper (the off-chain operator and price service) | Contracts: 1 high, 5 medium, 4 low. Keeper: 2 high, 5 medium, 11 low |
| 3 | 2026-11-29 | Contracts, keeper and overall design | 5 high, 9 medium, 4 low |
| 4 | 2026-11-29 | Basis vault contracts, then a second reviewer re-checking the fixes | 2 high, 2 medium, 5 low; recheck: 3 medium, 2 low |
| 5 | 2026-11-29 | The basis vault's keeper | 2 high, 4 medium, 7 low |
| 6 | 2026-11-29 | Everything, by four reviewers in parallel: Elysium contracts, HyperEVM contracts, keeper, web app | No high; 13 medium, 18 low |
| 7 | 2026-11-30 | The redemption queue, the global mint budget, USDC logistics between the chains | 4 medium, 6 low; fixed the same day |
What changed, by theme
The fixes, grouped by what they protect. Each line describes the guarantee the code gives today, not how the earlier version could be broken.
- Prices
- A quote names its token and cannot price another market or deployment. Its age is capped at 30 seconds and counted from when the price was read. Mints pay the ask and redemptions get the bid. Every accepted price must sit in a band around the last one, and the band's anchor moves at most once a minute, so many quotes in a short time cannot walk it. Co-signing requires a proposal from another registered attester.
- Exposure limits
- Hourly caps on USDC in and out of each market decay continuously (no window boundary lets twice the cap through), a per-market debt cap values the supply at the higher of the ask and the anchor, and a global mint budget fails closed. The risk manager adjusts only the mint side, and an owner reconfiguration cannot raise limits it lowered.
- Positions on Hyperliquid
- Margin reaches HIP-3 markets through a route the contract supports both ways. Isolated-only markets trade only after a one-time, bounded setup sets them to 1x. Orders still settling count toward the leverage cap, margin cannot be pulled from under a position, and both increases and the operator's decreases are limited per hour, while the guardian can always close.
- Pauses and recovery
- Mints, redemptions and USDC leaving the Issuer pause separately; the guardian can reopen redemptions; ownership cannot be renounced. A delisted market can be wound down and its redemption pace and fee adjusted afterwards.
- Redemption queue
- USDC owed to queued redemptions is reserved and fees are paid only from what the queue does not need. A claim priced by a faulty quote, or one that cannot be delivered, can be voided with the tokens returned to the holder, and the operator cross-checks the price of every redemption before funding the queue.
- Operator reliability
- No transaction is sent twice after a crash or a stuck send; stale data switches quotes off instead of pricing on it; a silent peer cannot stall the service; USDC transfers between the chains are rebuilt from on-chain logs after a restart.
- Basis vaults
- Order bands follow the oracle, not a book that can be pushed. A vault whose epoch is overdue sidelines its operator and lets anyone settle and unwind. Exits do not freeze on a spot depeg or a delisted perp. Cash owed to queued redemptions stays on hand, and fee changes apply from the next epoch.
- Web app
- Every transaction names Elysium and the trade form is replaced by a network switch on any other chain; one canonical market per name; no horizontal overflow on narrow phones; security headers.
Accepted or still open
The reports also record what was left as it is, by design or for later:
- Trust in the price service. Quotes are not checked on-chain against an independent price. The band, the caps and the guardian bound the damage of a bad signer; Elysium reading Hyperliquid natively is what removes it.
- A leaked operator key can still trade inside the price band and the hourly limits until the guardian pauses it. The bounds exist to make that small, not impossible.
- Funding wears down isolated margin over time; the operator rebalances it hourly by selling the equivalent exposure.
- Queue order is first in, first out: a large claim at the head holds smaller ones behind it until it is paid or voided.
- A corrected settlement price does not reach claims already queued at the earlier price.
- Basis vaults still need a set of checks with small capital on mainnet before opening, and their production parameters set.
- Separate keys and a timelocked owner are not in place yet: see Roles and powers.
Tests
Test counts as the reports state them:
| After | Contracts | Keeper | Notes |
|---|---|---|---|
| Round 3 | 88 | 51 | |
| Round 5 | 79 | Including a 20,000-case fuzz of every basis operator action against a model of the vault's checks. | |
| Round 6 | 152 | 83 | Web typecheck clean; network gate 22 of 22 with a scripted wallet; no overflow at 320 to 430 px. |
| Round 7 | 47 of 47 (Elysium suite) | 86 of 86 | Counts before the round's fixes, which added new tests; the trade form was then run end to end on a local Elysium. |
Reporting a bug
If you find a vulnerability, open a private report through the team's X account @portedfi. Describe the issue and how to reproduce it, ideally as a test against a fork. Please do not try it against the live contracts, and give the team time to fix it before telling anyone else.