Skip to content

Smart-contract audits

We audit the code
we know how to build.

For teams building smart accounts, Safe modules, EIP-7702 delegates and intents. Your audit is done by the engineer who wrote Safe’s ExtensibleFallbackHandler and CoW Protocol’s ComposableCoW.

Example checks from an audit. Every audit’s list is built for your system.

The tower’s example checks, crown to base

Incident

  • Pause path tested

Contracts

  • Domain binds chain ID
  • Upgrade path timelocked
  • Invariants hold under fuzz
  • Storage layout preserved
  • Initialiser runs once

Signing

  • Module paths mapped
  • Guard checks every call
  • Signer sees calldata
  • No single-signer path
  • Key ceremony witnessed

Infrastructure

  • Relayer cannot reorder calls
  • Keepers hold no admin
  • Bridge config matches spec
  • Publish rights scoped
  • Dependencies pinned by hash
KS-02

Your auditor wrote this code

Every audit is done by the engineer who wrote this code:

The engineer on your first call does the audit and stays with it to the end. Where your scope includes code they wrote, an independent reviewer audits those parts.

KS-03

What an audit covers

We audit the contracts and the parts around them where funds are actually lost:

Contracts and upgrades

Line-by-line audit before launch; design review before code is written.

How you sign

Safe set-up, modules, guards and fallback handlers, EIP-7702 delegates, signer procedures.

Off-chain code

Keepers, relayers, solvers and signer services; bridge configuration; the build and dependency chain.

What you get: a report that lists every finding with a fix, names what the system trusts (admins, signers, oracles, upgrade paths), and records the exact commits reviewed and what was out of scope. Fix review is included. Tooling clears pattern-level bugs first, so the hand review goes on what is new in your design.

An audit reduces risk; it isn’t a guarantee.

KOSHKI-SAMPLE-01Rev BFix reviewedSynthetic example written for this page. Not client work.

High

Signed batches can be replayed on other chains

src/BatchExecutor.sol L41–47
41function executeWithSig(Call[] calldata calls, uint256 nonce, bytes calldata sig) external {
42 require(nonce == _nonce++, "nonce");
43−removed line bytes32 digest = keccak256(abi.encode(calls, nonce));
43+added line bytes32 digest = _hashTypedData(
44+added line keccak256(abi.encode(EXECUTE_TYPEHASH, _hashCalls(calls), nonce))
45+added line );
46 require(ECDSA.recover(digest, sig) == address(this), "sig");
47 _execute(calls);
  1. L42 · Why it matters

    Nonces are per chain, and every chain starts at 0. The same signature is valid everywhere.

  2. L43 · How we found it

    We traced every path from signed message to call. This digest has no domain.

  3. L44 · The fix

    An EIP-712 domain binds the chain ID and the account. We re-tested the fix at 3f9c2e1.

  • Incident readiness. Runbooks, pause-path review and standby in Australian and Asian business hours.

    Read more
KS-04

How to start

  1. A 30-minute call with the engineer who’ll do the audit. Technical, no slides: what you’re building, what changed, and when you need it.
  2. A written scope and fixed quote, prepared from that call: what’s covered, what isn’t, and why. No quotes without a call.
  3. The audit. Serious findings reach you as soon as we confirm them, so your team can start fixing before the report lands.
Book a scoping call
Reporting a vulnerability
[email protected] Encrypted with our PGP key (fingerprint 05F0 5FB8 9FFA 6DAB EA00 F4E6 E576 183A 0B2C 35A1). See our disclosure policy.