Skip to main content
Glama

Bulwark

I built Bulwark after the FBI published its alert on ARTEX in November 2026. ARTEX is a program that hands a break in to a team of AI agents. It invents nothing new. It walks through doors that were left open, at machine speed, and it did enough damage in its first months that the Bureau wrote up its methods for everyone to read.

That write up is the good news. The weaknesses it uses are known, short in number, and checkable. Bulwark checks them, watches for the attack while it happens, and plants bait that tells you the moment a machine is inside. Three parts, one job.

The audit

The Bulwark server runs seven checks against systems you own or are authorized to test. Every check is read only. The web checks send plain requests, the kind a browser sends, and report what they find without using it.

  1. secret_scan reads your public code the way an agent reads it and reports secrets left in it, with the values masked.

  2. sourcemap_check reports whether your source maps are public, because a public map hands over your original code.

  3. api_surface_check inventories common API and exposure routes and reports which ones answer with no login at all.

  4. header_check reports the standard security headers your site sends and the ones it is missing.

  5. token_config_check inspects a token or a token configuration you hand it and reports dangerous settings, like the algorithm none being accepted or expiry switched off.

  6. console_exposure_check looks for an agent console exposed on your own hosts. More than 1,600 ARTEX consoles were found sitting public in November 2026. This check answers whether one of them is yours.

  7. defense_report runs the web checks together and hands back one report with the fix list ordered the way the FBI ordered the weaknesses.

Related MCP server: Zfuzz

The watch

The detection folder holds five log rules and the same hunts written as ready to run searches. They watch for the published fingerprints of this kind of attack, the agent user agent strings, bursts of failed attempts, a server suddenly calling out to AI services, source maps being pulled down, and unsigned tokens being tried.

The bait

The canary folder holds a generator and a listener. The generator makes decoy credentials and decoy routes that exist nowhere else. You plant them where agents look first. The listener and the log scanner tell you the moment one is touched, and no person and no honest program ever has a reason to touch one.

Running it

The server needs Python 3 and nothing else. It uses only the standard library and runs offline apart from the requests to the address you give it.

PYTHONPATH=server/src python3 -m bulwark defense_report https://example.com

With no arguments it runs as an MCP server on stdio, ready for the agent tools you already use.

PYTHONPATH=server/src python3 -m bulwark

The guide in this package walks through the audit, the rules, and the planting, step by step, and ends with a first hour checklist for the day an alert fires.

The line

Bulwark is defensive, completely. It contains no attack tooling, sends no payloads, tries no credentials, and proves a weakness exists without ever using it. Run it only against systems you own or are authorized to test. That is not fine print. That is the whole design.

Second Desk

Available Tools

7 tools
api_surface_checkB

Inventory common API and exposure routes on the target with plain GET requests and report which ones answer with no authentication at all. Exposure file bodies are classified, never returned. Read only, no payloads.

Inputs: target (required).

console_exposure_checkA

Inventory check for an agent console exposed on a host you own. Probes the target address, a short list of common console ports, and the paths / and /console, looking for agent console page markers. Read only.

Inputs: target (required).

defense_reportB

Run every Bulwark web check against the target and roll the findings into one report with a fix list ordered by the weakness list the FBI published for ARTEX style attacks. Optionally include one token or auth configuration for inspection in the same report.

Inputs: target (required), token_or_config.

header_checkB

Report which standard security headers the target sends and which are missing, plus software version disclosure in Server style headers. Read only.

Inputs: target (required).

secret_scanA

Scan a site you own for hardcoded secrets in its public code: the page, its inline scripts, and its own script files. Reports the file, the pattern type, and a masked value. Full secret values are never returned. Read only.

Inputs: target (required).

sourcemap_checkB

Check whether source maps for the target scripts are publicly reachable. A reachable source map hands anyone the original source code. Read only.

Inputs: target (required).

token_config_checkA

Inspect one JSON Web Token or one JSON auth configuration you supply and report dangerous settings: alg none accepted, signature checks off, no expiry, very long lifetimes, short signing secrets. Inspection only. Nothing is verified against any service and nothing is sent anywhere.

Inputs: token_or_config (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 7 tools

    Disambiguation4/5

    Each tool targets a distinct artifact: secrets in code, source maps, unauthenticated API routes, headers, token configuration, and exposed consoles, so an agent can generally map intent to tool. The only soft overlap is between api_surface_check and console_exposure_check, which both probe paths with plain GETs, though their stated targets (API auth bypass vs. console page markers) are clearly separated. defense_report is a deliberate rollup of the others rather than a competing tool.

    Naming Consistency5/5

    All names follow a consistent <subject>_<action> snake_case pattern: secret_scan, sourcemap_check, header_check, defense_report, etc. Verb/action choice is predictable (scan/check/report) and no camelCase or ad-hoc abbreviations creep in.

    Tool Count5/5

    Seven tools is well within the ideal 3-15 range and each one earns its place with a distinct check plus one aggregator. Nothing feels padded or missing from the orchestration layer.

    Completeness4/5

    The surface covers the core client-side exposure classes (secrets, source maps, unauthenticated routes, headers, token misconfig, console exposure) and bundles them into a report, so the main lifecycle is closed. Minor gaps remain for a web security posture tool: no TLS/certificate check, no cookie flag or CORS inspection, and no way to persist or export a report beyond the inline defense_report output.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Security co-pilot for AI agents. Scans for vulnerabilities like prompt injection, infinite loops, and token bombing in AI Agents, audits MCP servers, verifies AGENTS.md governance, and generates EU AI Act compliance reports.
      10
      111 npm
      3
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Real security scanners for AI coding agents — SAST (441 rules), secret detection (419+ patterns), dependency CVEs (OSV.dev), MCP/skill vetting, MITRE ATT&CK. Open-source, Rust, free
      10 npm
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Audits MCP server configurations for security risks including capability inventory, SSRF, prompt injection, and drift detection. Works in read-only mode and can also be used as an MCP server to let AI agents audit their own attack surface.
      133 PyPI
      3
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      A read-only MCP server that lets agents scan a project's AI agent setup — Claude Code, Codex, Cursor, MCP servers and instruction files — and surface security findings such as the lethal trifecta, broad permissions, exposed secrets and unpinned packages.
      561 npm
      MIT