Skip to content

fix(pm-console): what an end-to-end audit of the app and site found - #12946

Merged
dezren39 merged 1 commit into
mainfrom
claude/pm-audit
Nov 23, 2026
Merged

dezren39 merged 1 commit into
mainfrom
claude/pm-audit

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

What an end-to-end audit of the app and site found, and the fixes.

How it was audited

  • Every screen through the axe accessibility rules in a phone-sized Chrome, light and dark.
  • The live site's public surface read without sign-in: what answers, with which headers, and the install files.
  • Forged writes tried against the API.
  • The app's files' caching, in the real Worker runtime.

Found and fixed

Hard to read in daylight (24 rule failures in the light theme; now 0 in both themes):

What Was Now
"Answered", "failed", amber notes on the light theme 2.2 to 2.5 to 1 5 to 1 or better
The count on a tab (white on red), both themes 3.35 to 1 5.4 to 1
Links in running text told from the text by colour alone (2.9 to 1 against it) underlined
Card titles on screens with no sections announced as a skipped heading level announced as the level they are at

The app was downloaded again on every visit. Its files were sent no-cache with nothing to revalidate against. The edge now passes on the tag the platform's file store gives each file and answers a browser that names it with 304; the host tags its files by content and does the same. They are still asked for every time, so a deploy shows at once. Seen in the Worker runtime itself, and the deploy's own run of the bundle there now checks it each time.

Smaller: /console/health says which release of the Android app the edge knows of (so its arrival is checked from outside); the install manifest names its id; the page links the iOS home-screen icon the edge already served; responses carry Strict-Transport-Security.

Found sound and left alone

  • Nothing but the manifest, the asset links and the icons answers without sign-in.
  • A write forged from another site is refused three ways (cross-site origin, cross-site fetch metadata, a plain form post).
  • The asset links name the certificate the released APK is signed with.

Checked

bun test 194 pass; ten planted faults in the new code each caught; all 14 screens load clean; the real-runtime smoke passes with its two new checks.


Generated by Claude Code


Start Proof
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Every screen was run through the axe accessibility rules in a phone-sized
Chrome, in both themes; the live site's public surface, its headers and
its install files were read; forged writes were tried; the files' caching
was looked at in the real Worker runtime.

Readable in daylight (24 rule failures in the light theme, now none in
either):
- The status colours were made for the dark page and used unchanged on
  the light one, at 2.2 to 3.4 to 1: "Answered", "failed", the amber
  notes and the count on a tab were too faint to read. The light theme
  has its own, at 5 to 1 or better; the tab's count is white on a red
  that carries it in both themes.
- A link in running text was told from the text by colour alone, and
  the two colours are close. Such links are underlined.
- A card's title came straight after the screen's title as a
  third-level heading on screens with no sections; it is now announced
  as second-level there.

The app is no longer downloaded on every visit:
- Its files were sent "no-cache" with nothing to revalidate against, so
  each load fetched all of them again. The edge now passes on the tag
  the platform's file store gives each file and answers a browser that
  names it with 304; the host tags its files by content and does the
  same. They are still asked for every time, so a deploy shows at once.
  Checked in the Worker runtime itself, and by the deploy's own run of
  the bundle there from now on.

Smaller things:
- /console/health says which release of the Android app the edge knows
  of (the release is public), so its arrival is checked from outside,
  as the copy of the laptop's build already was.
- The install manifest names its id; the page links the iOS home-screen
  icon the edge already served; responses carry
  Strict-Transport-Security.

Found sound and left alone: nothing but the manifest, the asset links
and the icons answers without sign-in; a write forged from another site
is refused three ways; the asset links name the certificate the
released APK is signed with.

Ten planted faults in the new code are each caught.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
@dezren39
dezren39 requested a review from a team as a code owner November 23, 2026 05:42
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T05:43:44.818586Z bae2dab 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.

@dezren39
dezren39 merged commit 326ac80 into main Nov 23, 2026
1 check passed
@dezren39
dezren39 deleted the claude/pm-audit branch November 23, 2026 05:42
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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.

2 participants