Local-First Privacy: How EngineNear Evaluates Prompts with Zero Raw Storage
Detailed architectural breakdown of ADR-0002: in-memory evaluation, on-device regex & Shannon entropy scanning, and why prompt text never touches disk or logs.
Why Enterprise Developers Fear Prompt Extensions
Browser extensions are notoriously invasive. Most extensions that promise AI autocomplete or grammar checking operate by shipping raw keystrokes to a cloud server, storing inputs in analytics databases, and analyzing prompt content to build user behavioral profiles.
For engineering teams working with proprietary source code, internal API keys, and confidential database schemas, this is an unacceptable compliance violation.
When we architected EngineNear, our very first architectural decision record—**ADR-0002**—established our non-negotiable founding principle: **Zero Raw Prompt Storage Guarantee**.
Architectural Guarantees of ADR-0002
1. Volatile Memory Only All prompt evaluation, syntactic decomposition, and credential scanning run in volatile memory within isolated Web Workers and local processes. Once the prompt blueprint is generated or the user leaves the tab, the buffer is immediately garbage collected.
2. Zero Disk Persistence EngineNear's cloud infrastructure and local extension bundles contain zero write routines to databases, file systems, or persistent caches for prompt text. There is literally no table or column for raw prompts in our schema.
3. Local-First Secret Scrubbing (<0.5ms p95) Before text is evaluated, our Tier-0 scanner checks for high-entropy tokens: - AWS access keys and Secret Keys - Stripe, OpenAI, and GitHub tokens - Database connection URIs (`postgres://...`) - JWT secrets and private RSA blocks
When a credential is detected, EngineNear warns the user locally on-device and provides 1-click synthetic masking or redaction before the prompt can be sent to the AI provider.
4. Verified Manifest V3 Scoping EngineNear only requests execution access to specific generative AI web domains (such as `chatgpt.com`, `claude.ai`, and `gemini.google.com`). It is physically impossible for the extension to inspect your online banking, corporate email, internal portals, or search history.
The Future of Confidential Productivity
Security and speed do not have to be mutually exclusive. By bringing structural prompt compilation and firewall protections directly to the device, EngineNear empowers developers to move at frontier AI speed with complete peace of mind.