ekubo protocol

Cairo Security ClanFiles named in the report

Cairo Security Clan reviewed Ekubo Protocol on 29 Apr 2024: 4 findings, 0 critical; 2 marked fixed, 2 open.

No open critical findings
Open the reportOpen Ekubo Protocol’s security record
Report stored on IPFS. Content hash bafybeietwfoct4234hhtdxqb2qpm742ntyq5e3q262tmwe24ych45v4gpu

Trustblock does not review code.

Findings4

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical000
High001
Medium000
Low201
Highcancelled proposal can still be executedFixed

In the governor contract, each proposal's status is tracked by three timestamp values: created, executed, and cancelled. These variables are checked in core functions to ensure correct state changes. However, the execute function does not verify if a proposal has been cancelled by checking cancelled.is_zero. As a result, a cancelled proposal could still be executed if it received enough votes before being cancelled.

Lowthe delegatedsnapshot field delegated_cumulative can overflow into timestampFixed

The packing implementation for the delegatedsnapshot struct compresses a u64 timestamp and a u256 cumulative delegated amount into a felt252 field. It is possible for the cumulative delegated amount to overflow into the bits reserved for the timestamp, causing incorrect timestamp increments and affecting functions that use timestamps to search snapshots.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Repository and files the report names (22)

  • src/airdrop.cairo
  • src/factory_test.cairo
  • src/factory.cairo
  • src/timelock_test.cairo
  • src/test/test_token.cairo
  • src/staker.cairo
  • src/utils/u64_tuple_storage_test.cairo
  • src/interfaces/erc20.cairo
  • src/call_trait.cairo
  • src/lib.cairo
  • src/governor_test.cairo
  • src/e2e_test.cairo
  • src/airdrop_test.cairo
  • src/execution_state.cairo
  • src/utils/u64_tuple_storage.cairo
  • src/timelock.cairo
  • src/execution_state_test.cairo
  • src/staker_test.cairo
  • src/airdrop_claim_check.cairo
  • src/utils/exp2.cairo
  • src/governor.cairo
  • src/call_trait_test.cairo

Part of Ekubo Protocol’s security record

Ekubo Protocol
Audits1 audit by 1 firmLast audit Apr 2024, by Cairo Security Clan.
Critical findingsNo open critical findingsIn 1 report.
Open Ekubo Protocol’s security record

Security firm

Cairo Security Clan

13 projects reviewed · 21 reports · latest Sep 2025

See Cairo Security Clan’s audits

Something wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.

Tell us