Security and privacy
A security tool has to be safe to run.
Scan attacks hostile systems and holds your API keys, so its own handling of data, keys and untrusted input is part of the product.
01 · Data
Local first. Nothing is sent to AgentKavach.
- Where results live
- On your machine, as plain files: results, reports and configs. There is no account, no telemetry and no analytics on this site.
- What leaves your machine
- Only traffic to the target you configured and to the attacker and judge models you configured. Canary data is fake and generated per attempt.
- API keys
- Read from environment variables, never stored in configs, never shown, and redacted from every report, log, event stream and exported file. A config containing a key inline is rejected.
- Hosted tier
- Not built. The architecture keeps it possible, but the open-source product is local-only.
02 · Threat model
Threats we designed against.
Each mitigation has a test.
- Misuse. A scan cannot start without an authorization block, and no network code can be reached without the authorization token that block produces.
- Hostile targets. Target text is escaped everywhere. Reports are served sandboxed so a malicious reply cannot run script.
- Malicious MCP servers. Server commands come only from your config, run without a shell, with a minimal environment so your keys are not handed to them.
- The local app. Binds to loopback only, requires a random per-session token, rejects unexpected Host and Origin headers, sends no CORS headers and confines files to your workspace.
- Judge manipulation. Deterministic signals decide first. The judge sees the transcript as quoted data, and an unclear verdict is never a pass.
- Supply chain. Locked dependencies, no install scripts for the web build, workflow actions pinned by commit, and signed build provenance for releases.
03 · Disclosure
Reporting a vulnerability.
Report vulnerabilities in AgentKavach privately to the maintainers, never in a public post. A dedicated security contact will be listed on this page before the first public release. If you find a vulnerability in someone else's product using Scan, report it to its maker first and allow reasonable time to fix it before any public mention.
Maintainer to provide: a security contact email and the response-time commitment.