defirisk.co
rubric v1.7.0

Empty cToken-style market (zero supply/borrow)

Uniswap (v2 + v3)'s assessment for RD-F-070 — scored not_applicable on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.

Evidence summary #

[★ CRITICAL — NOT APPLICABLE] V2 is a constant-product AMM; V3 is a concentrated-liquidity AMM. Neither is a Compound V2 fork. No cToken-style markets, no totalSupply/totalBorrow lending mechanics, no borrow-enable lifecycle, no donation-attack surface. V2 is forked BY SushiSwap/PancakeSwap/QuickSwap — it is NOT a fork of any lending protocol. ★ flag does not fire.

Detail #

Taxonomy §Category 4 PD-024: 'Compound-fork-only (subset of lending-only): RD-F-070 ★ — N/A for non-Compound-fork protocols.' Profile meta.json fork_lineage: v2_forked_from='not forked — original protocol', v3_forked_from='not forked — original protocol'; cat8_pre_mark='all_not_applicable_both_versions'. V3 whitepaper §1-3 describes concentrated-liquidity AMM design with no lending component. V3 Pool.sol implements swap() and mint()/burn() for LP positions — no borrow/cToken mechanics. V2 pair.sol implements swap() and mint()/burn() under constant-product invariant — no lending mechanics. V2 has been forked by SushiSwap (2020-08), PancakeSwap (BNB), QuickSwap (Polygon) — but V2 itself originated from V1 AMM, not from any lending protocol. Critical flag does not fire.

Sources #

  • Curator note
    Taxonomy PD-024 + profile meta fork_lineageTaxonomy §Category 4 PD-024: Compound-fork-only sub-bucket. Profile meta.json fork_lineage: both v2 and v3 are 'not forked — original protocol'. cat8_pre_mark=all_not_applicable_both_versions. Critical flag does not fire.retrieved 2026-05-12
  • GitHub
    Uniswap v3-core GitHub — Pool.solv3-core Pool.sol — AMM swap/LP mechanics, no cToken/lending patternretrieved 2026-05-12
  • GitHub
    Uniswap v2-core GitHub — UniswapV2Pair.solv2-core UniswapV2Pair.sol — constant-product AMM swap/mint/burn, no borrow mechanicsretrieved 2026-05-12
  • Docs
    Uniswap V3 WhitepaperUniswap V3 whitepaper §1-3 — concentrated-liquidity AMM design, no lending componentretrieved 2026-05-12

Methodology #

Determine whether any listed Compound V2-fork market has `totalSupply == 0` and `totalBorrow == 0`, the precondition for a donation-exploit.

See the full factor methodology and distribution across all protocols →

rubric_version v1.7.0 protocol uniswap factor RD-F-070 score not_applicable collected_at 2026-05-12 10:36:11