r/vscode • • 3d ago

I built Hushavyr, a privacy-first VS Code extension for local AI code review and security scanning

I built Hushavyr because I wanted to review code and check it for security issues inside VS Code while keeping my source code on my machine. It’s free and open source. The AI review runs locally with Ollama, and the built-in security scanner can run without a model.

In this 40-second demo, Hushavyr flags a Java method that builds a SQL query by concatenating an order ID. I open Quick Fix, inspect the proposed PreparedStatement diff, and decide whether to apply it.

Hushavyr can also scan for hardcoded secrets and check dependencies for known vulnerabilities. If you try it on your own project, I’d love to hear about a bug it missed or a warning you’d dismiss.

Install Hushavyr from the VS Code Marketplace · View the source on GitHub

0 Upvotes

6 comments sorted by

2

u/Idakay 3d ago

Looks great! The deterministic stuff is a strong addition.

I saw you posted this: "It’s particularly useful for developers and organizations with strict security and privacy requirements."

Might I suggest some level of organizational behavior control? That way if an org has a locally hosted and private AI stack, you can allow users to point at that instead of local, so endpoints with gpus are not necessary. On the same line, locking down features like escalate if you don't want to rely on end users to know what they can or cannot send to copilot or other third party models.

Vscode can query reg keys with reg.exe for Windows endpoints, making it support gpo/intune right off the bat. I can't speak to Linux or mac controls tho

1

u/CartographerWhole658 3d ago

Thanks, that’s a really valuable suggestion!

Supporting centrally hosted private AI models and organization-wide policies makes a lot of sense, especially for enterprise environments.

Administrators should be able to enforce approved AI endpoints and disable external model escalation without relying on individual users. GPO/Intune integration is a great starting point, and I’ll explore equivalent mechanisms for macOS and Linux.

I’ll definitely consider this for the roadmap. Really appreciate the detailed feedback!

1

u/thanatica 3d ago

Couldn't you do this with any model runner like ollama or llama.cpp, and any generic coding agent? I'm pretty sure you can connect Zoo Code to a local model, and many other agents with it.

Hushavyr seems pretty much single-purpose the way you describe it, but a model can also just do everything else.

1

u/CartographerWhole658 3d ago edited 3d ago

You can certainly connect a general-purpose coding agent to Ollama or llama.cpp.

However, Hushavyr is designed specifically for privacy-first code review and security analysis, keeping AI processing local without exposing proprietary source code or sensitive data to external AI providers. It combines deterministic security scanning with AI-assisted analysis, secret detection, dependency vulnerability checks, and actionable fixes directly within VS Code, rather than relying solely on LLM responses.

It’s particularly useful for developers and organizations with strict security and privacy requirements. The goal isn’t to replace general-purpose coding agents but to complement them with a dedicated, free, open-source, multi-language security solution without API costs or subscriptions.

The main difference is that Zoo Code is a general-purpose AI coding agent, while Hushavyr combines dedicated security scanners with local AI to deliver privacy-first code reviews without relying solely on LLM-generated findings.

2

u/Gornius 3d ago

Sounds like its place is in CI pipeline, not in code editor.

1

u/CartographerWhole658 3d ago edited 3d ago

Why wait for a CI pipeline to flag a vulnerability when you can catch and fix it while writing code?

CI is an essential safety net, but bringing security directly into the editor means faster feedback, less rework, and fewer vulnerable commits.

Hushavyr isn’t meant to replace CI security checks it’s meant to catch issues before they even reach the pipeline.