Preflight

Before an agent spends or signs, Preflight checks what it is about to trust and blocks what fails.

Visit Repo
Preflight banner

About

Preflight is a fail-closed check for the two moments an agent with a wallet gets wrong: hiring another agent, and signing a transaction to a contract nobody has read.

Disclosed prior inputs, before any feature. This project consumes @polygraphso/litmus, an open behavioral grading engine, from npm as a plain dependency, and never reads its source. It was planned in a private prose and mockup repo. No project code existed before the event clock, and every grade on screen was produced during the event by this project's own validator, then read back from the ERC-8004 Validation Registry.

The validator grades an agent's live tool surface A to F and posts the score to a Validation Registry we deployed ourselves. ERC-8004 has a canonical Identity Registry on Base, but no Validation Registry deployment exists on any chain, so we deployed the reference contract on Base Sepolia and verified it. Two gates read from that registry and refuse by default.

vetAgent refuses any agent below the grade floor, B or above, and refuses any agent whose live tool surface no longer hashes to what was graded. Change your tools after grading and the recheck catches it.

txGuard forks the chain at the live block and simulates the exact pending call before a signature is ever requested. Four flags, a closed set: an unlimited approval to an unverified spender, a token that buys but cannot sell, value routed to an unverified callee, a hidden owner or upgrade path. Any one of them blocks.

Both ship as a TypeScript SDK and as an MCP server, so an MCP-capable agent adopts the check without code changes.

In the demo, a client agent reads the hiring floor, is refused the F-graded candidate, hires one that clears the floor, pays it per call in HBAR on Hedera Testnet, and freezes the remaining budget the moment that agent's own tool output turns hostile mid-task. The hostile agent nets one honest call's fee and nothing after it. Then txGuard blocks four staged fixtures, and blocks a contract we did not write: a documented Base mainnet drainer, pasted live. A clean verified router passes, because a gate that blocks everything is not a gate. Every decision emits an Ed25519-signed, hash-chained receipt, so a verdict can be re-derived offline instead of taken on trust.

Each graded agent is also discoverable by name. An ENS subname under the validator's name carries the grade, score, and evidence hash as text records, labelled on the name itself as a mirror of the registry and never a second source of truth.

Three limits we state rather than bury. Evasion: a target that detects the test context and behaves during the check. We validate the capability surface, not intent, and the live fingerprint recheck narrows that window without closing it. State: a per-transaction verdict is reproducible for a given block and state, not a prediction of what lands. Independence: v1 is self-run and self-minted, so reproducibility here means falsifiable, not independent. The engine is open, so anyone can re-run it and disprove a verdict.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

DormantLast push 131 days ago

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Preflight MCP

The check an AI agent clears before it signs. High risk needs a press on your Ledger.

ETHOnline 2026Prize winner Shipping#ai-agents#ai

Preflight

A pre-sign firewall that explains wallet approvals in plain English and blocks malicious ones.

Preflight-Agents

Before your AI agent pays a stranger's API, Preflight checks it's alive, honest, and pays out.