Before AI

A local model keeps the data close, not invisible

A practical guide to redact before local llm: what leaves the document, what to mask, and how to verify the result.

Redact Before Local LLM: Keep Client Data Out of the Prompt

A local model keeps the data close, not invisible. A local model does not send the prompt to a vendor, but the data still lives on the machine. Logs, cache, retrieval indexes, backups and the model output are copies. A shared laptop or a support session can expose them.

What leaves the document

Use a dedicated machine or profile, encrypt the disk, keep the input and output folders separate, and delete the temp files after the job. Mask the identifiers you do not need even locally, because the output may be shared later.

Where the data hides

The prompt is only one layer. Check:

The redaction flow

  1. Prepare a dedicated machine or profile.
  2. Mask the values the task does not need.
  3. Run the model with logging minimized.
  4. Delete the temp files and the input copy.
  5. Record the operator, the model version and the time.

Controls to verify

  • Full-disk encryption and a locked screen.
  • A local account with least privilege.
  • Logging disabled or minimized.
  • A deletion procedure for temp and cache.
  • A backup rule that covers the local copies.

Retention and evidence

Local retention is your retention. The model folder, the output folder, the backup and the chat history all need a decision. A deleted file can survive in a snapshot or a sync client.

Limits

Local is not anonymous. The model can infer from context, and the output can be shared. A stolen laptop or a support session can expose the data. Updates and model versions need a record.

What local actually means

A local model runs on your hardware: the prompt never leaves the machine or the LAN, the weights sit in your custody, and the data fate is yours to decide. That is a real boundary — the strongest available against provider-side exposure. It is not invisibility: the machine is still networked, the outputs still get pasted somewhere, and the model's training data is whatever it was trained on. Local solves the transport problem; it does not solve the handling problem.

The trade-offs, honestly

Local models are smaller than the frontier cloud models, and the capability gap shows on hard reasoning and long documents. Hardware is the gate: a useful model wants a serious GPU and memory budget, which prices laptops out. Maintenance is yours — updates, model swaps, monitoring. The honest arithmetic: local wins on confidentiality and recurring cost, loses on capability and effort. Workloads that are sensitive and forgiving of capability fit; the rest usually belong in a well-contracted API.

The update path

A local model is software: it gets patched, swapped, and occasionally compromised through its supply chain like any other. Keep the model weights and the runtime in the same update discipline as the rest of the fleet — signed sources, versioned rollouts, rollback ready. The air-gapped variant trades the update risk for a media-handling process, and the process is the price of the boundary.

How Veilbrook fits

Veilbrook can mask a document before it reaches a local model where the workflow supports it, or run in an on-premise deployment. The device and deletion controls remain yours.

Questions for the vendor

What good looks like

A good workflow is boring: the tool sees tokens, not the client; the mapping stays on your side; the history is short; and a second person can explain what was sent. The output still needs a review, because a model can infer a value that was never in the prompt.

Before you send

Classify the document, mask the identifiers, attach only what the task needs, and keep the mapping outside the tool. After the answer, restore the values on your side and check that the output did not reintroduce one. If the tool keeps the conversation, decide the retention before you start. A receipt is not a substitute for a review.

Common mistakes

Questions

Is a local model safer?

It removes the vendor path and adds device, backup and support risk. The controls decide.

Do I still need to mask?

Yes, if the output leaves the machine or the model does not need the real value.

What about logs?

A local model can log the prompt. Minimize logging and delete the copies.