Skip to content

Code4rena

Swafe

Every publicly disclosed report for Swafe and what kind of bugs they were.

disclosed reports
7
most reported class
Business logic
bug classes found
3
first disclosure
2026
Find Swafe on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Swafe chose to make public.

Business logic

Marking a backup makes recovery impossible (recover list never queried)

A backup marked for recovery is moved from the backups list to a separate recover queue, but the function that looks up backups still reads only the original backups list. As a result, guardian share uploads for that backup fail with 'Backup not found', so the user can never collect enough shares to reconstruct the secret.

Swafe

Medium
Business logic

Majority consensus threshold not enforced for even number of nodes

The majority threshold calculation used ceiling division, so with an even number of nodes exactly half could meet the threshold instead of a true majority. This allowed a minority of nodes to control reconstruction of the RIK data and recovery key.

Swafe

Medium
Business logic

Replayable recovery requests allow attacker to permanently block account recovery

Recovery requests were signed but not bound to the account version or a nonce, so an old recovery request could be replayed to overwrite the current recovery key. An attacker could keep replaying an old request so guardians encrypt shares to a key the user no longer holds, permanently blocking account recovery.

Swafe

Medium
Business logic

Unable to upload guardian shares on social backup

The upload-share endpoint only searches AccountState.backups for a backup ciphertext, but social backups are stored in AccountState.rec.social, so it returns 'Backup not found'. This prevents guardians from uploading their shares, making social recovery impossible.

Swafe

Medium