Foil¶
Local AI-powered security code review for Apple Silicon.
Foil runs a function-level static scanner plus an LLM on your Mac, with no source code ever leaving the machine. It ships as a standalone app (DMG / Homebrew), a CLI, and a local web dashboard.
-
Getting Started Install Foil, scan your first project, understand the editions.
-
CLI Reference Every command, every flag — auto-generated from the Click app.
-
UI Guide A tour of the web dashboard, section by section, with screenshots.
-
Benchmarks How Foil performs on DVNA, PyGoat, and real-world targets.
What you can do with Foil¶
- Scan a repo locally for OWASP-class vulnerabilities with a code-specialised 7B model
- Drill into HIGH findings with an agentic "deep dive" investigation loop
- Track findings per project in a local web dashboard
- Operate fully offline once models are downloaded
Where to next¶
New to Foil? Start with the quick start. Looking for a specific command? Jump into the CLI reference. Exploring the app? The UI guide walks through every screen.