VS Code Extensions
LogShield

LogShield

by hexg1

Sanitize logs, code, and secrets before sending to LLMs

Downloads

3

Rating

— (0)

Version

0.1.4

Last updated

Apr 22, 2026

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.

Related extensions