The open-source safety visor for AI-assisted development — scanning code quality, secrets, and vulnerabilities before and after every AI edit.
go install github.com/ailinter/ailinter/cmd/ailinter@latestYour AI coding assistant goes into every file blind. ailinter gives it a pre-flight checklist — scanning for complexity traps, hardcoded secrets, and vulnerability patterns before and after every AI edit.
One tool. Five shields:
| Code Quality | 17 detectors, 0–100 score | Catches brain methods, deep nesting, god classes |
| Secret Detection | 269 rules, 100+ providers | 203% more secrets found than gitleaks alone |
| Vulnerability | 25 OWASP patterns | Deserialization, injection, XSS, weak crypto |
| Refactoring | 8 step-by-step patterns | Exact instructions AI can follow to fix issues |
| Hotspots | Churn × complexity | Find the files most likely to break next |
Every file gets a score that tells AI when to back off:
| 95–100 Go Ahead | 75–94 Proceed with Care | 0–74 Stop & Refactor |
|---|---|---|
| Safe to modify | Small changes only | Refactor first |
MCP-compatible. Single binary. Zero dependencies. Under 15MB.
- Install:
go install github.com/ailinter/ailinter/cmd/ailinter@latest - Quick Start:
ailinter check src/main.go - Source: github.com/ailinter/ailinter
- Website: ailinter.dev
Created by Ivan Bernikov · LinkedIn