Blockchain Security for Custodians

Custodians — Custody security is the review of the systems and processes that hold private keys on behalf of third parties — key generation and ceremony, HSM or MPC architecture, quorum and approval policy, segregation of client assets, and the recovery paths that must work on the worst day — assessed against the possibility that any single person or system in the chain is compromised.

Blockchain security for custodians

Custody is the one part of this industry where the security model is the product. Clients are not buying software; they are buying the assertion that a key cannot be misused by an outsider, an insider, a vendor or an accident, and that assertion needs to be demonstrable rather than asserted. Our work exists to make it demonstrable.

The technical review goes deep on the cryptographic and architectural core: how keys are generated and whether the entropy and ceremony are sound, how an MPC scheme distributes trust and whether the implementation matches the protocol it claims, how HSM policies constrain signing, and — most importantly — what an operator or engineer with maximum legitimate access can actually cause to happen. In custody, insider capability is the risk model, not an afterthought.

The operational review is equally weighted, because custody failures are usually procedural. Quorum policies that degrade under staff absence, approval workflows with an emergency bypass nobody has tested, backups that contain more than they should, disaster recovery documented but never executed, and client asset segregation that is correct in the database but not in the on-chain address structure. We test the procedures by running them, not by reading them.

Where the risk actually sits

Key generation and ceremony weaknesses

Insufficient entropy, ceremonies performed on general-purpose machines, unwitnessed generation, and no verifiable record that the process followed the documented procedure.

MPC and threshold implementation flaws

Protocol implementations diverging from their specification, missing abort handling, share refresh that never runs, and deployments where the shares live close enough together to defeat the threshold assumption.

HSM policy and signing authority

Policies that permit signing arbitrary payloads, weak policy change controls, and administrative access to the HSM that bypasses the constraints the architecture depends on.

Insider capability

What one, two or three colluding insiders can move; whether separation of duties survives real staffing; and whether logs of privileged action can be altered by the people they record.

Client asset segregation

Omnibus versus segregated address structures, correctness of internal ledger to on-chain reconciliation, and whether client claims are provable independently of your database.

Approval workflow bypass

Emergency override paths, whitelist management, travel-rule and destination checks that fail open, and approval systems where the requester can influence the approver channel.

Recovery and continuity failure

Backups containing recoverable key material, recovery procedures never executed end to end, and continuity plans that assume the availability of specific individuals.

What the programme covers

Custody architecture assessment

Full trust-boundary map of key material from generation to signing to backup, with an explicit statement of what each component must be trusted for.

MPC/HSM implementation review

Cryptographic implementation review against the claimed protocol, policy configuration review, and testing of the constraints the architecture relies on.

Ceremony and rotation observation

Witnessed key ceremony and rotation, with an independent record of what was performed and where practice diverged from procedure.

Insider threat and separation-of-duties testing

Assumed-compromise exercises across operator, engineer and administrator roles, measuring reachable authority rather than assumed authority.

Segregation and reconciliation review

Verification that client balances reconcile to on-chain reality and that segregation claims hold at the address level, not only in internal accounting.

Recovery exercise

Executing the disaster recovery procedure against a real environment to find the steps that only work on paper — routinely the highest-value part of the engagement.

Compliance, evidence and reporting

How the engagement runs

  1. Scoping and threat modelling

    We fix a commit hash, agree the in-scope contracts and read your architecture docs, then build a threat model: who the actors are, what the trust boundaries are, and which invariants must never break. Nothing is reviewed against assumptions we have not written down.

  2. Manual review

    Line-by-line review by at least two auditors working independently, focused on authorisation, accounting, upgrade paths, external integrations and the gap between what the code does and what the documentation claims it does. Most critical findings come from this phase, not from tooling.

  3. Static and dynamic analysis

    Static analysers appropriate to the language, plus property-based fuzzing and invariant testing to push the system into states no unit test covers. Tooling is used to widen coverage, never to replace the manual pass.

  4. Exploit-path simulation

    Candidate findings are proven on a forked network with a working proof of concept. We report what an attacker can actually do and what it costs them, not a theoretical severity label.

  5. Reporting

    Every finding gets a severity rating, reproduction steps, the affected code, the impact in concrete terms and a specific remediation. You get a draft for discussion before anything is finalised.

  6. Fix review and re-test

    We re-test every remediation against the original proof of concept and check that the fix has not opened a new path. The final report is yours to publish.

What you receive

Custodians: frequently asked questions

We use a well-known MPC vendor. What is left to review?

A great deal. The vendor's cryptography is one component; your policy configuration, share distribution, operator procedures, approval workflow, recovery process and insider controls are yours, and that is where custody incidents happen.

Will you observe a live key ceremony?

Yes, and we recommend it. An observed ceremony with an independent record is one of the strongest pieces of evidence a custodian can hold, and it consistently surfaces divergence between the written procedure and actual practice.

Can you test our disaster recovery without risking live keys?

Yes. We run recovery against an equivalent environment with test key material, using the same procedures, people and tooling. If the procedure only works when the author is in the room, that is exactly what we want to discover.

Do you assess insider risk?

It is central to the engagement. We measure what each privileged role can actually reach, whether collusion thresholds hold under real staffing, and whether privileged action logging can be influenced by the people it records.

Can we share the report with our clients?

Yes, and most custodians do. We can produce a summary version suitable for client and counterparty distribution alongside the full technical report.

What do you need from us to start an audit?

A repository or contract address, a commit hash to freeze the scope, whatever architecture or spec documentation exists, and a point of contact who can answer design questions. If documentation is thin we will write our understanding of the system back to you and ask you to confirm it — that step alone catches design-level bugs.

How long does an audit take?

A single token contract is 24–48 hours. A typical dApp or mid-sized protocol runs one to two weeks. Large DeFi systems, L2s, bridges and ZK circuits are scoped per project after we have seen the code. We will give you a fixed timeline with the quote, not an estimate that moves.

Services this segment usually buys

Blockchain security by industry

Get a fixed quote in 24 hours

Send the repository and a commit hash through the contact form, message @bugtester25 on Telegram, or book a 30-minute scoping call. 200+ protocols audited · $4B+ secured · 0 hacks post-audit. Prefer email? info@safeedges.in.