AI Code Verifier
YOUR CODE. YOUR AI. YOUR SECURITY
Created on 26th September 2026
•
AI Code Verifier
YOUR CODE. YOUR AI. YOUR SECURITY
The problem AI Code Verifier solves
Air-Gapped AI Code Verifier is a full-stack MERN application that lets security and safety engineers scan codebases for vulnerabilities, verify proposed fixes, check real-time performance budgets, and generate compliance-ready reports — all without the code, findings, or any metadata ever leaving the local network. It's aimed at teams working in regulated or classified environments (defense, aerospace, industrial control, safety-critical embedded systems) where sending source code to a cloud AI service isn't an option.
The core idea is a simulated multi-stage verification pipeline (AST parsing → Graph Neural Network analysis → Sparse Autoencoder interpretability → Z3 SMT solver verification) that surfaces findings, proposes candidate fixes, and then formally re-verifies each candidate before it's accepted — with everything logged, paginated, and auditable through a browser dashboard.
Challenges we ran into
Simulating a multi-stage AI pipeline convincingly — since we didn't have a production GNN model or real Z3 bindings available for an air-gapped demo, we had to design the AST→GNN→SAE→Z3 flow so each stage's mock output still behaved like a real analysis pipeline (consistent severity scoring, plausible candidate fixes, deterministic re-verification) rather than just returning static fixtures.
Designing a repair loop that could actually fail safely — generating multiple candidate fixes per finding and re-verifying each one meant handling partial failures gracefully: tracking attempt counts, escalating after repeated verification failures, and making sure a bad candidate never got silently marked as fixed.
Getting severity ordering and pagination right at the database level — early on, findings were sorting by string severity instead of actual risk rank. We had to introduce a proper severity-rank field and server-side pagination/search instead of filtering on the client, once the demo dataset grew.
Locking down security without breaking local dev — adding JWT auth, Helmet, rate limiting, and restricted CORS all at once meant carefully separating "air-gapped/local" traffic (curl, same-origin, localhost) from anything that should be blocked, without accidentally locking ourselves out during development.
Keeping the "air-gapped" promise honest — it was tempting to lean on convenient external services (PDF rendering APIs, hosted fonts, telemetry SDKs) for polish, but staying true to the concept meant solving those with local-only alternatives, like browser-based PDF export instead of a rendering service
Tracks Applied (1)
HackNex Season 2
Technologies used
