Skip to content

desk-hub tests: the no-secret check matches a token's shape, not 'eyJ' inside a hash - #318

Merged
SSFSKIM merged 1 commit into
masterfrom
p5-desk-eyj-flake
Oct 29, 2026
Merged

SSFSKIM merged 1 commit into
masterfrom
p5-desk-eyj-flake

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 29, 2026

Copy link
Copy Markdown
Owner

`nothingSecretPrinted` in apps/desk-hub/test/deploy/admin-verbs.test.ts matched a bare `eyJ`, which also occurs inside a random base64url string, hash or id a tool legitimately prints (about once per few thousand characters). It turned O3-C's class 1a red (run 40787350413, "no key printed").

The pattern now needs `eyJ` at a token boundary (not preceded by a base64url character) followed by 10 or more base64url characters. The `smns-...` and `"d":` alternatives and the exact-secret checks are unchanged. It is hoisted to a module constant with direct assertions beside it: a JWT-shaped token after a space, a quote, `=` or at line start is caught; `eyJ` inside a longer run such as `AbC9eyJx_k2` is not.

This was the only scan of arbitrary printed output in test/deploy/ using a bare `eyJ`. Input fixtures and production-scripts.test.ts's filter cases (which assert the wrapper drops any line with `eyJ`) are deliberate and untouched.

Verification: admin-verbs.test.ts 38/38 under vitest (desk-hub project); ci-gate static,unit,probes green on run 40792182894 (an earlier run, 40791006724, failed unit 4/4 on an unrelated flake, org-session.test.ts "M3: rekey > the replay at load, a crash after the first rename"); doperpowers:reviewer-low: correct, no findings.

Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)

…' inside a hash

nothingSecretPrinted matched a bare 'eyJ', which also occurs inside a random base64url
string, hash or id a tool legitimately prints (O3-C class 1a, run 40787350413). It now
needs eyJ at a token boundary followed by 10+ base64url characters, and the pattern has
direct assertions beside it.

Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-29T00:14:54.537042Z d69faa3 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SSFSKIM
SSFSKIM merged commit a26a493 into master Oct 29, 2026
SSFSKIM added a commit that referenced this pull request Oct 29, 2026
…idle-aba

Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
SSFSKIM added a commit that referenced this pull request Oct 29, 2026
… mini, 99145 KiB and 1.12 s; the A-B-A case (#319); #318 recorded

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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