secretscan
v1.0.2
Published
A CLI tool to scan for hardcoded secrets
Downloads
8
Readme
🔐 secretscan
A simple Node.js CLI tool to scan files for hardcoded secrets, API keys, and tokens.
🚀 Features
Scans JavaScript, TypeScript, JSON, YAML, Python, and environment files
Detects patterns like API keys, JWT tokens, secrets, and passwords
🧠 Optional AI-based validation using local models like Ollama
If you want to use AI for the validation need to download
https://ollama.com/download
Once it is downloaded confirm whether http://localhost:11434/ Ollama is running in your local
📦 Installation
npm install -g secretscan
## Optional AI valdation
secretscan <path-to-file> --ai-local