Skip to content

Harden TxLINE worker and clear dependency advisories - #37

Open
dolepee wants to merge 3 commits into
mainfrom
codex/security-worker-hardening
Open

Harden TxLINE worker and clear dependency advisories#37
dolepee wants to merge 3 commits into
mainfrom
codex/security-worker-hardening

Conversation

@dolepee

@dolepee dolepee commented Jul 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • clears every current npm/OSV advisory and consolidates the pending Dependabot updates into one compatible lockfile
  • upgrades the pinned checkout action and excludes the generated pnpm lockfile from style-only checks that were blocking Dependabot CI
  • adds privacy-safe stream and fixture failure diagnostics with recovery clearing
  • bounds worker console growth while keeping the private status file fresh
  • reconnects both pre-open hangs and opened SSE streams that stop heartbeating
  • removes completed abort listeners from long-running delay loops

Root cause

The scheduled OSV job found newly disclosed vulnerable direct and transitive versions. Separately, a long-lived TxLINE stream could remain pending before onOpen, or remain open after heartbeats stopped, without forcing a new connection. The recurring delay helper also retained abort listeners after normal completion.

Verification

  • CI=true pnpm install --frozen-lockfile
  • pnpm check — 33 files, 198/198 tests, formatting, privacy gate, typecheck and build
  • pnpm audit --json — 0 findings across 275 dependencies
  • pnpm audit --prod --json — 0 findings across 79 dependencies
  • local production browser gate — 6/6 desktop/mobile
  • clean SDK consumer, Execution Gate and Certified Reopen verifiers
  • independent diff re-review — no findings
  • restarted launchd worker — 10 fixtures, both streams healthy, 0 reconnects/failures

No governor policy, approved evidence, public claim, Decision Tape, permit contract or submission narrative changed.

@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
stoppage-txline Ready Ready Preview, Comment Jul 29, 2026 10:27am

dolepee commented Jul 29, 2026

Copy link
Copy Markdown
Owner Author

@codex review

Please review the exact head dacee40 with particular attention to worker retry/abort semantics, privacy-safe diagnostics, generated-lock handling, and the consolidated security upgrades. Local full gate, audits, desktop/mobile browser gate, runtime restart, and an independent re-review are green.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: dacee40fdb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/live/txline-live-worker.ts Outdated

dolepee commented Jul 29, 2026

Copy link
Copy Markdown
Owner Author

@codex review

Please re-review exact head 2275a66. The P1 is fixed so only parent shutdown terminates a stream; unexpected/shared-request AbortErrors now enter sanitized failure handling and bounded retry, with a dedicated regression. Full local gate and independent review are green.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2275a668c0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/live/txline-live-worker.ts

dolepee commented Jul 29, 2026

Copy link
Copy Markdown
Owner Author

@codex review

Please review exact head 126f71f. The late-callback P1 is closed with current-attempt/child-signal guards across every stream callback and a regression reproducing delayed raw capture through watchdog abort. Full local gate: 200/200 tests, format/typecheck/build, 160-file public gate, release verifiers, and independent review green.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 126f71f5c2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant