OPEN_SOURCE ↗
REDDIT · REDDIT// 24d agoOPENSOURCE RELEASE
Trepan Launches Local AI Security Gatekeeper
Trepan is a VS Code security gatekeeper that uses a local Ollama model and project-specific rules to audit AI-generated code before it lands. It aims to catch hallucinated vulnerabilities like insecure API usage, DOM XSS, and hardcoded secrets without sending code to external APIs.
// ANALYSIS
This is a genuinely useful idea, but the real challenge is less “which model is best” and more whether the rules and prompts are tight enough to make the audit behave predictably on messy real code.
- –Local-only auditing is a strong differentiator for teams that can’t leak code snippets to cloud services.
- –The zero-baseline approach is compelling because it compares suggestions against explicit project rules instead of generic security advice.
- –The biggest risk is false confidence: an LLM auditor can sound certain while still missing context, edge cases, or architectural intent.
- –The product’s usefulness will hinge on rejection quality and developer UX in VS Code, not just raw model capability.
- –Smaller local instruct models may be enough for narrow rule sets, while larger models will probably help once the codebase and policy surface area grow.
// TAGS
trepanllmai-codingideprompt-engineeringopen-sourceself-hostedsafety
DISCOVERED
24d ago
2026-03-18
PUBLISHED
24d ago
2026-03-18
RELEVANCE
8/ 10
AUTHOR
Lumpy_Art_8234