Skip to content
KAVACH

KAVACH

AI-Security Firewall

Created on 7th March 2026

•

KAVACH

KAVACH

AI-Security Firewall

The problem KAVACH solves

Problem

  1. Ai tools write perfectly insecure code which become ease for developer as well for hackers.
  2. Security tools only scan the mistakes after getting committed so when they find the error its already too late.
  3. Also Cloud based tools use this sensitive data as well for their training.

Our solution

  1. Intercepts dangerous code the moment you save a file
  2. Generates a living security report that updates in real-time
  3. Traces vulnerabilities across multiple files, not just one line
  4. Learns your coding patterns and reduces false positives over time
  5. Blocks destructive terminal commands before execution
  6. Runs 100% locally — your code never leaves your machine

Challenges we ran into

  1. Ollama Returning Unpredictable JSON
    Ollama kept wrapping responses in markdown, adding extra text, or hallucinating fields — breaking every downstream system.Fix: Strict system prompts + a JSON extraction layer that strips everything outside curly braces + auto-retry on parse failure.

  2. Semgrep False Positives Everywhere
    Fresh projects were showing 40+ alerts. Test files and mock data treated as critical threats. Tool was unusable.
    Fix: Built context-aware filtering using context.json to auto-downgrade severity for test files. RL system learns which rules are noisy for your specific project over time

  3. Terminal Interception Breaking Normal Workflow
    Shell hooks were too aggressive — blocking legitimate dev commands and frustrating the user constantly.
    Fix: Introduced a 3-tier system — hard block, warn-and-proceed, and silent log — so only genuinely dangerous commands are stopped.

Discussion

Builders also viewed

See more projects on Devfolio