Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>LogShieldNew to Visual Studio Code? Get it now.
LogShield

LogShield

hexg1

|
1 install
| (0) | Free
Sanitize logs, code, and secrets before sending to LLMs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

LogShield for VS Code

Sanitize logs, code, and secrets before sending them to LLMs like ChatGPT or Claude — without leaving your editor.

How it works

  1. Select any text in the editor
  2. Press Ctrl+Shift+L (or Cmd+Shift+L on Mac)
  3. The text is instantly sanitized — passwords, tokens, emails, and IPs are replaced with [REDACTED]

You can also right-click the selection and choose "Sanitize with LogShield".

Setup

  1. Get a free API key on RapidAPI
  2. Open VS Code Settings (Ctrl+,) and search for logshield
  3. Paste your key in LogShield: Api Key

What gets sanitized

  • Passwords and secrets
  • API tokens and keys (AWS, Stripe, GitHub, etc.)
  • Email addresses
  • IP addresses
  • Credit card numbers and IBANs
  • Personal names and locations (English and Italian)

Pricing

Free tier includes 250 sanitizations/month.

Get your API key on RapidAPI

Release Notes

0.1.0

Initial release.

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