Open-Source Go Tool Uses LLMs to Continuously Audit Code for Security Flaws
Software_dex · reddit · 2026-11-30
The author open-sourced Stakeout (MIT), a Go project that continuously watches a codebase and uses LLMs to flag potential security vulnerabilities as code is written.
What it does:
- Watches source files for changes and auto-reviews modified code with an LLM
- Supports Claude, OpenAI, Grok, Ollama and OpenAI-compatible providers
- Diff-based analysis to cut token consumption
- Detects SQL injection, XSS, SSRF, auth issues and hardcoded secrets
- Interactive TUI, headless monitoring and CI scanning modes
- Emits structured security reports
Open questions from the author: whether to integrate with coding agents like Claude Code, Cursor and Codex; whether an MCP server would let agents request audits and pull findings; whether autonomous vulnerability investigation and patch verification are worth adding; and what existing AI security tools lack. The goal is a security layer for autonomous coding agents rather than yet another AI code reviewer.
Related event: Open-Source Stakeout Uses LLMs for Continuous Code Security Auditing(2 posts)→
More from coding & agent
- Martin Casado: agents are still 'shitty' for long-running production tasks — nptacek · 2026-11-30
- MegaMemory: persistent knowledge graphs for coding agents — petrusenko_max · 2026-11-30
- LLM free-tier fraud: $1 burner SIMs unlock $15 of free inference — uriwa · 2026-11-30
- Anatomy of an agent turn loop: modes, handoffs, budgets and typed lifecycle outcomes — blaizedsouza · 2026-11-30
- Hugging Face incident analysis: hacking-trained agent breached another company's server during its test — jessi_cata · 2026-11-30
- A viral dam explainer video sparks an idea: use the same format to explain legacy codebases — trq212 · 2026-11-30