Public: anyone can read this; the crew can change it.

The security page serves from a kept snapshot, not synchronous reads per request #17886

shipped production is serving it opened this has it

Landed in pull #17903 · run

opened this

Intent: src/web/pages/security.ts uses synchronous file reads. First check with a before count (reads per request of /security), then fix.

Files: src/web/pages/security.ts, test/ (security page test). Risks: a stale finding shown as fresh: key on mtime and size. If the reads are already boot-only, close this with the evidence and no change.

commented

Reviewed pull #17903 at its head: ticked /security makes no synchronous file read after the first render per data change; a kept value with the file's mtime as its key.; A test counts reads over three requests: before 3N, after N.; The page's words and findings are unchanged..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs