docs(ai): spec a fidelity audit of every signing surface - #13703
Draft
AntonioVentilii wants to merge 4 commits into
Draft
docs(ai): spec a fidelity audit of every signing surface#13703AntonioVentilii wants to merge 4 commits into
AntonioVentilii wants to merge 4 commits into
Conversation
Eight externally reported defects in a short period share one root cause: the approval screen described something other than what the wallet actually signed. This spec defines an audit that enumerates every signing surface and checks each displayed field against the bytes that reach the signer. Spec only, no implementation.
|
✅ No security or compliance issues detected. Reviewed everything up to fb833a1. Security Overview
Detected Code Changes
|
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a spec document to drive a systematic audit of every signing/approval surface in the frontend, aiming to prevent mismatches between what OISY displays for consent and what it actually signs.
Changes:
- Introduces a new spec defining the motivation, scope, inventory, per-surface checklist, severity rubric, and audit wave order for a “signing-surface fidelity” audit.
- Defines a standardized finding format and acceptance criteria so results are resumable and auditable.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
DenysKarmazynDFINITY
approved these changes
Aug 13, 2026
…ce-fidelity-audit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Eight externally reported defects landed in a short period, across three chains and two entry points. They look unrelated, and they are not: in every one of them the approval screen described something other than what the wallet actually signed. A hidden Solana prioritisation fee, an authority change and a burn riding behind a dust transfer, a signing scheme picked from what a payload parsed as instead of from the requested method, undeclared EIP-712 keys steering a summary while a different value was hashed, ERC-20 transfer calldata rendered as a zero-value native send, counterparty markup reaching the consent dialog as a control, a transaction message accepted on the message-signing path, and a PSBT field the review reads that the signer does not use.
Fixing these one at a time is losing a race against someone walking this surface systematically. This spec defines an audit that enumerates the surface ourselves, so the remaining instances are found by us rather than reported to us.
Changes
Adds
docs/ai/spec-driven-development/specs/2026-08-12-chore-signing-surface-fidelity-audit.md, which:No file under
src/is touched.Tests
Spec-only PR: there is no code to test.
formatandlint --max-warnings 0pass.