Security & Audits

Independent audits of the Kasu contracts by 0xCommit and ChainSecurity, the upgradeability and ProxyAdmin isolation model, and the emergency mechanisms.

Smart Contract Audits#

Kasu's smart contracts have been audited by two independent security firms:

Audit FirmDateScopeReport
0xCommitJune 12, 2024Security Assessment ReportPDF
ChainSecurityOctober 1, 2024Code Assessment of Kasu Core Smart ContractsPDF

All audit reports and security-related information are maintained in the Kasu Security Repository.

Upgradability#

All Kasu smart contracts use the OpenZeppelin TransparentUpgradeableProxy pattern. Each proxy has its own dedicated ProxyAdmin contract for security isolation — a compromised ProxyAdmin only affects one proxy, not the entire system.

ProxyAdmin ownership is held by the Kasu multisig on each network.

Emergency Mechanisms#

MechanismFunctionDescription
System PauseKasuController.pause()Halts all system activity across all lending pools
Emergency WithdrawKSULocking.emergencyWithdraw()Forcibly unlocks all users' KSU positions
Pool StopLendingPoolManager.stopLendingPool()Halts a specific lending pool's operations

Access Control#

Administrative functions are protected by role-based access control managed through the KasuController contract. Critical operations require multisig approval. See Roles & Access Control for the complete role matrix.