AVS & Restaking Security Audit

AVS Audit — An AVS audit reviews Actively Validated Services and the restaking layer beneath them — slashing conditions, operator set management, the cryptoeconomic security budget and the correctness of the task-verification logic — to establish whether the service is actually secured by the stake it claims.

What a avs audit covers

Restaking creates a new failure mode: the same stake securing several services at once, where a correlated failure or an aggressive slashing condition can cascade. On top of that, AVS designs frequently assume a security budget without checking whether the cost of corrupting the operator set is genuinely higher than the value at risk.

We review the slashing logic for both directions of failure — honest operators being slashed, dishonest ones escaping — the task verification and dispute process, operator set management, and the actual cryptoeconomic maths: what it costs to corrupt the service versus what corrupting it is worth.

Vulnerability classes we look for

Slashing condition correctness

Conditions triggerable against honest behaviour (liveness blips, reorgs) or unenforceable against real misbehaviour due to evidence requirements.

Cryptoeconomic security budget

Value secured exceeding the cost of corrupting the operator set, and shared stake counted once per service.

Operator set management

Registration and ejection races, stake-weight calculation errors, and rotation with insufficient delay.

Task verification and dispute

Verification that trusts the operator's own claim, dispute windows too short to act, and challenge costs exceeding challenge rewards.

Correlated failure across services

One operator error slashing stake across several AVSs simultaneously, cascading into the restaking layer.

Aggregation and signature verification

BLS aggregation errors, threshold arithmetic, and stale operator sets used in verification.

Withdrawal and unbonding paths

Stake withdrawable before liability ends, and queues that can be jumped ahead of a slashing event.

Upgrade authority over slashing

Whoever can change slashing conditions can effectively confiscate or release stake.

In scope

Not in scope unless agreed

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

How we rate severity

SeverityWhat it means
CriticalDirect loss of funds or permanent freezing of assets, exploitable by any actor.
HighLoss of funds or protocol insolvency under realistic conditions, or requiring a privileged actor to misbehave.
MediumBroken protocol behaviour, denial of service, or value leakage that does not directly drain the contract.
LowEdge-case incorrectness with limited impact, or an issue requiring implausible preconditions.
InformationalCode quality, gas efficiency, documentation mismatch and defence-in-depth suggestions.

Pricing

Single token contract: starts from $999, report in 24–48 hours. dApp, GameFi or RWA project: starts from $2,999. DeFi protocol, L2 / rollup, Bridge, ZK circuit, AI agent / MCP: scoped per project after we have seen the code.

AVS Audit: frequently asked questions

Do you analyse the security budget, not just the code?

Yes. We compute what it costs to corrupt the operator set against the value your service protects. If corruption is cheaper than the prize, no amount of correct code fixes it.

How do you test slashing?

In both directions: we try to trigger slashing against an honest operator, and we try to misbehave in a way that avoids slashing. Both are findings.

What about correlated slashing across multiple AVSs?

We model it explicitly, because shared stake means one operator mistake can cascade. This is the risk restaking introduces that ordinary staking does not have.

Can you review our task verification design?

Yes — whether verification genuinely proves the work, whether disputes are practical to raise and win, and whether the challenge economics make honest challenging worthwhile.

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.

Is a re-test included after we fix the issues?

Yes. Fix review is part of the engagement, not an upsell. We re-run the original proof of concept against your patched code and confirm the fix has not introduced a new path.

Related security services

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.