defirisk.co
rubric v1.7.0

Arbitrary call with user-controlled target

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

Evidence summary #

V3 Pool callback pattern calls user-supplied swap/mint callee addresses for flash repayment verification — constrained by the lock() mutex ensuring invariants hold post-call. No unconstrained arbitrary call with user-supplied target and data detected. No auditor findings on this pattern across 6 firms covering the deployed code.

Sources #

  • GitHub
    PancakeV3Pool.solV3 Pool source — constrained callback patternretrieved 2026-04-29

Methodology #

Determine whether any contract performs `.call(target, data)` where target and/or data is user-supplied without a target allowlist or selector filter.

See the full factor methodology and distribution across all protocols →

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