Hunt prep
Before you test Swafe
What 7 disclosed reports say about Swafe: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
Marking a backup makes recovery impossible (recover list never queried)
The recover_backups function was changed to iterate the recover queue (and the social recovery entry) instead of the backups list.
Disclosed
-
Guardian share replay overwrite causes persistent recovery DoS (missing session binding)
Guardian shares should be bound to a recovery session identifier in the signed payload and verified against the current session on upload, rejecting stale shares; the project mitigated this by binding shares to sessions via a SessionId.
Disclosed
-
Majority consensus threshold not enforced for even number of nodes
The threshold should be changed to strict majority, and the project mitigated it by adding a helper returning half plus one and replacing the ceiling division in both functions.
Disclosed
-
Replayable recovery requests allow attacker to permanently block account recovery
The signed recovery message should include freshness such as the account version and a recovery counter, and verification should enforce that the request targets the exact current state version; the report states this was mitigated and confirmed.
Disclosed
-
Unbounded associations per account make recovery initiation linear-time
The issue was mitigated by adding a maximum associations constant, rejecting additions beyond the cap, and validating submitted states against the cap.
Disclosed
-
Recovery can be done without Guardians’ approvals by looking at initial account update tx data
The project mitigated it by setting the initial threshold to one so the initial backup is unrecoverable, and by moving the guardian-count check so internal recovery creation can produce intentionally unrecoverable backups.
Disclosed
-
Unable to upload guardian shares on social backup
The lookup should search both AccountState.backups and AccountState.rec.social; the project mitigated it accordingly and the mitigation was confirmed.
Disclosed