Foil AI Code Security
AI code security review that runs entirely on your Mac
Foil runs an AI‑powered security scan entirely on a Mac, using an on‑device large language model to analyze source code for vulnerabilities without sending any data to the cloud. The native macOS application and a CLI command can examine projects written in several programming languages, producing detailed explanations of identified issues and automatically generated fixes.
The tool includes a custom‑trained 7‑billion‑parameter model, SecureReview‑7B, quantized to 4‑bit for efficient execution on Apple‑Silicon GPUs. This model is fine‑tuned for code review and vulnerability reasoning, enabling it to reason about security flaws rather than merely matching patterns. Results are presented through “Deep Dive” and “Deep Scan” views that validate exploitability and suggest rewritten code.
Because the analysis runs locally, developers retain full control over their code and avoid any external data exposure. The product is currently in public beta and positioned as a free community edition with optional paid plans for additional features.
Reviews
Loading reviews…
Similar apps
Password & Security
Tinfoil
AI chat and API that keeps your conversations fully private

Security & Identity
XploitScan
Security scanner built for AI-generated code

Security & Identity
FOSSA
Zero-configuration polyglot dependency analysis tool
Security & Identity
VibeScan
Security scanner for AI-built apps - fix prompts in 30s

Security & Identity
CodeQL
Semantic code analysis engine

Password & Security
UNPWNED
Scan your domain across 700+ security checks in under 2 minutes. Detect leaked API keys, open endpoints, missing security headers, SSL…