Data, credentials, and trust boundaries

Know what stays local and what does not.

IdeaForge is a static browser application with no account, sync service, analytics, or application backend. Sessions stay in browser storage. Model context, optional recorded dictation and optional spoken text go directly to their selected services. Browser recognition and network voices may also process content remotely. Exports and backups leave only when you explicitly create, copy, download or share them.

This page explains the web app's storage and security boundaries. The Privacy policy covers both the web and Android apps.

Encrypted credentials are not the same as encrypted interviews. API keys are encrypted at rest. Sessions, backups, and Markdown exports are readable documents by design so the app can search, resume, import, and share them.

Data map

Data Where IdeaForge keeps it When it leaves How to remove it
Sessions
Opening statement, questions, answers, draft text, coverage, facts, tags, status, synthesis, and imported content reports
Plain structured records in this origin's IndexedDB. After destination-specific agreement, relevant context is sent to the selected model provider for each generated question; the wrap-up sends the material needed to synthesise the final document. Report metadata is not included in model prompts. Export, copy, share, and backup create user-controlled copies, including any content reports imported from Android. Delete an idea in the library, or clear this site's browser data. Deleting an exported file is a separate operating-system action.
Inference, transcription and speech keys One AES-GCM encrypted credential payload in IndexedDB, with a non-extractable wrapping CryptoKey stored beside it. Attached by the relevant adapter to its selected provider. The speech key is independent and is never borrowed from inference or transcription. Keys are excluded from session backups and Markdown exports. Use Your data → Forget keys, clear site data, and revoke the key at the provider when compromise or reuse is a concern.
Server address and model choices In the encrypted credential payload, per provider, although these values are not secret. Used to address a loopback model server, and to name which model each request asks for. They are sent only to the provider already selected. Confirmed Forget keys clears the whole saved keyring.
Device preferences Plain localStorage: the finish word, hands-free preference, browser voice identifier, speaking pace, theme, a separate hosted-speech permission flag and the non-secret inference destination and acknowledgement identifier. The hosted speech choice, voice, key and successful-check status belong to the encrypted keyring instead. Voice and pace configure the chosen speech output; they are not interview content. Preferences are excluded from backups. Change the setting, or clear this site's browser data.
Recorded audio Held temporarily in browser memory when record-and-transcribe is used; it is not added to the session database. Sent directly to the selected Groq or OpenAI transcription endpoint. With browser recognition, processing behaviour is controlled by the browser. The app releases the recording after transcription. Provider-side retention is governed by that provider's account and policy.
Spoken text and generated audio Captions on screen and audio temporarily in memory. Generated audio is not added to sessions, backups or a persistent audio cache. Consented, checked OpenAI speech sends the text being read aloud directly to OpenAI. Browser network voices may send text to a service controlled by the browser; no IdeaForge speech key is used for that path. Playback resources are released on teardown. Provider-side retention is governed by the service, not by deleting an idea locally.
Static application shell Same-origin JavaScript, CSS, icons, manifest, and HTML in Cache Storage for installation and offline use. Cache entries are public application files, not sessions, keys, provider requests, or responses. Browser site-data controls can remove the service worker and Cache Storage. A new cache version also removes the previous IdeaForge shell cache.
Backups and exports Files or clipboard/share-sheet content outside browser storage after you create them. A backup contains all active and archived sessions. A Markdown export contains one idea's generated document, transcript and saved content reports. Neither contains API keys. Delete or secure the resulting file or shared copy wherever it was sent.

Network boundary

Model, transcription and hosted speech traffic travels directly to the configured provider; it does not transit an IdeaForge server. Hosted inference is allowlisted to Anthropic, OpenAI, Groq, and OpenRouter. Local inference is allowed only on localhost and 127.0.0.1, on any port. A typed arbitrary remote model URL is rejected before a request is made.

The current application HTML also loads its stylesheet and font files from Google Fonts. Those asset requests do not contain an IdeaForge API key or interview payload. There are no remote scripts, analytics libraries, or package dependencies. The guide pages use only the repository's local stylesheet and system fonts.

Provider requests use credentials: "omit", so browser cookies are not included. The provider still receives the API credential and the prompt or audio required to perform the selected operation. Provider logging, retention, training, abuse monitoring, and account controls are outside IdeaForge's control; evaluate them before submitting sensitive material.

A local chat model does not make the whole voice session local. If Ollama is selected for inference but Groq or OpenAI is selected for dictation, recorded audio still goes to the hosted transcriber. OpenAI speech sends narrated text, which can include details of the idea, to OpenAI. Browser recognition and network voices can also require remote processing. Typing with speech unused avoids those voice paths; choosing browser voice alone is not an offline or local-only promise.

Consent and the separate speech key

Browser speech is the default. Optional OpenAI speech requires a separately entered key, consent to metered text transfer and the AI-generated voice, and a successful Check and preview OpenAI voice action. The preview itself is a paid-provider request. It must succeed through the hosted backend; a browser fallback never counts as a passed check.

Withdrawing consent or selecting browser speech disables hosted output immediately and saves the withdrawal without waiting for Start. Both the separate permission flag and the checked keyring state must allow it. A new successful preview is required to enable it again; storage failures are reported explicitly.

The permission is for spoken output, not a new source of interview questions or dictation. It does not change model tiers, reuse the inference/STT key, or upload an audio recording to generate speech. Questions, examples, recovery messages and the final prompt may contain personal material, so treat the text read aloud as provider-bound content.

The adapter uses a fixed endpoint, bounded requests, no redirects and no persistent audio cache. During a voice run, a hosted failure is reported and falls back to the browser voice; cancellation does not trigger another request or fallback speech. These controls are not a claim of live API compatibility. No authorised live speech key or spending cap was supplied for this redesign, so hosted CORS and voice quality remain unverified by the developer.

Pause releases the microphone and stops playback. Already captured audio may finish transcription to preserve a draft; a request sent before pausing is not withdrawn from its provider by turning off the microphone. Resume requires a tap. Exit preserves transcribed words and reports cancellation of unfinished audio.

What credential encryption protects

On first save, IdeaForge generates a 256-bit AES-GCM key with Web Crypto. The key is marked non-extractable and stored as a CryptoKey in IndexedDB. The credential keyring is serialised, encrypted with a fresh IV, and stored as ciphertext. The raw API key is not written to disk as plaintext.

A non-extractable key can be used for encryption and decryption by this origin, but Web Crypto will not export its raw bytes. The stored payload is therefore not a plaintext API key file. Non-extractable describes what the Web Crypto API will export; it is not a guarantee against someone who controls the browser, operating system or an unlocked profile.

MDN documents storing CryptoKey objects in IndexedDB and the meaning of the extractable property.

What it cannot protect

A malicious script already running as the IdeaForge origin could call the same decryption and request functions as the legitimate app. Browser-side encryption cannot make a secret unavailable to code that must legitimately use it. It also does not protect an unlocked browser from a person who can operate the page, a compromised browser or operating system, or the provider account after a key is sent.

The controls that address that risk are structural:

The browser behaviour behind these controls is documented by MDN's Content Security Policy guide and connect-src reference.

What the offline cache contains

The service worker pre-caches the application shell and uses stale-while-revalidate for same-origin GET requests. This lets a previously loaded app open without a network connection. When no model is reachable, the interview can continue with built-in questions and records that degraded source in the session.

Cache Storage is separate from IndexedDB. Removing a stale app-shell cache need not delete sessions, while clearing all site data normally removes both. Back up before using broad browser reset controls. MDN's service-worker guide explains the underlying lifecycle.

A cached app shell does not make speech offline. Hosted transcription and speech still need their services, and browser recognition or network voices may need a connection too. The static guide and its screenshots are outside the app-shell cache.

Session retention, deletion, and recovery

Sessions are stored only on the current browser profile and origin. There is no cloud copy to restore after site data is cleared, the profile is reset, or the browser evicts storage. IdeaForge requests persistent storage when an interview starts or a backup is imported, but the browser makes the final decision.

IndexedDB's persistence model is described in MDN's IndexedDB reference. For backup and library operation, see Ideas library.

Safe key practice

  1. Create a separate, scoped key for IdeaForge rather than using a broad personal or production credential.
  2. Prefer an expiry, usage cap, project boundary, or provider-side budget limit where the provider offers one.
  3. Never paste a key into a shared Claude artifact. Inside a Claude viewer, select Claude (this viewer), which needs no key.
  4. On a borrowed or shared device, confirm Forget keys before leaving. This clears the saved inference, transcription and speech keyring, not your interviews or non-secret voice preferences. Revoke credentials at their providers if another person may have used them.
  5. Never include an API key, session backup, or sensitive transcript in a public bug report. Revoke first if a key has been exposed.

Report a security problem privately

Use GitHub private vulnerability reporting for anything that can exfiltrate a stored key, execute script in the page, alter what is sent to a provider, or cross an origin's storage boundary. Include the browser, exact origin, impact, and reproduction steps, but never include a live credential.

Implementation references

IndexedDB stores and persistence are defined in src/store/db.js. Credential encryption, migration, masking, and deletion are in src/store/secrets.js. Session persistence is in src/store/sessions.js, and key-free backup serialisation is in src/core/backup.js.

The hosted speech request boundary is in src/providers/tts.js. In-memory playback and cleanup are in src/voice/playback.js, while the consent and successful-preview gate are in src/ui/app.js.

The application CSP and outbound host list are in index.html. Cache scope and exclusions are in sw.js. The repository's maintained threat model and disclosure route are in SECURITY.md.