On-device AI security scanner · now in public beta

Find Vulnerabilities
Before They Ship.100% Local AI.

Foil uses on-device LLMs to scan your code for security flaws. Your source code never leaves your Mac. Deep Dive & Deep Scan explain the vulnerability and rewrite the fix.

See Developer PlansSee Docs
No cloudNo API keysRuns on Apple Silicon

Trusted by developers at

Nobody, yet. A lot of developers soon…

We just released Foil and we're building it up. No fake logos here. If you'd like to help shape it, come join the beta.

Experience Foil.

Step through a real scan — click through the dashboard, Deep Dive & Deep Scan, and rewritten fixes in this interactive walkthrough.

Foil — interactive walkthrough
New · Custom-trained model

Purpose-built AI.
Not a generic chatbot.

Foil ships with SecureReview-7B — our own LLM fine-tuned specifically for code review and vulnerability analysis, quantized to 4-bit MLX for native Apple Silicon performance.

While competitors rely on generic cloud models that guess at security context, SecureReview-7B was trained on the agentic workflow Foil uses to validate findings, explain impact, and rewrite fixes.

🤗View on Hugging Facevitorallo/securereview-7b-mlx-4bit
🛡

SecureReview-7B

4-bit MLX · Apple Silicon

Included

Parameters

7B

Quantization

4-bit

Framework

MLX

Context

8K tokens

Trained for vulnerability reasoning
Tuned for Foil's agentic workflow
Runs fully offline on M-series GPUs

Your AI Security Analyst

Traditional scanners match patterns. Foil reasons about your code. Click a card with a play icon to watch it in action.

According to the OWASP Top 10 (2025), broken access control remains the #1 web application security risk. The IBM Cost of a Data Breach Report 2024 found the average breach costs $4.88M.

Install in Seconds.
Scan in Minutes.

  • No Docker. No cloud config.
  • Works offline from day one.
  • Apple Silicon native — no emulation.

$ brew tap vitorallo/foil

$ brew install --cask foil

$ foil scan ./my-project

✓ Scanning 47 files...

⚠ 3 vulnerabilities found

$ foil scan --deep ./my-project

🔍 Analyzing findings with local LLM...

✓ 3 fixes generated with explanations

Frequently Asked Questions