Skip to main content
Glama

Gandoki

A secret scanner that can't lie to you.

By Godwin Tarbo — github.com/tarbo03

Every finding states what the tool knows and what it doesn't. The AI layer is architecturally forbidden from inflating a finding — proven by a test in CI.

The problem

Security scanners have a false-positive problem nobody talks about. An automated scan that reports 200 findings, of which 180 are noise, is worse than no scan — a human has to re-verify every claim before trusting any.

LLM-powered security tools make this worse. A hallucinated finding reads as confidently as a real one.

Related MCP server: cloud-audit

What this tool does differently

Every finding carries a confidence tier and validation status:

  • VALIDATED_LIVE — third-party API confirmed the credential works

  • CONFIRMED_PARTIAL — file fetched and body-verified, not tested

  • FORMAT_MATCH — credential format matched; never tested

  • SUSPECTED — weak match, hidden by default

Nothing is reported as VALIDATED_LIVE unless a read-only call to the third party actually confirmed it. No exceptions.

The AI invariant

The LLM is used for one purpose: retracting false positives. It cannot inflate. Its write surface is exactly one field — Finding.section.

Enforced at three layers:

  1. The verdict parser returns only (kind, reason)

  2. The orchestrator has exactly one mutation site

  3. test_ai_asymmetry.py feeds a hostile model response and asserts that tier, impact, validation, and caveat are unchanged

If that test ever fails, the tool's honesty claim is a lie.

The model cannot upgrade a FORMAT_MATCH to VALIDATED_LIVE. It cannot raise an impact level. It can only retract — and retracted findings appear in a visible retracted[] array with reason, model ID, timestamp, and input hash.

What it does

  • 55 detectors — 25 secret types (OpenAI, Stripe, AWS, GitHub, Supabase, MongoDB, private keys) + 30 debug-exposure detectors (Django DEBUG=True, Flask Werkzeug, .env, .git, Spring actuator, phpinfo, sourcemaps)

  • 8 verification layers — content-type, body-shape, SPA-fallback, <pre> context, guard detection, error-status, traceback structure, third-party sourcemap recognition

  • Live validation — read-only against OpenAI, Stripe, AWS STS, GitHub

  • Reports — JSON, HTML (XSS-safe), SARIF

  • Coverage manifest — every report says what was scanned and what was skipped and why

  • MCP server — 7 tools for Claude Desktop, Cursor, or any MCP client

  • Scan history — SQLite with prefix-based diff

🔌 MCP Server (Remote & Local)

Gandoki is a fully functional Model Context Protocol (MCP) server. You can use it locally via stdio, or connect to the hosted Azure instance.

Connect via MCP Marketplace

Gandoki is available as a fully managed, hosted server on leading MCP marketplaces. We are continuously adding new platforms to give you the best experience.

(More platforms coming soon.)

When you connect via these marketplaces, the platform handles the session management. You will be prompted to add your OpenRouter API key to the X-OpenRouter-Key header so the AI features can function securely using your own quota (BYOK).

Bring Your Own Key (BYOK) Architecture

To protect your API quotas and ensure maximum privacy, the hosted server operates on a BYOK model. You simply pass your OpenRouter API key in the X-OpenRouter-Key HTTP header when connecting.

  • The key is extracted via FastMCP v3's get_http_headers().

  • It is used only for your specific scan request.

  • It is never logged, stored, or shared.

Run the Docker Container Locally

If you prefer to host it yourself, Gandoki includes a production-ready Dockerfile configured for Azure Container Apps (or AWS ECS).

docker build -t gandoki-mcp .
docker run -p 8080:8080 gandoki-mcp

The server will start on http://localhost:8080/mcp.

What it doesn't do

  • No subdomain enumeration, port scanning, or network probing

  • No exploitation of any kind

  • L2/L3 context gates are heuristic, not formal parsers

  • Discovery mode (certstream, Common Crawl) is off by default

Use

gandoki scan --domains-file targets.csv --out out.json --html out.html
gandoki scan --url https://app.example.com/ --out out.json --ai-enabled
gandoki scan --scope config/scope.yaml --out out.json --sarif out.sarif

Defender-first. Use only on assets you own or have written authorization to test.

Documentation

Tests

pytest -q

80 tests. The load-bearing ones are test_ai_asymmetry.py and test_ai_recall_cannot_bypass_extractor.py. If either goes red, the tool can no longer claim honesty.

📄 License

Gandoki is released under the Business Source License 1.1 (BSL).

  • You are free to read, audit, modify, and use Gandoki for non-production and internal purposes.

  • You may not offer Gandoki as a competing commercial SaaS or MCP hosting service.

  • The license automatically converts to the Apache License 2.0 on January 1, 2030.

Available Tools

7 tools
diff_jobsDiff JobsB

Compare ACCEPTED findings between two jobs (new / fixed / persisting).

Inputs: job_id_a (required), job_id_b (required). Returns: object

explain_findingExplain FindingC

Explain a finding in plain language, keeping the honesty contract.

Inputs: job_id (required), finding_id (required). Returns: object

get_findingGet FindingC

Fetch a single finding by id (accepted or retracted).

Inputs: job_id (required), finding_id (required). Returns: object

get_jobGet JobB

Fetch job status and (if done) its findings.

Inputs: job_id (required). Returns: object

list_jobsList JobsC

List recent jobs.

Inputs: limit. Returns: object

scan_domainsScan DomainsC

Scan a list of domains for exposed secrets and debug exposures.

Inputs: domains (required), wait, timeout_s, include_suspected. Returns: object

scan_fileScan FileC

Scan a CSV or TXT domain list.

Inputs: path (required), wait, timeout_s, include_suspected. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 7 tools

    Disambiguation4/5

    Most tools are clearly distinct: the two scan tools differ by source (inline list vs. file), and job/finding retrieval tools are separated by granularity (list/get/diff). The only mild overlap is scan_domains vs. scan_file, which descriptions resolve adequately.

    Naming Consistency5/5

    Every tool follows a consistent verb_noun snake_case pattern (scan_domains, get_job, list_jobs, diff_jobs, explain_finding). No mixed conventions or vague verbs.

    Tool Count5/5

    Seven tools is well-scoped for a domain scanning and findings-review service, covering the full scan-to-inspect workflow without bloat or thinness.

    Completeness4/5

    Covers scanning, job inspection, finding retrieval, explanation, and cross-job diffing, which is a coherent lifecycle. Minor gaps: there is no tool to accept/retract findings even though get_finding references those states, and no job cancellation.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      A
      maintenance
      agent-bom is an open security scanner and self-hosted control plane for AI, MCP, and cloud infrastructure. The default scan profile in MCP server mode exposes 8 MCP tools. Additional profiles provide inventory, findings, compliance, graph, and runtime workflows. See the published Glama release for its packaged version.
      8
      38
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Open-source AWS security scanner with Attack Chains, Breach Cost Estimation, and MCP Server. 47 checks across 15 AWS services. Every finding includes copy-paste remediation (CLI + Terraform) and a dollar-risk estimate with verified source. First free standalone AWS security MCP server - Prowler and Wiz require paid SaaS.
      7
      139 PyPI
      75
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables AI agents to run deterministic, fully local static security and compliance audits of code, configurations, and dependencies through 32 MCP tools covering 24 vulnerability categories. It also detects the project stack, generates risk reports and checklists, suggests stack-aware remediations, and re-validates fixes to confirm vulnerabilities were eliminated.
      32
      1
      MIT
    • A
      license
      C
      quality
      B
      maintenance
      Provides a container-native offensive security MCP toolkit that runs 179 tools — executable-backed scanners plus deterministic, evidence-first vulnerability probes — against authorized engagement targets. Enables scope-guarded pentesting workflows with persisted JSON evidence artifacts and high-confidence versus review-only findings.
      179
      Apache 2.0