Skip to content
K

Kavach-proxy

Intercepting Threats. Preserving Trust

Created on 23rd October 2026

•

K

Kavach-proxy

Intercepting Threats. Preserving Trust

The problem Kavach-proxy solves

Build Kavach-Proxy: an enterprise AI security gateway & test lab (SentinelProof) via FastAPI & Streamlit. Features 3-layer defense (Ingress check, PII masking, Egress DLP), DPDP/GDPR compliance, & SHA-256 tamper-proof evidence. Secures LLMs against prompt injection & data leaks.

Challenges we ran into

Challenges We Ran Into & How We Solved Them
False-Positive Tuning (Strict Security vs. Developer Agility)

Hurdle: Early regex rules blocked real attacks (like DAN overrides) but accidentally flagged legitimate developer code debugging (e.g., SQL injection fixes) as malicious.

Fix: Re-architected our intent classification pipeline to separate malicious command wrappers from defensive programming context, eliminating false positives.

Immutable Audit Evidence (hashlib & SHA-256)

Hurdle: Ensuring that test records and audit trails stored in SQLite couldn't be manually tampered with by a compromised admin.

Fix: Integrated Python's hashlib to generate a unique SHA-256 digital fingerprint for every log event, making any database modification immediately detectable in the Evidence Explorer.

Technologies used

Discussion

Builders also viewed

See more projects on Devfolio