Workspace & Security

Security & Privacy Architecture

Readme Studio is engineered with defense-in-depth for developers working with sensitive AI skill libraries, internal documentation, and local codebases.

100% Browser-Private Local Reading

Folders opened or dropped into /app are stored exclusively in your browser's private IndexedDB (or edited directly on disk via File System Access Local Vault). Zero files are uploaded to any server unless you explicitly publish a live MCP session.

Automatic Secret-File Blocklist

When scanning local folders, GitHub repos, or VS Code workspaces, Readme Studio automatically skips .env, .env.local, .env.production, .pem, .key, .p12, .pfx, credentials.json, service-account keys, .aws, .ssh, and .git directories.

Strict XSS & Mermaid SVG Sanitization

Mermaid runs in securityLevel: strict and all rendered Markdown HTML, TipTap links/images, and Mermaid SVGs are sanitized through DOMPurify with strict URL scheme validation (blocking javascript:, vbscript:, and non-image data: URIs).

Tamper-Proof Remote MCP Sessions

Shared ?s=<id> links are strictly read-only. Live mutations via update_live_workspace require the private write_token verified via timing-safe SHA-256 comparison, with 1,000-file / 10 MB uncompressed caps (512 KB per file), sharded ~800 KB resumable uploads, per-file revision conflict checks, 24-hour auto-expiry, and per-IP rate limiting.

Isolated Pyodide WASM Python Execution

Executable Python snippets and {test} blocks run 100% client-side inside an isolated WebAssembly Web Worker with a 15-second hard timeout - zero server-side code execution (zero RCE surface).

Delete Confirmation Modal & 5-Second Undo

Deleting any file, folder, or workspace opens a confirmation modal that highlights core entry files (SKILL.md, README.md, ROUTING.md), previews broken incoming references, warns when Local Vault disk sync is active, and provides a 5-second Undo Delete recovery button.