Download the report (PDF)
Goldstein Security Audit Report, v4 Contract Suite. Four pages.
Result
The report presents seven findings and their status at the reviewed commit. Five are fixed in code. For the other two, the condition that caused the problem is absent in the deployed contracts.
Severity describes the original impact of each finding. Bevor notes that the ratings for H01, H06 and H07 are provisional.
- Fixed means the reviewed code blocks the sequence that caused the problem.
- Condition absent means the deployed contracts avoid the configuration the problem needs. It is not a code repair.
The findings in brief
- H01, USDG pricing. The fund valued its holdings in dollars while deposits were counted in USDG. With USDG under $1, later buyers would have received too many shares. The valuation now converts to USDG units.
- H06, mint-limit accounting. Withdrawals and refunds released mint capacity that also covered pending deposits. Settled usage and pending reservations are now tracked separately.
- H07, secondary basket allowance. A fee arriving during a trade changed the basket the desk needed, so the transaction reverted with fund balances intact. The desk now reads the basket after its swaps.
- H08, delayed-claim dilution. An undelivered claim could keep its earlier pricing after the share supply reached zero. A later round can no longer settle until earlier settled claims are delivered.
- H09, overdue refund failure. One seat’s withdrawal could release another customer’s pending reservation, and a later refund then failed. Reservation accounting is now separate and the refund goes through.
- H14, native mint proceeds. A seat set to pay the Treasury proxy would have failed, because that proxy rejects native currency. The live seat pays a receiving wallet, so the condition is absent.
- H15, airdrop token binding. The claim contract stores its token permanently, so funding one deployed with the wrong token would trap the allocation. The live claim contract names GLDSTN.
What was reviewed
The report covers the contracts at that commit. Contracts deployed after it are not part of this report.
Bevor withheld some findings from the public version for safety reasons.
An audit lowers risk. It does not remove it. See Risks and legal.