Skip to content

Sherlock

HatsSignerGate v2

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

disclosed reports
2
most reported class
Access control
bug classes found
2
first disclosure
2024
Find HatsSignerGate v2 on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what HatsSignerGate v2 chose to make public.

Race condition

Signer can avoid restrictions and change `safe` state variables

The HatsSignerGate contract stores the Safe's owners and threshold before a delegatecall to check afterwards that they haven't changed. A signer can re-enter checkTransaction during the delegatecall, overwriting the stored values with new ones, so the post-check passes and the signer can become the sole owner with threshold 1.

HatsSignerGate v2

Medium
Access control

Detaching HSG when there's non-unregistered owners who no longer own the hat would give them control over the multi-sig

When the HatsSignerGate (HSG) is detached from a Safe, it does not remove Safe owners who no longer wear the required signer hat. An attacker with an admin hat over a signer hat can front-run the detachment to transfer the signer hat to many addresses, making them Safe owners and potentially gaining full control of the multi-sig.

HatsSignerGate v2

High