Free, fast, offline code security scanner. AI-powered analysis catches what regex misses. Zero dependencies, MIT license.
pip install critik
Detection
11 check types across secrets, injection, auth, config, and framework-specific patterns.
AWS keys, API tokens, private keys, database URLs, encryption keys
16 patternsf-strings in execute(), eval/exec, os.system, subprocess with shell=True
6 patternsUnprotected FastAPI and Express routes without auth decorators or middleware
2 checksDEBUG=True, CORS wildcards, insecure cookies, weak crypto algorithms
6 patternsReal secrets in .env files, missing .gitignore entries for sensitive files
3 checksSupabase RLS, Firebase rules, Next.js server actions, NextAuth, Prisma, Stripe
8 checksSetup
No accounts, no cloud, no config files. Install and scan.
pip install critik — zero dependencies, Python 3.10+
critik scan . — scans your project, shows findings with severity + location
critik scan . --format fix — generates LLM-ready fix prompts for each finding
critik scan . --ai — Groq/Llama 3.3 reviews each finding, filters false positives with explanations. Free Groq API key.
Features
A real scanner with IDE integration, CI/CD support, and custom rules.
Inline diagnostics, hover cards, quick fix actions. Scans on save.
SARIF output for GitHub Code Scanning. Auto-scan every push.
critik hook install — block commits with critical findings.
Write your own rules in YAML. Share rule packs with your team.
critik watch . — continuous scanning as you code.
Save current findings, only see new ones. No noise from known issues.
Comparison
Free doesn't mean weak.
| Critik | Snyk | Semgrep | Bandit | |
|---|---|---|---|---|
| Price | Free | $25-98/dev/mo | Free-$40/mo | Free |
| Offline | Yes | No | Yes | Yes |
| AI analysis | Built-in | Add-on | No | No |
| Multi-language | Python, JS/TS, configs | 20+ languages | 20+ languages | Python only |
| Framework checks | 6 frameworks | Generic | Community rules | None |
| Fix prompts | Free | Paid | No | No |
| Custom rules | YAML | Platform | YAML | Python plugins |
| IDE extension | VS Code / Cursor | VS Code | VS Code | No |
| Dependencies | Zero | Node.js runtime | Python + OCaml | Zero |
Free, fast, offline. One command to find what you missed.
pip install critik && critik scan .