Code4rena
K2
Every publicly disclosed report for K2 and what kind of bugs they were.
- disclosed reports
- 60
- most reported class
- Business logic
- bug classes found
- 4
- first disclosure
- 2026
Disclosed reports
Newest first. Only what K2 chose to make public.
-
Factory reserve tokens cannot be upgraded through the intended path
Access control Medium Audit finding +12 collaborators
-
Protocol fee is significantly overcharged upon liquidations
Business logic Medium Audit finding +7 collaborators
-
Stale collateral indices understate health factor
Business logic High Audit finding +21 collaborators
-
swap_collateral bypasses MAX_USER_RESERVES and MIN_FIRST_DEPOSIT , enabling reserve fragmentation that strands bad debt
Business logic High Audit finding +28 collaborators
-
Single-asset cap check wrongfully forgives all remaining debt
Business logic High Audit finding +45 collaborators
-
Every flash liquidation permanently drains the debt-asset reserve, making depositors unable to withdraw their funds
Business logic High Audit finding +48 collaborators
-
internal_liquidation_call validates close factor before min_remaining_debt bump, allowing liquidators to seize 100% of debt when only 50% is permitted
Business logic High Audit finding +34 collaborators
-
Deficit treated as available liquidity
Business logic High Audit finding +27 collaborators
-
Swap output is trusted without settlement verification
Business logic High Audit finding
-
Stale price cache bypasses oracle config changes
Business logic High Audit finding +15 collaborators
-
Cached oracle prices ignore per-asset freshness limits
High Audit finding +4 collaborators
-
Zero-scaled repay clears debt
Business logic High Audit finding +25 collaborators
-
Zero-balance collateral opt-in can make unhealthy positions unliquidatable
Business logic High Audit finding +50 collaborators
-
Self-liquidation with receive_a_token = true bypasses collateral seizure via from == to self-transfer in transfer_on_liquidation , socializing residual debt to reserve deficit
Business logic High Audit finding +35 collaborators
-
Dust cleanup burns more debt than callers account for
Business logic High Audit finding +1 collaborator
-
Unchecked token transfers mint unbacked collateral
Business logic High Audit finding
-
Exact-collateral liquidation skips deficit accounting
Business logic High Audit finding +8 collaborators
-
Same-Asset Borrow Positions Can Become Insolvent With No Working Liquidation Path
Business logic High Audit finding +50 collaborators
-
MIN_LEFTOVER_BASE Prevents Valid Max-Close-Factor Liquidations
Business logic High Audit finding +1 collaborator
-
Post-exit settlement erases pending incentive rewards
Business logic Medium Audit finding +31 collaborators
-
Collateral can be enabled despite pause/freeze or invalid pricing
Business logic Medium Audit finding +16 collaborators
-
Configured health-factor threshold is ignored in key paths
Business logic Medium Audit finding +11 collaborators
-
Permanent protocol brick via reserve ID exhaustion — drop reserve retires IDs without recycling, causing irreversible init reserve DoS after 64 cumulative markets
DoS Medium Audit finding +6 collaborators
-
Global pause does not stop flash loans
Business logic Medium Audit finding +20 collaborators
-
Emission updates retroactively rewrite unaccrued rewards
Business logic Medium Audit finding +10 collaborators
-
Reserve-slot squatting DoS via forced aToken recipient collateral bit
DoS Medium Audit finding +10 collaborators
-
Emergency admin can unpause reserves, breaking pause asymmetry
Access control Medium Audit finding +3 collaborators
-
Incentives silently skip reward checkpointing by querying scaled_total_supply() with the wrong ABI type
Smart contracts Medium Audit finding +12 collaborators
-
Admin transfer leaves stale emergency pause authority
Access control Medium Audit finding +2 collaborators
-
Users can bypass the first deposit check
Business logic Medium Audit finding +10 collaborators