Platform: Code4rena
Start Date: 13/10/2023
Pot Size: $31,250 USDC
Total HM: 4
Participants: 51
Period: 7 days
Judge: 0xsomeone
Id: 295
League: ETH
Rank: 48/51
Findings: 1
Award: $14.47
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: niroh
Also found by: 0xDetermination, 0xSmartContract, 0xbrett8571, 0xdice91, 0xweb3boy, Bauchibred, Bube, DadeKuma, JCK, K42, LinKenji, Myd, SAAJ, ZanyBonzy, albahaca, castle_chain, catellatech, digitizeworx, emerald7017, fouzantanveer, hunter_w3b, invitedtea, m4ttm, rahul, xiao
14.466 USDC - $14.47
Brahma Console is a custody and DeFi execution environment built on Gnosis Safe contracts. It provides users with automation and isolation via Console Accounts and SubAccounts. This report analyzes the codebase architecture, security, and risks.
Brahma Console consists of core contracts like AddressProvider, registries, and services. It also utilizes external contracts from Gnosis Safe and other DeFi protocols.
AddressProvider
- Single source of truth for contract addressesPolicyValidator
- Validates policy signatures on transactionsTransactionValidator
- Additional transaction validation logicSafeDeployer
- Deploys Console Accounts and SubAccountsWalletRegistry
- Maps wallets and subaccountsAddressProvider
governance is transferrable but protected against unauthorized accessExecutorRegistry
PolicyValidator
provides validation of policy signaturesTransactionValidator
hooks provide additional transaction validationAddressProvider
for resolving addressesAddressProvider
would be seriousThe Brahma Console codebase demonstrates good security practices like role-based access control, validation, and modular architecture. Main Console override capabilities provide a centralized kill switch. While reliance on core contracts introduces some centralization, the overall approach reduces systemic risk.
3 hours
#0 - c4-pre-sort
2023-10-22T21:15:55Z
raymondfam marked the issue as sufficient quality report
#1 - alex-ppg
2023-10-27T13:27:18Z
The report is decent and lays out correct points, however, they are items that do not necessarily indicate in-depth insight into the Brahma project.
#2 - c4-judge
2023-10-27T13:27:24Z
alex-ppg marked the issue as grade-b