By NHI Mgmt Group Editorial TeamBased on Veria Labs: “How Veria AI Found an Arbitrary Proof Forgery in Aleo” (June 15, 2026)

TL;DR: A critical snarkVM flaw in Aleo enabled arbitrary proof forgery and could have let an attacker submit transactions from any known wallet address, according to VERIA LABS, with the team reporting a $65,000 bounty and no evidence of exploitation. The case shows that autonomous code review now needs governance for machine-discovered attack paths, not just human audit coverage.


At a glance

What this is: Veria Labs says its AI agent found a critical Aleo snarkVM flaw that could have enabled arbitrary proof forgery and transaction submission from any known wallet address.

Why it matters: This matters because zkVM and blockchain assurance depends on cryptographic proof binding, and AI-driven code review is now surfacing failures that can bypass assumptions embedded in audit-heavy systems.


Context

Aleo's issue is not a generic code bug, but a verification failure in a system where cryptographic proofs are the access control boundary. In zkVM designs, the verifier must bind every witness value and challenge in the transcript, otherwise the chain can accept statements that were never actually proven. For IAM and NHI practitioners, the lesson is that identity-like assertions are only as strong as the binding step that ties a claim to a specific actor, wallet, or transaction.

The article also shifts the focus from human-only review to machine-discovered attack paths. An AI agent can traverse large codebases, connect protocol steps, and produce a working proof-of-concept faster than manual audit workflows often expect. That makes governance of AI-assisted security research and cryptographic verification part of the same control problem, not separate disciplines.


Key questions

Q: What breaks when proof verification fails to bind transcript values correctly?

A: The verifier can accept a forged proof even when the underlying statement was never honestly proven. In practice, that means a transaction or authorisation claim can appear valid because the challenge was derived before the witness values were absorbed, which breaks soundness at the exact point the system is supposed to enforce trust.

Q: Why does batched verification increase the impact of a single cryptographic bug?

A: Batching compresses many openings into one check, so a flaw in the batch logic can affect every proof that passes through that path. If the batch equation is built on incomplete transcript binding, the verifier may validate an aggregate result that hides individual dishonest openings.

Q: How can security teams tell whether transcript-binding controls are working?

A: They should be able to trace every verifier challenge back to a transcript that includes the exact witness or commitment values it is meant to bind. If any challenge is sampled before the relevant inputs are absorbed, or if batch and single-check results diverge under test, the control is not working as intended.

Q: What should teams do when an AI agent finds a deep protocol flaw?

A: Treat the finding as a governance event, not just a code issue. Validate the exploit path, confirm whether the flaw crosses protocol and implementation layers, and route it through a defined triage process so the right cryptography, platform, and response owners act on it quickly.


Technical breakdown

How Fiat-Shamir transcript binding fails in zkSNARK verification

Fiat-Shamir turns an interactive proof into a non-interactive one by deriving verifier challenges from the transcript of prior messages. That only works if every prover message that influences a challenge is absorbed before the challenge is sampled. If a verifier squeezes randomness without first binding the relevant witness or commitment values, a malicious prover can replay or reshape the transcript while still satisfying the algebraic check. In practice, the soundness guarantee depends on the exact ordering of absorb and squeeze operations, not just on using a cryptographic hash function.

Practical implication: Review challenge generation order in SNARK and zkVM verifiers as a control surface, not an implementation detail.

Why batched polynomial commitment checks can hide proof forgery

Batch verification compresses many polynomial openings into a single pairing equation so the verifier can process transactions efficiently. The security of that optimisation relies on random weights preventing cancellation between dishonest terms. If the batching logic combines commitments and evaluations before the transcript has absorbed the values that should bind them, a forged opening can survive the aggregate check even though individual openings would fail. This is a classic case where performance engineering creates a security dependency on transcript hygiene and batch soundness.

Practical implication: Treat batched cryptographic verification as a high-risk control path and test it independently from the underlying proof scheme.

Why autonomous code review matters in zkVM bug discovery

The article shows an AI agent tracing a vulnerability from a low-level verifier function back to an end-to-end transaction forgery. That is important because modern assurance is no longer limited by human code reading speed; agents can map call graphs, relate protocol rounds to implementation details, and generate exploit logic in one pass. The governance gap is not whether the agent can find bugs. The gap is whether organisations can review, validate, and prioritise machine-generated attack paths before they become production findings.

Practical implication: Add review and escalation rules for AI-discovered vulnerabilities so machine findings receive the same governance rigor as human-reported ones.


Threat narrative

Attacker objective: The attacker objective was to mint a valid transaction proof for an unauthorised transfer and move value from wallets they did not control.

  1. Entry occurred through a flaw in snarkVM's proof verification flow, where the verifier failed to absorb witness values before deriving a batching challenge.
  2. Credential access was replaced by proof control: the attacker could forge a valid-looking proof for a transaction from any known wallet address without knowing the real authorisation state.
  3. Impact would have been chain-level transaction forgery, allowing arbitrary token transfers and potentially draining value across the network.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Fiat-Shamir binding is the governance control, not a math footnote. This article shows that the verifier's absorb order determines whether the proof system remains sound. When challenge values are derived before the transcript includes the witness values they are meant to bind, the control collapses. For practitioners, the implication is that cryptographic verification must be governed like an identity boundary: if the transcript is incomplete, the assertion is not trustworthy.

Transcript-binding failure is the specific control gap this breach exposed. The missing absorb step created a pathway for arbitrary proof forgery, which is more than a coding error because it breaks the assumption that verification can distinguish a genuine authorisation from a constructed one. That makes the failure mode highly relevant to NHI governance as well: whenever a credential, wallet, or token assertion is accepted without the right binding step, the system is trusting an unauthenticated claim. The practitioner conclusion is to treat binding logic as an auditable control point.

AI-assisted audit is moving from assistance to discovery. The article's most important governance signal is that an autonomous agent found a flaw that intersected cryptography, implementation detail, and exploit construction. That does not make the agent autonomous in a risk sense, but it does mean review processes must be prepared for machine-generated attack paths. Security teams should expect AI to uncover deep implementation weaknesses faster than conventional audit cycles and plan validation workflows accordingly.

zkVM assurance now depends on proof lifecycle governance. Zero-knowledge systems are often treated as mathematically safe once the scheme is selected, but the implementation lifecycle determines whether the scheme stays sound. This case shows why code review, batching logic, and transcript construction all need explicit governance, not assumed correctness. Practitioners should think in terms of proof lifecycle integrity, because a single missing binding step can invalidate the entire trust model.

AI agents should be governed as discovery tools with escalation paths. The article shows an AI agent identifying, tracing, and proving a vulnerability across a large codebase. That is useful, but only if organisations can triage the result, validate exploitability, and link it to the right remediation owners. The practitioner conclusion is to formalise how machine-found vulnerabilities move from detection to response.

What this signals

zkVM proof systems now need proof-lifecycle governance. Security teams should stop treating verification logic as a static cryptography problem and start treating it as a control lifecycle, where transcript construction, batching, and challenge generation all need explicit assurance. The right question is whether the proof path can survive implementation drift, not whether the underlying primitive is well known.

AI agents are becoming credible discovery tools for protocol flaws. That changes audit economics because machine-generated exploit paths can surface weaknesses that manual review may miss in dense cryptographic code. Practitioners should plan for a validation pipeline that can separate a useful machine finding from a false lead without slowing critical remediation.

For identity and NHI governance, the lesson is binding integrity. Any system that accepts an assertion, wallet, token, or service credential must be able to prove that the claim was bound to the right inputs at the right time. If the binding step is incomplete, the control is only decorative.


For practitioners

  • Review transcript binding in verifier code Inspect every absorb and squeeze point in proof verification code to confirm that witness values, commitments, and challenge inputs are bound before challenge generation.
  • Test batched proof checks separately Create dedicated tests for batch verification paths, especially where multiple openings are compressed into one pairing equation, and compare them against single-opening checks.
  • Add AI-discovered finding triage Define a review path for agent-generated vulnerability reports so exploit logic, call graph traces, and proof-of-concept output are validated before remediation starts.
  • Audit wallet-assertion assumptions Treat any system that accepts a wallet or transaction proof as relying on a binding control, and verify that the proof cannot be replayed or reconstructed from incomplete transcript data.
  • Prioritise verifier hot spots Map cryptographic verification functions, batching layers, and transaction entry points as high-value review targets because failures there can affect every downstream transaction.

Key takeaways

  • The Aleo case shows that a missing binding step in proof verification can collapse soundness and allow forged transactions.
  • The key evidence is that an AI agent traced the flaw through the verifier and produced an end-to-end proof of concept without human-led discovery.
  • The control lesson is to test transcript binding, batch verification, and AI-discovered findings as first-class governance checkpoints.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10, MITRE ATT&CK and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI10 — Rogue AgentsThe article centres on an AI agent independently finding a serious flaw in dense code.
Recommendation — Govern AI discovery tooling so machine-found vulnerabilities are validated before they drive remediation.
MITRE ATT&CKTA0006;TA0008 — Credential Access; Lateral MovementThe exploit path culminates in transaction forgery through trusted verification paths.
Recommendation — Map proof-forgery scenarios to credential access and downstream movement of unauthorised value.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsThe flaw lets an attacker bypass the effective authorisation boundary of the chain.
Recommendation — Revalidate authorization boundaries wherever cryptographic proof acceptance stands in for identity checks.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementThe case is about whether an assertion is properly bound before acceptance.
Recommendation — Treat proof-binding logic as authenticator lifecycle control and test it before release.
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationA forged proof functions like an authentication failure for wallet-controlled actions.
Recommendation — Review assertion-binding logic for any system that authenticates wallets, tokens, or machine identities.

Key terms

  • Fiat-Shamir Transform: A method that replaces interactive verifier challenges with challenge values derived from a transcript sponge or hash. Its soundness depends on every message that should influence the challenge being absorbed first, otherwise the prover can manipulate later steps after seeing the challenge.
  • Batch Verification: A verification technique that combines many proof checks into a smaller number of aggregated equations. It improves performance, but it also concentrates risk, because a flaw in the aggregation logic can undermine all of the proofs that were supposed to be checked together.
  • Polynomial Commitment: A polynomial commitment is a cryptographic scheme that lets a prover commit to a polynomial and later prove evaluations at selected points without revealing the whole polynomial. The verifier checks that the committed polynomial and the claimed value are consistent at the stated point, which is essential for soundness.
  • Zero-Knowledge Virtual Machine: A virtual machine that executes programs and produces zero-knowledge proofs about the execution result. The security boundary is not only the math of the proof system, but also the implementation that builds, batches, and verifies the proof transcript.

Deepen your knowledge

NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, agentic AI identity, and secrets management for practitioners who need stronger control over machine-authenticated trust. It is designed for security teams that must govern identity assertions across modern systems, including workflows where automated tooling changes the review model.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 1, 2026.
Updated on October 13, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org