Aztec Smart Contract Audit

A Aztec smart contract audit is a security review of code deployed to Aztec, carried out against the Cairo VM with STARK proofs execution model and written in Noir — covering both the bug classes shared across Cairo / STARK systems and the failure modes specific to Aztec.

Aztec adds privacy to the audit surface. Alongside the usual questions about correctness, a Noir circuit review must answer whether the constraint system is complete and whether the private state actually stays private.

Auditing on Aztec

Two failure classes dominate zero-knowledge application review: under-constrained circuits, where a valid proof can be produced for a false statement, and privacy leakage, where public inputs, note structure or transaction metadata reveal what should be hidden.

We review circuit constraints for completeness and soundness, nullifier derivation and double-spend protection, note encryption and discovery, and the public/private boundary of your contract logic.

What we test that is specific to Aztec

Under-constrained circuits

Missing constraints allowing a valid proof for an invalid statement — the highest-severity class in any ZK system.

Nullifier derivation

Nullifiers that can collide, be predicted, or fail to prevent double-spending.

Private/public boundary leakage

Public inputs, note shapes, amounts or timing that reveal private information.

Note encryption and discovery

How notes are encrypted, discovered and decrypted, and what an observer learns from the process.

Contract composition

Private functions calling public ones and the information that crosses the boundary.

Shared Cairo / STARK attack surface

Aztec runs on Cairo VM with STARK proofs, so it inherits the bug classes below from every system in that family.

Felt arithmetic and range assumptions

Field element arithmetic wrapping in ways integers do not, and range checks omitted on user input.

Native account abstraction

Every account being a contract changes signature validation, msg.sender semantics and multicall behaviour.

L1 to L2 messaging

Message consumption, replay protection and handling of messages that are sent but never consumed.

Storage layout and address collisions

Storage variable addressing, mapping collisions and packed-struct assumptions.

Contract class and upgrade model

Class hash replacement authority and constructor logic across declare/deploy.

Sequencer and fee-token behaviour

Fee estimation, sequencer liveness and behaviour when the network is congested.

Tooling we use on this runtime

Aztec contracts are written in Noir. See our Noir audit methodology.

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

Aztec audit: frequently asked questions

What is an under-constrained circuit?

A circuit missing a constraint it needs, so a prover can generate a valid proof for a statement that is false. It is the ZK equivalent of an unchecked authorisation and it is the highest-severity finding class in this space.

Do you review privacy leakage as well as correctness?

Yes. A circuit can be perfectly sound and still leak — through public inputs, note structure, amounts or timing. We review both.

Do you audit Noir circuits outside Aztec?

Yes. Noir is used across several ZK stacks and the constraint review is the same discipline.

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.

Audits on related chains

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.