Skip to content

Code4rena

Krystal DeFi Invitational

Every publicly disclosed report for Krystal DeFi Invitational and what kind of bugs they were.

disclosed reports
5
most reported class
Business logic
bug classes found
2
first disclosure
2024
Find Krystal DeFi Invitational on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Krystal DeFi Invitational chose to make public.

Business logic

The Protocol breaks the Allowance Mechanism of the NFTs

The protocol transfers NFT positions to itself and back to the owner to execute actions, which clears any existing approvals for those tokens. As a result, users lose approvals they had granted to other entities, potentially leaving positions unattended.

Krystal DeFi Invitational

Medium
Business logic

Swapping logic would be broken for some supported tokens

The swap function resets token approvals to zero after each swap, but some supported tokens revert on zero-value approvals, causing all swaps involving those tokens to fail. An attacker could not exploit this directly, but it breaks core functionality for affected tokens.

Krystal DeFi Invitational

Medium
Business logic

_deductFees() is incompatible with tokens that revert on zero value transfers

The fee-deduction helper computes a fee amount that can round down to zero for small amounts, then still calls a token transfer for that zero value. On tokens that revert on zero-value transfers, this makes the main functionality of the affected contracts revert.

Krystal DeFi Invitational

Medium