René's URL Explorer Experiment


Title: id(attestation): sign_claim never checks the outcome is in compute_state's domain — 'banana', '', 'DRAW' or an uppercase/truncated winner hex signs Ok and is ignored in every view · Issue #6441 · developing-today/code · GitHub

Open Graph Title: id(attestation): sign_claim never checks the outcome is in compute_state's domain — 'banana', '', 'DRAW' or an uppercase/truncated winner hex signs Ok and is ignored in every view · Issue #6441 · developing-today/code

X Title: id(attestation): sign_claim never checks the outcome is in compute_state's domain — 'banana', '', 'DRAW' or an uppercase/truncated winner hex signs Ok and is ignored in every view · Issue #6441 · developing-today/code

Description: Problem sign_claim (pkgs/id/src/attestation.rs:208) signs any ResultClaim whose body serializes — it never checks that claim.outcome is in the domain compute_state can ever count. compute_state (attestation.rs:287-291) counts a claim onl...

Open Graph Description: Problem sign_claim (pkgs/id/src/attestation.rs:208) signs any ResultClaim whose body serializes — it never checks that claim.outcome is in the domain compute_state can ever count. compute_state (at...

X Description: Problem sign_claim (pkgs/id/src/attestation.rs:208) signs any ResultClaim whose body serializes — it never checks that claim.outcome is in the domain compute_state can ever count. compute_state (at...

Opengraph URL: https://github.com/developing-today/code/issues/6441

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id(attestation): sign_claim never checks the outcome is in compute_state's domain — 'banana', '', 'DRAW' or an uppercase/truncated winner hex signs Ok and is ignored in every view","articleBody":"## Problem\n\n`sign_claim` (`pkgs/id/src/attestation.rs:208`) signs any `ResultClaim` whose body serializes — it never checks that `claim.outcome` is in the domain `compute_state` can ever count. `compute_state` (`attestation.rs:287-291`) counts a claim only when its outcome is `\"draw\"` or a seated player's lowercase 64-character hex id (`valid_outcome`). A claim signed with any other outcome string is therefore **dead on arrival**: it is ignored in every view, forever, and signing succeeds silently.\n\nThis is shape-only and knowable at sign time — `sign_claim` needs no agreement to know these outcomes can never count:\n\n- `\"banana\"`, `\"\"`, `\"0x1234\"` — not `\"draw\"`, not a hex id\n- `\"DRAW\"` / `\"Draw\"` — the domain string is exact-case\n- A winner's hex id in UPPERCASE, or truncated to 63 chars — `compute_state` builds player outcomes as lowercase `{byte:02x}` hex and compares by string equality\n\n## Evidence (verified this run)\n\nProbe on the laptop at `origin/main` `9e20032d0cf3034a2baea117caa60c115119138e` (worktree `~/git/fleet/probe-attestation-outcome-wt`, integration test `pkgs/id/tests/probe_attestation_outcome.rs` against the real `id` crate, 1 passed): two players sign identical genesis, then both sign claims concurring on one outcome, and `compute_state` is run over the signed objects.\n\n- Controls: outcome `\"draw\"` → sign Ok, state `Agreed`; outcome = player X's lowercase hex → sign Ok, state `Agreed`.\n- Malformed: `\"banana\"`, `\"\"`, `\"DRAW\"`, `\"Draw\"`, uppercase winner hex, 63-char winner hex, `\"0x1234\"` → **sign_claim Ok for both players**, yet state computes `Proposed` — the concurring claims are silently ignored, so the match can never settle from these objects.\n\n## Why it matters\n\nThis is the construction-vs-receipt asymmetry the crate has been fixing one signer at a time (#6422 currency, #6424 attestation signer, #6434 match_audit, #5623 artifacts): a signer produces a signed object no verifier will ever accept, with no error at the only moment the mistake is cheap to catch. Here the signer is a legitimate seated player (unlike #6424's non-player signer) making a formatting slip — e.g. an uppercase or truncated winner hex from a UI — and the match silently never reaches `Agreed`.\n\n## Distinct from neighbours\n\n- #6424: `sign_genesis`/`sign_claim` never check the *signer is a player* — different defect, different fix (needs the agreement at the sign site).\n- #2868 (closed): `compute_state` never validated the outcome domain — fixed on the read side; the sign side was never gated.\n- The remaining domain rule sign time cannot check (outcome names a *seated* player, not a third party's well-formed hex) stays a `compute_state` rule; this issue is only the shape half that is decidable from the claim alone.\n\n## Acceptance criteria\n\n- `sign_claim` refuses (new `SignError` variant, e.g. `InvalidOutcome`) any claim whose outcome is neither `\"draw\"` nor a 64-character lowercase hex string, before signing.\n- Well-formed outcomes (`\"draw\"`, any 64-char lowercase hex) still sign Ok — including a third party's hex, whose seated-ness remains `compute_state`'s call.\n- Tests pin: each malformed class above refused at sign time; controls sign Ok and still compute `Agreed` end-to-end; existing attestation suite (`tests/attestation_poc.rs`) green.\n- No change to `compute_state`'s counting rules.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-06T04:15:57Z","url":"https://github.com/developing-today/code/issues/6441"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e5a876e5-1ba9-4579-d904-e5d722f8785c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8F64:223718:AF76FB:E925DD:6B064238
html-safe-nonce649bf90036c871c0a929e589beabfc505129902587ab61af022bb041e3b32118
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjY0OjIyMzcxODpBRjc2RkI6RTkyNUREOjZCMDY0MjM4IiwidmlzaXRvcl9pZCI6IjEzMzgwMTg4NzcyNzk3MTU4OTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac532a24f74638b2f8613b241cee72bcea6ffbb1ad67553ce98a6623019925813c
hovercard-subject-tagissue:6236602295
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/6441/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3ce1811288aeb5d8b2a24dac1dae4a7735929c65b56e53c1b8fac5384aa99b3e/developing-today/code/issues/6441
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3ce1811288aeb5d8b2a24dac1dae4a7735929c65b56e53c1b8fac5384aa99b3e/developing-today/code/issues/6441
og:image:altProblem sign_claim (pkgs/id/src/attestation.rs:208) signs any ResultClaim whose body serializes — it never checks that claim.outcome is in the domain compute_state can ever count. compute_state (at...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
None1bff4f6bfaa96dc9c42cacf315424c24ebb548b06142ced5e3aaccb2a42dd652
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseac613d3698d3d8565651455086e1f74da07bf277
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/6441#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F6441
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F6441
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/6441
Reloadhttps://github.com/developing-today/code/issues/6441
Reloadhttps://github.com/developing-today/code/issues/6441
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests171 (171)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/6441
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/6441
#6442https://github.com/developing-today/code/pull/6442
id(attestation): sign_claim never checks the outcome is in compute_state's domain — 'banana', '', 'DRAW' or an uppercase/truncated winner hex signs Ok and is ignored in every viewhttps://github.com/developing-today/code/issues/6441#top
#6442https://github.com/developing-today/code/pull/6442
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%22
source/creatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fcreator%22
task/small-fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Fsmall-fix%22
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 6, 2026https://github.com/developing-today/code/issues/6441#issue-6236602295
#6422https://github.com/developing-today/code/issues/6422
#6424https://github.com/developing-today/code/issues/6424
#6434https://github.com/developing-today/code/issues/6434
#5623https://github.com/developing-today/code/issues/5623
#6424https://github.com/developing-today/code/issues/6424
id(attestation): sign_genesis / sign_claim never check the signer is a player — a non-player's signed genesis or claim is dead on arrival, and signing succeeds silently #6424https://github.com/developing-today/code/issues/6424
id(attestation): compute_state never validates the claim outcome's domain — claims naming a third party (or any string) as winner compute Agreed #2868https://github.com/developing-today/code/issues/2868
dezren39https://github.com/dezren39
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
task/small-fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Fsmall-fix%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
source/creatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fcreator%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%22
on Nov 6, 2026https://github.com/developing-today/code/issues/6441#event-35313754096
https://github.com/apps/developing-today
developing-todayhttps://github.com/apps/developing-today
on Nov 6, 2026https://github.com/developing-today/code/issues/6441#issuecomment-6676727081
developing.todayhttps://kaneo.security.cab
CODE-1933https://kaneo.security.cab/dashboard/workspace/6oQgIkST0YGrCcxrnhbHPOUCfgdD3cqE/project/pfcq432h349r20up18gttfv4/task/moo9kl6eklbk9fpg9finttlp
dezren39https://github.com/dezren39
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
on Nov 6, 2026https://github.com/developing-today/code/issues/6441#event-35313755228
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 6, 2026https://github.com/developing-today/code/issues/6441#issuecomment-6676729557
9e20032https://github.com/developing-today/code/commit/9e20032d0cf3034a2baea117caa60c115119138e
id(attestation): sign_genesis / sign_claim never check the signer is a player — a non-player's signed genesis or claim is dead on arrival, and signing succeeds silently #6424https://github.com/developing-today/code/issues/6424
id(attestation): compute_state never validates the claim outcome's domain — claims naming a third party (or any string) as winner compute Agreed #2868https://github.com/developing-today/code/issues/2868
dezren39https://github.com/dezren39
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
on Nov 6, 2026https://github.com/developing-today/code/issues/6441#event-35313921335
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 6, 2026https://github.com/developing-today/code/issues/6441#issuecomment-6676775390
id(attestation): sign_claim never checks the outcome is in compute_state's domain — 'banana', '', 'DRAW' or an uppercase/truncated winner hex signs Ok and is ignored in every view #6441https://github.com/developing-today/code/issues/6441
id(attestation): sign_claim never checks the outcome is in compute_state's domain — 'banana', '', 'DRAW' or an uppercase/truncated winner hex signs Ok and is ignored in every view #6441https://github.com/developing-today/code/issues/6441
id(attestation): sign_claim never checks the outcome is in compute_state's domain — 'banana', '', 'DRAW' or an uppercase/truncated winner hex signs Ok and is ignored in every view #6441https://github.com/developing-today/code/issues/6441
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 6, 2026https://github.com/developing-today/code/issues/6441#issuecomment-6676934082
fix(id): enforce the outcome domain in sign_claim (#6441) #6442https://github.com/developing-today/code/pull/6442
id(attestation): sign_claim never checks the outcome is in compute_state's domain — 'banana', '', 'DRAW' or an uppercase/truncated winner hex signs Ok and is ignored in every view #6441https://github.com/developing-today/code/issues/6441
fix(id): enforce the outcome domain in sign_claim (#6441) #6442https://github.com/developing-today/code/pull/6442
fix(id): enforce the outcome domain in sign_claim (#6441) #6442https://github.com/developing-today/code/pull/6442
id(attestation): sign_claim never checks the outcome is in compute_state's domain — 'banana', '', 'DRAW' or an uppercase/truncated winner hex signs Ok and is ignored in every view #6441https://github.com/developing-today/code/issues/6441
fix(id): enforce the outcome domain in sign_claim (#6441) #6442https://github.com/developing-today/code/pull/6442
dezren39https://github.com/dezren39
queue/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fparked%22
status/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fparked%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
on Nov 6, 2026https://github.com/developing-today/code/issues/6441#event-35314515350
developing-todayhttps://github.com/apps/developing-today
status:in-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Ain-review%22
on Nov 6, 2026https://github.com/developing-today/code/issues/6441#event-35315278177
dezren39https://github.com/dezren39
on Nov 6, 2026https://github.com/developing-today/code/issues/6441#event-35328184280
Merge pull request #6442 from developing-today/queue/10887-6441-attes…https://github.com/developing-today/code/commit/6271e067012c360e108fa658ae23b5d9dedf6867
#6442https://github.com/developing-today/code/pull/6442
6271e06https://github.com/developing-today/code/commit/6271e067012c360e108fa658ae23b5d9dedf6867
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#6442https://github.com/developing-today/code/pull/6442
on Nov 6, 2026https://github.com/developing-today/code/issues/6441#event-35328185552
developing-todayhttps://github.com/apps/developing-today
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
status:in-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Ain-review%22
on Nov 6, 2026https://github.com/developing-today/code/issues/6441#event-35328186813
dezren39https://github.com/dezren39
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
status/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fparked%22
queue/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fparked%22
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
on Nov 6, 2026https://github.com/developing-today/code/issues/6441#event-35328220472
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 6, 2026https://github.com/developing-today/code/issues/6441#issuecomment-6680469646
#6442https://github.com/developing-today/code/pull/6442
6271e06https://github.com/developing-today/code/commit/6271e067012c360e108fa658ae23b5d9dedf6867
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/6441
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/6441
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%22
source/creatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fcreator%22
task/small-fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Fsmall-fix%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.