What problem does it solve?
Detects hardcoded credentials, fail-open authentication/authorization patterns, and dangerous default configuration settings that can expose secrets or weaken security posture before they reach production.
Core Features & Use Cases
- Hardcoded credential detection: Regex and pattern matching for API keys, tokens, private keys, base64-encoded secrets, and embedded connection strings.
- Fail-open and dangerous default analysis: Identify auth/authorization code that defaults to allow, CORS set to wildcard in prod, debug flags enabled, permissive CSPs, and long session lifetimes.
- Configuration audit across environments: Scan .env files, Docker Compose, Kubernetes manifests, CI configs, and application config files for insecure settings and secrets.
- Outcome-driven reporting: Classify findings as CRITICAL, WARNING, or INFO and produce structured remediation steps to block or fix high-risk items automatically.
Quick Start
Run the insecure-defaults scanner on a code change to detect hardcoded credentials and risky configuration defaults and receive a structured findings report.