Rain / Prediction Markets

HackenFiles named in the report

Hacken reviewed RAIN (Rain / Prediction Markets) on 5 Jun 2026: 29 findings, 0 critical; 23 marked fixed, 6 acknowledged; 1 more marked mitigated.

No open critical findings
Open the reportOpen RAIN’s security record

Report hosted on hacken.io.

Trustblock does not review code.

Findings49

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixedMitigated
Critical0000
High0120
Medium0480
Low01131

Marked Observation by the firm. Not counted as findings.

ObservationHardcoded 1e6 Minimum-Order Floor Breaks on Non-6-Decimal Quote TokenAcknowledged

The report gives no description here.

ObservationoracleFactoryAddress Mutability Silently Affects All Pre-Existing Pools' Appeal FlowsAcknowledged

The report gives no description here.

ObservationcancelSellOrders and cancelBuyOrders Fail to Advance firstSellOrderPrice and firstBuyOrderPrice, Causing Stale Price ReadsFixed

The report gives no description here.

ObservationcreatePool Uses Raw transferFrom for the Two Oracle-Fee PullsFixed

The report gives no description here.

ObservationenterLiquidity / enterLiquidityBatch / removeLiquidity Lack minYesOut / minNoOut and deadline, Exposing LPs to Uncontrolled Position CompositionFixed

The report gives no description here.

ObservationFee Setters Lack Upper-Bound Validation Brick Future Pools' ResolutionFixed

The report gives no description here.

ObservationFloating PragmaFixed

The report gives no description here.

ObservationIncorrect NatSpec in _calculateNumberOfOracles Misstates Oracle Base CountFixed

The report gives no description here.

ObservationIncorrect NatSpec in _calculateNumberOfOracles Misstates Oracle SizingFixed

The report gives no description here.

ObservationMissing and Mis-Ordered option Bounds Checks in Resolution and Dispute Facets Surface Misleading RevertsFixed

The report gives no description here.

Show 9 more
ObservationMissing Events on Privileged Setters Across the CodebaseFixed

The report gives no description here.

ObservationMissing Minimum Amount Check in enterOption Allows Fee-Free Trades, Reducing LP ReturnsFixed

The report gives no description here.

ObservationMissing Zero-Address Validation in RainDeployerFixed

The report gives no description here.

ObservationOdd Creator Fee in referrerCreatorClaim Strands One Wei Per CallFixed

The report gives no description here.

ObservationopenDispute Emits ResolverSet With the Stale Pool-Level Resolver Instead of the Just-Assigned Per-Option ResolverFixed

The report gives no description here.

ObservationplaceSellOrder, placeBuyOrder, and enterOption Advance Best-Price Pointers Beyond Valid Tick Bounds When No Remaining Orders ExistFixed

The report gives no description here.

ObservationPlatformClaim Unconditionally Emitted at End of swapAndBurnFixed

The report gives no description here.

ObservationsetBaseToken Retroactively Breaks createOracle for Every Pre-Existing PoolFixed

The report gives no description here.

ObservationswapAndBurn Dead else Branch Silently Transfers baseToken if Activated by Future RefactorFixed

The report gives no description here.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Repository and files the report names (23)

  • src/shared/Constants.sol
  • src/libraries/helpers/SafeMath.sol
  • src/diamond/RainPoolDiamond.sol
  • src/diamond/facets/DisputeFacet.sol
  • src/RainDeployer.sol
  • src/diamond/facets/InfoFacet.sol
  • src/diamond/libraries/LibDiamond.sol
  • src/diamond/facets/TradingFacet.sol
  • src/utils/Globals.sol
  • src/diamond/libraries/PathKey.sol
  • src/diamond/facets/GetterFacet.sol
  • src/diamond/facets/CancelOrderFacet.sol
  • src/diamond/facets/ResolutionFacet.sol
  • src/diamond/libraries/LibUtils.sol
  • src/diamond/facets/DiamondCutFacet.sol
  • src/libraries/helpers/UniswapV2Library.sol
  • src/RainDiamondFactory.sol
  • src/diamond/shared/Types.sol
  • src/libraries/LinkedList.sol
  • src/diamond/facets/OracleFeeFacet.sol
  • src/diamond/facets/DiamondLoupeFacet.sol
  • src/diamond/facets/ClaimFacet.sol
  • src/diamond/facets/SplitMergeFacet.sol

Part of RAIN’s security record

RAIN
Audits2 audits by 1 firmLast audit Jun 2026, by Hacken.
Critical findingsNo open critical findingsAcross 2 reports.
Open RAIN’s security record

Security firm

Hacken

377 projects reviewed · 517 reports · latest Nov 2026

See Hacken’s audits

Something wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.

Tell us