Bytes or value. hash is digest of the document, but a list “whose bytes do not match” is unavailable. We hash the parsed value after normalizing, sorting and deduping, which your 0xAbC/0xabc test case needs. Should the published file already be normalized? And is value then the normalized entry?
Two entries can match one address (eip155:1:X and eip155:*:X), and one account can appear twice with different evidence. Which entry is value? Is the duplicate merged, or does it make the list non-conforming?
When a list’s bytes match but it doesn’t conform (no attestation, and an entry without evidence), which not-read reason applies?
The PR README lists the smaller ones: a bad EIP-55 checksum, mixed-case bech32, eip155:01, extra fields, the diff format, and verbatim criteria text.
thanks, ran through it. merged the vectors (#2) and pushed the answers to the PR (9abaacf):
bytes or value: value. hash is digest of the normalized form over the parsed JSON, so white space and key order in the file don’t matter. publishers SHOULD publish the normalized form. value is the matching entry in normalized form
two entries matching: the exact chain ref wins (eip155:1:X over eip155:*:X). one account twice with different content makes the list non-conforming. the reader can’t tell which one the publisher meant
bytes match but the list doesn’t conform: not read / unavailable
smaller ones, same commit: a mixed-case EVM address with a bad EIP-55 checksum, mixed-case bech32, and eip155:01 make the list non-conforming. extra top-level fields are allowed, hashed, and ignored by readers. criteria SHOULD quote the upstream verbatim. the diff format stays informative in the assets your 7 open cases should all have an answer now, happy to rerun when you update the expected files
Thanks for 9abaacf. It answers all three questions plus the smaller ones.
The vectors are updated to match it in ERC-8481 assets: on-list vectors follow 9abaacf by metafrogmeme-droid · Pull Request #3 · soli0x/ERCs · GitHub. Six of the seven open cases now follow the text: a bad EIP-55 checksum, a 0X prefix and eip155:01 are invalid, so the list does not conform. The same account with different evidence also makes the list non-conforming. When two entries match, the exact chain reference wins and value is the normalized entry. A non-conforming list whose hash matches reads unavailable. Extra top-level fields are hashed and ignored.
One fix to #2: the bad-checksum input there was actually a valid EIP-55 address, so that case tested nothing. It now fails the checksum as intended. No hash changed, and the FBI list still hashes to 0x7d7ec0b7…8c98.
Four things are still marked as our call, not the draft’s:
An empty entries array. We treat it as conforming. Should it be?
merged #3, thanks, and good catch on the checksum case
pushed d21f46e for the last four:
a list with no entries conforms; on-list against it reads null for every address
inside bip122, an address is bech32 when it’s a valid BIP-173/350 address, base58 otherwise
namespaces other than eip155, bip122 and solana compare addresses exactly as written, unless that namespace’s CAIP-10 profile defines a normalization
the upstream document hash is keccak256 of the bytes the source read at retrievedAt. it records what was read; for a page that re-renders it isn’t reproducible, which is why the list itself is the pinned document
that should close every open case. thanks for the careful work, the vectors make the on-list section much stronger
Empty list: it conforms, and on-list reads null for addresses in eip155, bip122, solana and another namespace.
bip122: valid BIP-173/350 addresses are bech32 and everything else is base58. This includes a bad checksum, witness v1 with a bech32 checksum, and v0 with a bech32m checksum.
Other namespaces: addresses are compared as written, so a case variant doesn’t match and the two case forms hash as two entries.
Document hash: keccak256 of the raw bytes. There are two fetches of a page that re-renders, plus a CRLF copy, giving three hashes, and the pinned list has one hash.
No earlier expected value changed, and the FBI list still hashes to 0x7d7ec0b7…8c98.
One small question is left. A bip122 string that is neither valid bech32 nor valid base58check, like a bech32 address with one wrong checksum character, is base58 by the rule. We treat it as invalid, so the list does not conform. Is that what you mean, or should it be kept as written?
pushed e1446b2 for the last one: yes, that’s what we mean. a bip122 string that is neither a valid BIP-173/350 address nor valid Base58Check is invalid, so the list does not conform. same as the bad EIP-55 checksum case, kept as written would let a typo silently miss a match
not-read covers findings for identified entities, but I couldn’t find a status for incomplete entity extraction in the draft’s Entities rules. Consider a smart-account batch containing an unlimited ERC-20 approval inside an execution call the source cannot decode. The source might identify the outer target without discovering the token or spender. There is then no approval entity on which to place not-read and a consumer whose decoder has the same limitation could miss the gap too.
I’d add a request-level or per-call coverage status that records unsupported or incomplete decoding, including whether nested calls were inspected. A useful test would wrap approve(spender, max) in an unsupported batch and require an explicit coverage gap, even when every finding for the listed entities is read. Could the draft make this gap visible so consumers can reject it under their own policy?
right, not-read only applies once an entity is found. an undecoded inner call hides the entity itself, so the report needs its own signal, and a consumer with the same decoder limit can’t detect the gap otherwise
added a required request-level coverage object:
status: complete or partial
gaps: one entry per call not fully read, with path (e.g. tx.calls[0]), reason (unsupported-selector,unverified-wrapper, depth-limit, undecodable-data, not-inspected) and nested: inspected / not-inspected
status is partial whenever gaps is non-empty. it’s inside reportHash, so it’s signed with the rest of the report. a partial report must never be read as “no findings”, and consumers reject partial under their own policy
your case is a vector now: approve(spender, max) wrapped in an ERC-7821 execute the source doesn’t decode returns coverage.status: partial with a gap at tx.calls[0] (unsupported-selector, not-inspected), even when every finding for the listed entities is read. approvals found inside a decoded batch also carry an optional path now
+1 from the consumer side — coverage.partial is exactly the signal our gates need. We’ll treat partial the same way we treat not-read on a finding: reject or hold for the owner, never pass as clear. Glad the approve-in-undecoded-batch case is a vector.
good to hear. toll’s live source emits coverage from today: check_tx and presign_risk_report both carry it, signed inside reportHash, and the check_tx text prints the line (Coverage: complete / partial with each gap’s path and reason). an unverified agent wallet shows as unverified-wrapper, an unknown router command as undecodable-data
so a consumer gate can test against a live source now, not only the vectors
Confirmed live against POST /api/tx/check today: coverage rides in the signed report — complete with empty gaps on a plain transfer; partial with path tx.calls[0] / unsupported-selector / not-inspected on an unknown selector. We’ll keep treating partial like not-read: reject or hold, never pass as clear.
pushed to the PR: a published injection kind for text the agent reads
· erc.presign.text.injection: param is { uri, hash } of an injection pattern set, value is the classes that matched, each once in a fixed order, [] when none
· six classes so sources with different pattern sets compare: override, value-transfer, tool-call, safety-claim, secret-request, concealment
· the set states its normalization (e.g. NFKC, strip Cf) so a zero-width space can’t hide ignore previous instructions and a third party can rerun it
· value never carries the matched text, only classes; no set means not read / unsupported
· new text fields agent.card and payment.description, so agent registration files and x402 descriptions go through the same check
· still facts, not verdicts: a match is not a judgment that the text is an attack, and [] is no reason to skip another check
also in this push: simulation kinds (sim.outcome, sim.balance-change, sim.approval-change) and intent.match