René's URL Explorer Experiment


Title: id(object-plane): verifyReadCapability treats unparseable now as unexpired (fail-open) · Issue #14587 · developing-today/code · GitHub

Open Graph Title: id(object-plane): verifyReadCapability treats unparseable now as unexpired (fail-open) · Issue #14587 · developing-today/code

X Title: id(object-plane): verifyReadCapability treats unparseable now as unexpired (fail-open) · Issue #14587 · developing-today/code

Description: Evidence pkgs/id/hosted-worker/src/object-plane.ts:248-277 (verifyReadCapability): expiry is checked at :269 as if (Date.parse(now) >= expiresMs) { When now is unparseable, Date.parse(now) is NaN, and NaN >= expiresMs is always false — s...

Open Graph Description: Evidence pkgs/id/hosted-worker/src/object-plane.ts:248-277 (verifyReadCapability): expiry is checked at :269 as if (Date.parse(now) >= expiresMs) { When now is unparseable, Date.parse(now) is NaN, ...

X Description: Evidence pkgs/id/hosted-worker/src/object-plane.ts:248-277 (verifyReadCapability): expiry is checked at :269 as if (Date.parse(now) >= expiresMs) { When now is unparseable, Date.parse(now) is Na...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id(object-plane): verifyReadCapability treats unparseable now as unexpired (fail-open)","articleBody":"## Evidence\n\n`pkgs/id/hosted-worker/src/object-plane.ts:248-277` (`verifyReadCapability`): expiry is checked at `:269` as\n\n```ts\nif (Date.parse(now) >= expiresMs) {\n```\n\nWhen `now` is unparseable, `Date.parse(now)` is `NaN`, and `NaN >= expiresMs` is always `false` — so the check passes and an expired-but-MAC-valid capability is served. The sibling timestamp checks in the same plane are explicitly fail-closed: `mintReadCapability` rejects an unparseable `expiresAt` (`object-plane.ts:217-219`), `verifyReadCapability` itself rejects an unparseable capability `expiresAt` (`:265-268`), `deleteReplica` rejects an unparseable `fence.reverifiedAt` (`object-plane-r2.ts:259-262`), and `reapStaging` rejects an unparseable cutoff (`object-plane-r2.ts:287-290`). Only the `now` side of the expiry comparison is unchecked.\n\nRepro (throwaway `repro-now-check.mts` in `pkgs/id/hosted-worker`, since removed, tree left clean — run with `node --experimental-strip-types`): mint an expired cap, verify twice:\n\n- control `verifyReadCapability(key, id, part, expired, \"2026-11-24T12:00:00.000Z\")` → rejected `capability_expired` (correct);\n- `verifyReadCapability(key, id, part, expired, \"garbage\")` → **accepted** (fail-open).\n\n`read()` threads `opts.now` straight into `verifyReadCapability` (`object-plane-r2.ts:235-237`), so `adapter.read(id, expiredCap, { now: \"garbage\" })` inherits the bypass. The existing conformance case (`object-plane-conformance.ts:387-389`) covers expired-with-valid-now only, so nothing pins the unparseable-`now` path.\n\n## Why it matters\n\nThe adapter contract says every failure is a FailClosed, never a silent fallback (`object-plane.ts:137-139`). An unparseable clock value silently disabling expiry breaks that promise on the read path — the one path the design relies on for revocation lag bounding (capabilities \"expire on their own\", `object-plane.ts:37-39`).\n\n## Acceptance criteria / suggested fix shape\n\n- `verifyReadCapability` parses `now` once and throws `FailClosed` (e.g. `capability_bad_now` / reuse `capability_expired`) when it is `NaN`, before the `>=` comparison — mirroring the existing `:265-268` expiry-shape check.\n- Regression test in the shared conformance suite: expired cap + unparseable `now` is rejected (FailClosed), alongside the existing expired-with-valid-now case; valid cap + unparseable `now` is likewise rejected rather than served.\n- Related but distinct: #12804 (slice 2, R2 adapter — merged) and #12808 (slice 6 GC/revocation conformance) — neither pins the `now`-parsing path. `verifyReadCapability` / `capability_expired` open-issue searches surface only #12808.\n\n\u003c!-- pm-metadata:start -->\n```json\n{\n  \"direct_parent\": null,\n  \"links\": [],\n  \"lineage\": {\n    \"design\": null,\n    \"roadmap_item\": null,\n    \"priority\": null\n  },\n  \"pm_meta\": 1,\n  \"provenance\": {\n    \"queue_id\": null,\n    \"scheduled_start\": null,\n    \"picked_up_at\": null,\n    \"work_started_at\": null,\n    \"created_at\": \"2026-11-24T20:18:34Z\",\n    \"session_id\": \"ses_e5df0db143affeAXAiwWFwgffe\",\n    \"lane\": null,\n    \"host\": \"amd\",\n    \"worktree\": \"/home/user/git/code\",\n    \"model\": null,\n    \"lane_start_issues\": [],\n    \"workspace_ref\": {\n      \"kind\": \"worktree\",\n      \"id\": \"/home/user/git/code\",\n      \"repo\": \"developing-today/code\",\n      \"branch\": \"oc-code-07/23641-consolidate-14415-into-14492\",\n      \"sha\": \"831716d093fedb512a0e631a5b7bff8a7b6534f5\"\n    },\n    \"auth_subject\": \"oc-code-05\",\n    \"stamped_by\": \"fleet 0.1.0 (native)\"\n  }\n}\n```\n\u003c!-- pm-metadata:end -->\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-24T20:18:38Z","url":"https://github.com/developing-today/code/issues/14587"}

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:05462468-321a-2582-1397-35a23338be9d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE364:30F58B:1000:14F0:6B060AA6
html-safe-nonceb0e3933b1c0d6a74fe14b5dc5452c3bb07b9162fda57ace3a25694fcd530275a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzY0OjMwRjU4QjoxMDAwOjE0RjA6NkIwNjBBQTYiLCJ2aXNpdG9yX2lkIjoiMzA4MzI4MTQ5MjI5OTA5MDU5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7caf93ed8fe441b0965be44fa461ff71a273b6f3063d470592471ef6d3c3e811
hovercard-subject-tagissue:6590606913
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/14587/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2ec5a9a809aa84d8c938f560acd200f7fb2a896e9b7fa9f141003e61b3162ed8/developing-today/code/issues/14587
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2ec5a9a809aa84d8c938f560acd200f7fb2a896e9b7fa9f141003e61b3162ed8/developing-today/code/issues/14587
og:image:altEvidence pkgs/id/hosted-worker/src/object-plane.ts:248-277 (verifyReadCapability): expiry is checked at :269 as if (Date.parse(now) >= expiresMs) { When now is unparseable, Date.parse(now) is NaN, ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
None47127d2f2009e000f3401193f8b4163109ac669adad0804de1ee0e6333ca7b9e
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
release0760ea46a027ba5099cdef7abd54f27865eb4f44
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/14587#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F14587
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%2F14587
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/14587
Reloadhttps://github.com/developing-today/code/issues/14587
Reloadhttps://github.com/developing-today/code/issues/14587
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 requests144 (144)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/14587
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/14587
#14624https://github.com/developing-today/code/pull/14624
id(object-plane): verifyReadCapability treats unparseable now as unexpired (fail-open)https://github.com/developing-today/code/issues/14587#top
#14624https://github.com/developing-today/code/pull/14624
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
effort/xshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fxs%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
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 24, 2026https://github.com/developing-today/code/issues/14587#issue-6590606913
impl(pm-stack F): object-plane staged publication, R2 adapter + conformance suite (#9084 slice 2) #12804https://github.com/developing-today/code/issues/12804
test(pm-stack F): GC race + revocation conformance tests (#9084 slice 6) #12808https://github.com/developing-today/code/issues/12808
test(pm-stack F): GC race + revocation conformance tests (#9084 slice 6) #12808https://github.com/developing-today/code/issues/12808
dezren39https://github.com/dezren39
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%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
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
effort/xshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fxs%22
on Nov 24, 2026https://github.com/developing-today/code/issues/14587#event-37175936530
https://github.com/apps/developing-today
developing-todayhttps://github.com/apps/developing-today
on Nov 24, 2026https://github.com/developing-today/code/issues/14587#issuecomment-7143347490
developing.todayhttps://kaneo.security.cab
CODE-5362https://kaneo.security.cab/dashboard/workspace/6oQgIkST0YGrCcxrnhbHPOUCfgdD3cqE/project/pfcq432h349r20up18gttfv4/task/dtk7smkbk7y93z9amcye156r
https://github.com/apps/developing-today-fleet
developing-today-fleethttps://github.com/apps/developing-today-fleet
on Nov 24, 2026https://github.com/developing-today/code/issues/14587#issuecomment-7144814874
developing.today fleethttps://kaneo.security.cab
https://github.com/apps/developing-today-fleet
developing-today-fleethttps://github.com/apps/developing-today-fleet
on Nov 24, 2026https://github.com/developing-today/code/issues/14587#issuecomment-7144829891
developing.today fleethttps://kaneo.security.cab
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 24, 2026https://github.com/developing-today/code/issues/14587#event-37183791209
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
72247fbhttps://github.com/developing-today/code/commit/72247fb4bab95f84973fe7cfeb3db359a1cbc67c
on Nov 24, 2026https://github.com/developing-today/code/issues/14587#event-37184036093
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 24, 2026https://github.com/developing-today/code/issues/14587#event-37184042720
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 24, 2026https://github.com/developing-today/code/issues/14587#issuecomment-7145487598
#14624https://github.com/developing-today/code/pull/14624
c9ae62chttps://github.com/developing-today/code/commit/c9ae62cad00f5de22c439a864fa0587c51c250df
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/14587
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/14587
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
effort/xshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fxs%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
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%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.