Skip to content

security: stream remote responses with hard limits and safe cache commits - #18

Closed
rwang23 wants to merge 1 commit into
Codex/audit-pr01-hermetic-testsfrom
Codex/audit-pr05-network-cache
Closed

security: stream remote responses with hard limits and safe cache commits#18
rwang23 wants to merge 1 commit into
Codex/audit-pr01-hermetic-testsfrom
Codex/audit-pr05-network-cache

Conversation

@rwang23

@rwang23 rwang23 commented Jul 26, 2026

Copy link
Copy Markdown
Owner

Closes #8

What changed

  • stream Catalog, Registry, and Full Skin responses under explicit byte caps
  • reject unexpected MIME types, oversized declared bodies, truncated reads, and request timeouts
  • disable redirect following and add connect deadlines for fixed-origin fetches
  • publish verified cache candidates with a durable, never-overwrite operation so a valid cache remains available

Verification

  • npm run desktop:check (30 Rust tests)
  • npm run test:source

Residual verification

  • PR CI will exercise the generated-artifact and cross-platform build matrix.

@rwang23

rwang23 commented Jul 27, 2026

Copy link
Copy Markdown
Owner Author

Superseded by #26, now merged into main at e2ed6e8. This branch head is already included in main; closing the draft avoids duplicate review and merge work.

@rwang23 rwang23 closed this Jul 27, 2026
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