defirisk.co
rubric v1.7.0

First-depositor / share-inflation guard

SUNSwap (sun.io)'s assessment for RD-F-075 — scored not_applicable on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.

Evidence summary #

No ERC-4626-style vault shares exist in SUNSwap's architecture. V1 LP tokens follow Uniswap V2 mechanics (minimum liquidity burned to address(0) on first deposit, preventing zero-totalSupply donation attack). V2/V3 CLMM: positions are NFT-represented — no fungible-share inflation surface by construction. V4 singleton: Hooks architecture does not introduce a share-based vault surface. The first-depositor share-inflation attack requires assets/totalSupply vault accounting; none of SUNSwap's versions implement this pattern. PD-024 lending-only N/A.

Sources #

  • Internal
    SUNSwap protocol profile §5 and §3 — Uniswap-family AMM, no share-vault surface.research/protocols/sunswap/00-profile.md §5 — fork lineage: Uniswap V2/V3/V4 architecture; §3 — V3 NonfungiblePositionManagerretrieved 2026-05-17
  • Internal
    Taxonomy §Cat 4 PD-024 applicability ruleresearch/outputs/03-taxonomy.md §Category 4 PD-024: lending-only N/A for DEXretrieved 2026-05-17

Methodology #

Determine whether the vault has a first-depositor guard (seed deposit on deploy, virtual-share offset, or floor-check).

See the full factor methodology and distribution across all protocols →

rubric_version v1.7.0 protocol sunswap factor RD-F-075 score not_applicable collected_at 2026-05-17 14:37:31