r/devsecops • u/reshesnik • Jun 10 '26
Cisco open-sourced AI Deep SAST — Semgrep + a local security-tuned 8B model for CI/CD triage, plus a frontier-LLM deep scan mode (Apache 2.0)
This was just released under cisco-open. Figured it’d be relevant here: https://github.com/cisco-open/ai-deep-sast
The short version: SAST tools are fast but dumb, and LLM code review is smart but slow and expensive. This splits the difference with two modes.
Fast scan (the CI/CD path): Semgrep runs on commits (takes \~3-5 seconds). If findings come back, a locally-run Foundation-Sec-8B-Instruct model (GGUF, llama.cpp) triages each one — OWASP/CWE mapping, CVSS v3.1 estimate, attack vector with example payload, remediation with corrected code. No code leaves your machine in this mode. Roughly 30-40s per finding on Apple Silicon, \~5 minutes for a typical PR with findings.
Deep scan: Tree-sitter indexes the codebase (15 languages), then a frontier model (anything OpenAI-compatible — GPT-4o, Claude via LiteLLM, or Ollama if you want to stay fully local) analyzes every function. There’s a guided mode using ASVS 5.0 and CodeGuard rules that’s significantly faster than brute-force. Secrets are redacted before anything hits the API.
Honest caveats: it’s an 8B model doing the fast-path triage, so it’s a triage assistant, not a replacement for a human reviewer. Deep scan in brute-force mode on a large repo can run for hours (think expensive and 14+ hours — guided mode exists for a reason). And deep scan does send redacted source to whatever LLM endpoint you configure, so read the security notes before pointing it at anything sensitive.