Skip to content

Sherlock

Hats

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

disclosed reports
26
most reported class
Business logic
bug classes found
5
first disclosure
2023
Find Hats on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Hats chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
Other module can add owners to safe that push us above maxSigners, bricking safe DoS High – – – 30 Mar 2023
[Medium][Outdated State] `_removeSigner` incorrectly updates `signerCount` and safe `threshold` Business logic Medium – – – 30 Mar 2023
middle level admins can steal child trees because function unlinkTopHatFromTree() is callable by them Access control Medium – – – 30 Mar 2023
Usage of HSG for existing safe can brick safe Business logic Medium – – – 30 Mar 2023
Hats can be overwritten Business logic Medium – – – 30 Mar 2023
Safe threshold can be set above target threshold, causing transactions to revert Business logic Medium – – – 30 Mar 2023
Swap Signer fails if final owner is invalid due to off by one error in loop Business logic Medium – – – 30 Mar 2023
HatsSignerGateBase: valid signer threshold can be bypassed because HSG checks signatures differently from Safe which allows exploitation Access control High – – – 30 Mar 2023
Safe can be bricked because threshold is updated with validSignerCount instead of newThreshold Business logic High – – – 30 Mar 2023
Signers can bypass checks to add new modules to a safe by abusing reentrancy Smart contracts High – – – 30 Mar 2023
If another module adds a module, the safe will be bricked Business logic High – – – 30 Mar 2023
HatsSignerGate + MultiHatsSignerGate: more than maxSignatures can be claimed which leads to DOS in reconcileSignerCount Business logic High – – – 30 Mar 2023
Owners can be swapped even though they still wear their signer hats Access control Medium – – – 30 Mar 2023
attacker can perform malicious transactions in the safe because reentrancy is not implemented correctly in the checkTransaction() and checkAfterExecution() function in HSG Smart contracts Medium – – – 30 Mar 2023
targetThreshold can be set below minThreshold, violating important invariant Business logic Medium – – – 30 Mar 2023
Unlinked tophat retains linkedTreeRequests, can be rugged Access control High – – – 30 Mar 2023
Unbound recursive function call can use unlimited gas and break hats operation DoS Medium – – – 30 Mar 2023
The Hats contract needs to override the ERC1155.balanceOfBatch function Business logic Medium – – – 30 Mar 2023
Signers can bypass checks and change threshold within a transaction Access control High – – – 30 Mar 2023
Can get around hats per level constraints using phantom levels Business logic Medium – – – 30 Mar 2023
If signer gate is deployed to safe with more than 5 existing modules, safe will be bricked Business logic Medium – – – 30 Mar 2023
If a hat is owned by address(0), phony signatures will be accepted by the safe Crypto Medium – – – 30 Mar 2023
Hats.uri function can be DOSed by providing large details or imageURI string or cause large gas fees DoS Medium – – – 30 Mar 2023
Changing hat toggle address can lead to unexpected changes in status Business logic Medium – – – 30 Mar 2023
Signers can brick safe by adding unlimited additional signers while avoiding checks Business logic High – – – 30 Mar 2023
Owners of linkedin tophats cannot have eligibility revoked Access control Medium – – – 30 Mar 2023