Skip to main content
Glama

blindspot-mcp

Adversarial web-security QA tools for coding agents. An MCP server that lets Claude, Cursor, pi or any MCP client verify the HTTP surface of the app it just built — before anyone ships it.

The problem

AI agents assemble web apps in minutes, but nobody checks how those apps behave under adversarial requests. Linters only see code; classic scanners (ZAP, Burp) are built for pentesters, not for "I just generated this with an agent — is it decent?"; and the LLM itself cannot send hostile requests unless you give it tools. That is the blind spot.

Related MCP server: appsecradar

Tools

Tool

Catches

Typical defect

check_404_neutrality

Existence oracles

404 body differs for foreign / nonexistent / malformed ids → resource enumeration

check_sequential_ids

Guessable ids

/items/1, /2, /3 answer 200 with distinct bodies → whole collection walkable

check_security_headers

Missing hardening

No CSP, no nosniff, no Referrer-Policy

check_csrf_origin_guard

Missing CSRF guard

POST without (or with foreign) Origin is processed

check_session_cookies

Weak session cookies

No HttpOnly / SameSite

check_inline_content

Inline everything

style=, inline <script>, onclick= → forces unsafe-inline CSP

Every tool returns a JSON report: ok, the evidence it collected, and a finding explaining the risk in plain words. Probes are read-only: GETs and empty POSTs.

Install and run

git clone https://github.com/Dibaledesma/blindspot-mcp
cd blindspot-mcp
uv sync && uv run python -m blindspot.server   # stdio MCP server

Add it to your MCP client config (Claude Desktop / Cursor / pi):

{
  "mcpServers": {
    "blindspot": {
      "command": "uv",
      "args": ["--directory", "/path/to/blindspot-mcp", "run", "python", "-m", "blindspot.server"]
    }
  }
}

Docker variant:

docker build -t blindspot-mcp .
docker run -i --rm blindspot-mcp

Then just ask your agent: "Run the blindspot checks against http://127.0.0.1:5000 and fix what they flag."

Development

uv sync
uv run ruff check .
uv run pytest -q          # adversarial suite: hardened app passes, weak app fails

The test suite builds three throwaway Flask apps — one hardened, one deliberately weak, one with guessable sequential ids — and proves every check passes on the first and flags the others.

A real hardened app to run the tools against: notevault — all six checks pass on it.

Ethics

Read-only probes against applications you own or are explicitly authorized to test. This is a QA tool, not an attack tool.

License

MIT — see LICENSE.

Available Tools

6 tools
check_404_neutralityB

Check that nonexistent, invalid and malformed resource ids return a byte-identical 404. Differences leak an existence oracle that enables enumerating other users' resources.

Args: base_url: Origin of the app under test, e.g. "http://127.0.0.1:5000". path_template: Route with an {id} placeholder, e.g. "/notes/{id}".

Inputs: base_url (required), path_template.

check_csrf_origin_guardB

Probe whether a POST without Origin and with a foreign Origin are rejected (401/403/...). 2xx/3xx means the request was processed: missing CSRF guard. The probe sends empty POSTs only.

Inputs: url (required).

check_inline_contentB

Count inline styles, inline blocks and on* event handlers in the HTML. Inline constructs force a weak CSP (unsafe-inline) and enlarge the XSS surface.

Inputs: url (required).

check_security_headersB

Check the response for baseline hardening headers: Content-Security-Policy, X-Content-Type-Options, Referrer-Policy (and HSTS on https).

Inputs: url (required).

check_sequential_idsB

Check that consecutive numeric ids do not resolve to distinct resources. Guessable sequential ids let anyone walk the whole collection from a single known id.

Inputs: base_url (required), path_template.

check_session_cookiesC

Inspect Set-Cookie flags on the response: HttpOnly, SameSite, Secure. Flags missing on session cookies enable XSS token theft and CSRF.

Inputs: url (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 6 tools

    Disambiguation4/5

    Each tool targets a distinct security check (404 oracle, sequential IDs, headers, CSRF, cookies, inline content), with clear descriptions. However, check_404_neutrality and check_sequential_ids both probe resource enumeration and could be confused by an agent deciding which to run.

    Naming Consistency5/5

    All six tools follow a uniform check_<subject> snake_case pattern with descriptive, predictable subjects. No mixed conventions or vague verbs.

    Tool Count5/5

    Six focused probes is well-scoped for a security-scanning server; each tool earns its place without redundancy. The set stays comfortably within the ideal 3-15 range.

    Completeness3/5

    The surface covers a coherent slice of web hardening checks but has notable gaps for a security posture scanner: no authorization/IDOR probe beyond enumeration, no injection or open-redirect checks, and no rate-limiting or sensitive-data-exposure checks. Agents would hit dead ends when assessing those areas.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      C
      maintenance
      Enables AI agents to audit web headers and DOM code, API routes, and database queries for vulnerabilities such as XSS, BOLA/IDOR, and SQL/NoSQL injection, returning scored CWE findings. It also automatically synthesizes secure drop-in replacement code with unified git diffs for review.
      24
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI editors such as Cursor, Claude Code, Windsurf and VS Code to scan a project for common AI-introduced security mistakes — leaked keys, open Supabase/Firebase data, missing auth, unverified Stripe webhooks, SQL injection and more — and return findings with exact fix instructions. It also provides a guided prompt that walks an agent through fixing critical issues one by one and verifying each fix by re-scanning, without ever editing files or rotating keys itself.
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to perform authorized web-pentest reconnaissance and interaction, including crawling, headless-browser control, login/BOLA comparisons, safe probes, HAR replay, and evidence-first reporting, while enforcing declared scope, audit trails, rate limits, and data minimization.
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides AI agents with free, keyless QA and LLM-testing tools over Streamable HTTP, including prompt-injection and PII scans, TLS/header/CORS audits, hallucination and RAG checks, eval contracts, and JSON/YAML/CSV utilities across the full server or three focused packs. Every tool returns an actionable verdict such as a pass/fail, score, or diff.
      MIT