defirisk.co
rubric v1.7.0

Reentrancy guard on external-calling functions

PancakeSwap's assessment for RD-F-014 — scored green on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.

Evidence summary #

V3 Pool uses lock() modifier (slot0.unlocked bool mutex) on mint, burn, swap, flash — all externally-calling state-mutating functions. V2 Pair uses lock modifier on swap, mint, burn. Infinity uses vault-lock mechanism. Multiple audits across 6 firms found no reentrancy issues in live functions.

Sources #

  • GitHub
    PancakeV3Pool.solV3 Pool source — lock() modifier on mint/burn/swap/flashretrieved 2026-04-29

Methodology #

Determine whether all state-mutating functions that perform external calls carry `nonReentrant` or an equivalent reentrancy guard.

See the full factor methodology and distribution across all protocols →

rubric_version v1.7.0 protocol pancakeswap factor RD-F-014 score green collected_at 2026-04-28 19:10:57