Skip to content

fix: harden local workspace persistence - #2

Merged
erickkkyt merged 1 commit into
mainfrom
codex/workspace-security-hardening
Aug 21, 2026
Merged

fix: harden local workspace persistence#2
erickkkyt merged 1 commit into
mainfrom
codex/workspace-security-hardening

Conversation

@erickkkyt

Copy link
Copy Markdown
Contributor

Summary

  • encrypt locally stored provider secrets with an automatic per-install SQLite key and migrate legacy plaintext rows
  • prevent stale canvas snapshots from overwriting newer tab state
  • reject active/conflicting upload MIME types and harden local asset responses
  • keep arbitrary public provider media URLs compatible while blocking private literal hosts
  • bound JSON requests and provider response bodies, add timeouts, and remove full media URL logs

Verification

  • pnpm typecheck
  • pnpm test (212 passed)
  • pnpm i18n:check
  • pnpm build
  • pnpm cf:build
  • pnpm audit --prod --audit-level high
  • Codex Security diff scan: 0 reportable findings
  • staged, tracked-tree, and Git-history secret-pattern scans: clean

Scope

  • no database schema changes
  • no external API shape changes
  • untracked public/demo-assets intentionally excluded

@erickkkyt
erickkkyt marked this pull request as ready for review August 21, 2026 18:05
@erickkkyt
erickkkyt merged commit 1637dbf into main Aug 21, 2026
3 checks passed
@erickkkyt
erickkkyt deleted the codex/workspace-security-hardening branch August 21, 2026 18:05
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