Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>DMasker PII GuardNew to Visual Studio Code? Get it now.
DMasker PII Guard

DMasker PII Guard

DMasker Chat

|
1 install
| (0) | Free
Deterministically masks PII before sending prompts or files to LLMs and rehydrates responses.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DMasker PII Guard

DMasker PII Guard is a VS Code Chat participant that masks personally identifiable information locally before sending prompts to a language model.

Usage

Open VS Code Chat and mention @dmasker in a prompt. DMasker can mask PII in:

  • Plain text prompts
  • Attached files
  • Text selections
  • JSON, YAML, CSV, TSV, and SQL values

Masked values are rehydrated deterministically in the model response through SessionVault.

Outbound inspection

Use View: Open Output and select DMasker Outbound Inspector to inspect:

  • Masked outbound payloads
  • Active vault mappings
  • Rehydration verification status

Commands

  • DMasker: Clear Session PII Vault - clears all active mappings.
  • DMasker: Rotate Session Salt & Clear Vault - rotates the deterministic salt and clears the vault.

Configuration

  • dmasker.dateShiftDays: maximum date offset used for deterministic date masking.
  • dmasker.showMaskSummary: show or hide the masking summary in chat responses.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft