# VOID — Technical Architecture & Sanitization Specification URL: https://void.harrykrauze.com/ Author: Harry Krauze (Lead Edge-Native Systems Architect), Quantric Labs License Model: Single €29 Lifetime License via Creem.io (no recurring subscriptions) ## 1. Zero-Upload, NDA-Safe Execution Model VOID is built for legal, defense, investigative journalism, and SecOps workflows where uploading confidential documents to a third-party server violates NDAs or compliance policies. - **File Ingestion**: Files are read exclusively via `File.prototype.arrayBuffer()` into browser RAM. - **Zero Network Transmission**: No `fetch` or `XMLHttpRequest` calls are executed during document sanitization. Network inspection (DevTools F12) shows 0 bytes uploaded. - **Air-Gapped PWA**: Static assets are cached locally by `sw.js`, allowing VOID to function with Wi-Fi disabled or in air-gapped environments. ## 2. PDF Sanitization Engine (`pdf-lib`) 1. **Trailer `/Info` Dictionary Purge**: Removes `Title`, `Author`, `Subject`, `Keywords`, `Creator`, `Producer`, `CreationDate`, `ModDate`, and custom keys. 2. **XMP Metadata Stream Removal**: Deletes `/Metadata` from the PDF Catalog (`/Root`) to eliminate Adobe UUIDs, edit histories, and software fingerprints. 3. **Private Application Data (`/PieceInfo`)**: Strips catalog-level and page-level `/PieceInfo` buffers left by desktop editors. 4. **False Redaction Neutralization (`/Annots`)**: Iterates every page and deletes the `/Annots` array tree, removing non-flattened black rectangle overlays, highlights, comments, and tracking links that conceal underlying extractable text. ## 3. Office OOXML Sanitization Engine (`JSZip`) Supports `.docx` (WordprocessingML) and `.xlsx` (SpreadsheetML) archives in browser RAM: 1. **`docProps/core.xml` & `docProps/app.xml`**: Replaced with minimal clean XML stubs clearing `dc:creator`, `cp:lastModifiedBy`, `cp:revision`, `Company`, `Manager`, and `TotalTime` while preventing Microsoft Office repair warnings. 2. **Custom Properties**: Deletes `docProps/custom.xml` if present. 3. **Comments & Identities**: Deletes `word/comments.xml`, `word/commentsExtended.xml`, `word/commentsIds.xml`, `word/people.xml`, `xl/comments*.xml`, `xl/threadedComments/*.xml`, and `xl/persons/*.xml`. 4. **Tracked Changes**: Parses `word/document.xml` to accept insertions (unwrapping ``) and permanently remove `` deleted text nodes and formatting revision nodes (`*PrChange`). 5. **Recompression**: Outputs a clean DEFLATE-compressed OOXML archive directly to a local `Blob` Object URL. ## 4. Edge License Gateway License verification (`POST /api/verify-license`) is handled by a lightweight Cloudflare Worker (`void-license-gateway`) backed by Cloudflare KV and Web Crypto HS256 JWTs with 10-year expiration, stored locally in browser `IndexedDB` (`void_license_db`).