LeakNinja — Secret Detection
Local, zero-network extension to prevent secret/API key leaks in your code.
Scans on save and integrates with Git. No data leaves your machine.
Features
- Auto scan on save (pre-save hook)
- Manual scan with
Ctrl+Alt+L (Cmd+Alt+L on macOS)
- Immediate blocking when a critical secret is detected
- Inline highlights (red = critical, orange = warning)
- Workspace scan command
- Git helpers: scan changed/staged files
Commands
LeakNinja: Scan current file
LeakNinja: Scan workspace
LeakNinja: Scan Git changed files
LeakNinja: Scan Git staged files
LeakNinja: Toggle pre-save scanning
LeakNinja: Open settings
Settings
leakninja.enablePreSave — scan on save (default: true)
leakninja.warnThreshold — warning threshold (0..1, default 0.65)
leakninja.blockThreshold — blocking threshold (0..1, default 0.78)
leakninja.ignorePaths — glob patterns to ignore
leakninja.patterns — extra regexes (strings) to detect secrets
Privacy
LeakNinja runs entirely locally. No network calls. Telemetry is opt-in and off by default.
License
LeakNinja License v1.0 — see LICENSE.
© 2025 LeakNinja by NinjaSoft.
| |