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
- Select any text in the editor
- Press
Ctrl+Shift+L (or Cmd+Shift+L on Mac)
- 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
- Get a free API key on RapidAPI
- Open VS Code Settings (
Ctrl+,) and search for logshield
- 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.
| |