Skip to Main Content

Attest Code Independent Verification for AI-Generated Code AI coding tools can generate code, identify vulnerabilities, and propose fixes, but a critical problem remains: how do we independently establish that the generated code actually works and satisfies its security requirements? Attest Code addresses this trust gap by introducing an independent verification layer for AI-assisted software development. Its core principle is simple: a generator cannot be its own verifier. Developers define and approve explicit software requirements, called invariants. Attest Code evaluates code against these human-approved requirements and produces evidence-backed outcomes: PASSED, FAILED, or INCONCLUSIVE. A reproducible violation results in FAILED, while crashes, timeouts, and incomplete execution produce INCONCLUSIVE rather than being incorrectly treated as proof of failure. The project also integrates Meta Muse Spark to diagnose verification failures and propose potential code changes. However, the model cannot approve requirements, determine verification outcomes, or apply repairs automatically. Its suggestions are explicitly marked as unverified proposals. A human must review any proposed change, after which Attest Code independently verifies the resulting code again. The demonstration uses controlled application fixtures to illustrate this process, including a vulnerable implementation, a repaired implementation, and an execution failure. Attest Code aims to make AI-assisted software development more accountable by separating code generation from verification and grounding trust in explicit requirements and independently evaluated evidence rather than AI-generated assurances.

Team

More from Meta Global AI Developer Hackathon

Cardo turns the world around you into Kurdish flashcards. Kurdish is spoken by tens of millions of people, but it has very few learning tools, and most…

Kurdolingo project preview

oqed is an LLM-guided superoptimizer for x86-64. You point it at a C or C++ project and it does the rest: - builds the project and runs its workload…

oqed project preview

Playtest Agent plays a game from screenshots, looks for bugs, then replays each report and has a judge check it. I make games alone. Solo developers and…

Adrian project preview

Open-source npm malware detection on Meta's models: a live monitor that flags new malware about a day before the public lists, a Muse agent that investigates…

Gatekeeper project preview

Video2URDF turns one short phone video of a real articulated object (a laptop lid, a drawer, a desk lamp, a microwave door) into a measured URDF/MJCF a robot…

Video2URDF project preview

Glimmer Scope opens up Muse Glimmer 30B so you can see and steer the concepts it thinks with. I trained sparse autoencoders on nine layers of Glimmer's…

Kroonen AI project preview