Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>RedActorNew to Visual Studio Code? Get it now.
RedActor

RedActor

Gianfrancesco Angelini

|
1 install
| (0) | Free
Anonymize sensitive code snippets before sharing.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

RedActor — Anonymize Code in 1 Click

Stop leaking secrets to AI, issues, and chats.

RedActor anonymizes sensitive data directly in VS Code, locally.

Why people install it

  • Fast: run from context menu or command palette
  • Safe: no cloud, no API calls, no data exfiltration
  • Practical: preview diff before sharing

What it anonymizes

  • Emails → user@email.com
  • URLs → https://example.com
  • IPs → 0.0.0.0
  • Secrets/keys → SECRET_1, SECRET_2, ...
  • Names → PERSON_1, PERSON_2, ...
  • Your custom regex patterns

Commands

  • Anonymize Code (redactor.anonymize)
  • Anonymize Code (Preview Diff) (redactor.diff)

1-second setup

  1. Open your file
  2. Right-click → Anonymize Code
  3. Done — safe to share

Custom rules (team-ready)

"redactor.customPatterns": [
  {
    "name": "Internal Ticket",
    "regex": "/TICKET-[0-9]+/g",
    "replace": "TICKET-XXX"
  }
]

Recommended settings

"redactor.openInNewTab": true,
"redactor.highlight.enabled": true,
"redactor.highlight.color": "rgba(0, 255, 0, 0.15)"

Positioning

If you use AI tools daily, this should be always-on.

Copy less risk. Paste with confidence.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft