Skip to content

refactor: Security and privacy hardening for HTML snapshot storage #62

@joseph0926

Description

@joseph0926

Problem

Storing HTML snapshots in IndexedDB and re-injecting them poses security risks:

Potentially persisting XSS-tainted HTML
PII exposure in stored snapshots
Enterprise compliance concerns

Proposed Solution

Add option to disable snapshot capture for specific routes
Provide optional WebCrypto-based encryption for snapshots/models
Document sanitizer strategy and limitations clearly
Add clear logout/session-end cleanup API

Documentation Needs

Security/compliance section in docs
Clear explanation of sanitization boundaries

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions