Skip to main content
Glama

AIRT: a guarded workbench for AI-driven web security testing

AIRT lets a model run web security tests for you while you stay in charge. You drive it from chat in Claude Code, Codex CLI, or a plain API chat. The model works only through typed AIRT operations. AIRT enforces the scope you approved, asks you once before anything sends attack traffic, and records every request, finding, and piece of evidence. With autonomous mode on, the model works like a pentester after that one approval: it reads the UI, maps the attack surface, writes its own payloads, runs shell tools, proves what it finds, and writes the report.

How AIRT works

Use AIRT only on systems you own or have written permission to test. Every engagement needs an authorization reference. Scope is enforced in code, down to redirects.

What AIRT is and isn't

Is

A guardrail and record-keeping layer around a model doing web testing: scope, approvals, budgets, evidence, findings, an audit log, and a report.

Isn't

A scanner on its own. Detection comes from the model's payloads and from ZAP or Burp running beside it. AIRT makes that work safe, provable, and recorded.

Best for

Checklist-driven web assessments where an analyst must stay in control, and autonomous testing of a lab or staging target you're authorized to attack.

Not for (yet)

Network pentests, mobile apps, and anything you need a hard network sandbox for (see limits).

Read these before your first real engagement:

  • No fake results. If ZAP, Burp Pro, or newman isn't reachable, the op fails with tool_unavailable and tells you how to fix it. Recorded sample data is used only when you set AIRT_ADAPTER_FIXTURES or pass --allow-fixture, and the report then carries a warning box.

  • Scanner traffic skips AIRT's proxy. ZAP and Burp talk to the target directly. AIRT keeps ZAP in scope with a ZAP context built from your manifest, but AIRT's budgets and proxy don't see that traffic. Requests the model sends (send_request, run_shell, the browser) do go through AIRT's scope checks.

  • Burp: Professional vs Community. Burp Pro scans through its REST API. Burp Community has no scanner and no API: AIRT routes its own traffic through Community's proxy so you see it in HTTP history, imports "Save items" exports, and hands GUI steps (Repeater, Intruder) to the orchestrator's computer control. See Burp Community.

  • Known limitations lists what isn't verified yet.

What AIRT always does, what autonomous mode unlocks, and what it never does

Related MCP server: sentrik

Known limitations

  • ZAP spider and active-scan start, polling, and the Burp Pro REST calls are tested against fake servers only. Check your first live scan's findings by hand.

  • Shell commands (run_shell) run on plain Windows through AIRT's scope proxy. A tool that ignores proxy settings (raw sockets) gets past it. Over HTTPS the proxy checks the host, not the path. Commands run as your Windows user. For a hard boundary, run AIRT in a VM or WSL whose only way out is the proxy. See docs/TRUST-BOUNDARY.md.

  • Signed-in testing works through send_request sessions, not through run_shell.

  • Eight common ZAP passive alerts (CSP, clickjacking, X-Content-Type-Options, server banner, and others) don't link to checklist rows yet, because the catalog has no matching check. They still appear as findings.

  • Approval is a desktop popup, not a cryptographic identity. A process running as your OS user could forge an approval record; verify_log would show the edit.

  • Windows 11 is the tested platform. The macOS and Linux launchers haven't been run.

What you get

  • Conversational intake. Name a target and the model asks for the authorization reference, origins, environment, credentials (or none for an open site), active-testing mode, and autonomous mode. Then it writes the scope manifest.

  • The model sees the UI. browser_screenshot saves a PNG the model can open, and browser_attack_surface lists forms and field types, query parameters, scripts, endpoints in page code, hidden fields, uploads, cookie flags, and security headers.

  • Its own payloads. send_request sends a request the model wrote and returns the status, headers, and body. It can search the full body (--match), page through it, follow redirects inside scope, and keep a signed-in session whose cookie values the model never sees.

  • Shell and pentest tools (autonomous mode). run_shell runs PowerShell, cmd, or a plain argument list in a per-run work folder, with web traffic forced through AIRT's scope proxy.

  • Real scanner runs. zap_spider and zap_active_scan start ZAP inside a scope context, poll it under your budget and pause controls, and import the alerts. Burp Pro scans through its API.

  • Findings that hold up. The model records what it finds with propose_finding, proves it with validate_finding (AIRT replays the exact request, plus a control that must not match), and rechecks scanner leads to clear false positives. Duplicates merge. You give the final word with review_finding.

  • Attack playbooks. Skills for SQL injection, XSS, IDOR, SSRF, path traversal, open redirect, CSRF, and session flaws: where to look, minimal probes, the control request, and what counts as proof.

  • Your checklist, kept current. Import CSV, JSON, or XLSX, or use the bundled OWASP WSTG black-box checklist. AIRT runs its own checks; the model proposes verdicts for the rest with evidence.

  • A report you can hand over. build_report writes Markdown, HTML, JSON, and SARIF with scope, coverage, findings by severity, evidence, and the audit-log hash.

  • A tamper-evident trail. Every action lands in a hash-chained log. Secrets and cookie values stay out of chat, logs, and exports.

What each operation really does

"Starts" means AIRT launches the work. "Reads" means it collects results that already exist.

Operation

What it does

Traffic

Tested

browser_navigate, browser_crawl, browser_extract, browser_screenshot, browser_attack_surface

Starts a Playwright browser on in-scope pages

Through AIRT's scope router

Live (demo app)

browser_interact

Starts form fills and clicks you'd call state-changing

Scope router; active

Live (demo app)

send_request, validate_finding, recheck_scanner_findings

Starts one model-written HTTP request (or a replay)

AIRT scope checks, budget, optional Burp chain

Live (demo app)

session_from_account, session_list, session_clear

Signs in through the browser and keeps a cookie jar for send_request

Scope router

Live (demo app)

run_shell

Starts a command or tool on your machine

AIRT scope proxy (see limits)

Live (demo app)

zap_spider, zap_active_scan

Starts a ZAP spider or active scan in an AIRT scope context, then imports alerts

ZAP to target directly

Fake ZAP server

zap_passive_read

Reads ZAP's passive alerts after its queue drains

None from AIRT

Fake ZAP server

zap_import_report, burp_import_issues, burp_import_items

Reads a saved report or Burp "Save items" export

None

Fixtures

burp_scan

Starts a Burp Pro scan through its REST API

Burp to target directly

Fake Burp server

newman_run

Starts newman on a Postman collection you supply

newman to target directly

Fixtures

request_handoff, submit_handoff

Hands a GUI step to the orchestrator's computer control, then ingests the screenshots and exports

Whatever the GUI tool sends

Unit tests

propose_finding, triage_finding, annotate_row, build_report

Records findings, verdicts, and the report

None

Unit tests

Requirements

  • Python 3.11 or newer, and internet access for the first setup

  • One chat client: Claude Code, Codex CLI, or an Anthropic API key

  • Optional: OWASP ZAP (daemon or GUI with the API on), Burp Suite Professional for scans or Community for proxy and GUI work, and newman (npm i -g newman) with a Postman collection

Install

git clone https://github.com/suramya12/airt.git
cd airt

Windows (PowerShell):

powershell -ExecutionPolicy Bypass -File .\setup.ps1

macOS / Linux:

sh ./setup.sh

What setup changes on your machine:

Location

What

Skip it with

.venv\ in the repo

Python packages, pinned

(required)

%LOCALAPPDATA%\ms-playwright

Chromium for Playwright

-Portable puts it in .browsers\

%LOCALAPPDATA%\AIRT (macOS ~/Library/Application Support/AIRT, Linux ~/.local/share/airt)

Engagement data: database, evidence, exports

-Portable uses .data\; or set data_root in config.yaml

pip cache

Downloaded wheels

-Portable sets PIP_NO_CACHE_DIR

.mcp.json, .claude\skills\ in the repo

Claude Code wiring (airt integrate). It never edits global Claude or Codex config

-NoIntegrate

setup.ps1 -Portable keeps everything inside the repo folder (AIRT_PORTABLE=1 sh ./setup.sh on macOS/Linux). Setup ends with doctor, which checks Python, the browser, the data folder, every chat client it finds, and which scanners answer on ports 8080, 8081, 8090, 8888, and 1337. Run .\airt.ps1 doctor any time.

Uninstall: delete the repo folder, then %LOCALAPPDATA%\AIRT and %LOCALAPPDATA%\ms-playwright (if you didn't use -Portable). If you ran the codex mcp add line that integrate prints, remove it with codex mcp remove airt.

Pick your chat client

Claude Code (subscription). Open the repo folder in Claude Code. It reads CLAUDE.md (which imports AGENTS.md), the skills in .claude/skills/, and the airt MCP server from .mcp.json. Approve the airt server when asked. The operations appear as mcp__airt__* tools.

Codex CLI. Codex reads AGENTS.md and .agents/skills/ on its own. Start it in the repo folder:

codex -s workspace-write --add-dir "$env:LOCALAPPDATA\AIRT" -c sandbox_workspace_write.network_access=true

For the same typed tools as Claude Code, run the codex mcp add ... line airt integrate prints.

API chat (Anthropic API key).

$env:ANTHROPIC_API_KEY = "<your key>"
.\airt.ps1 chat

It runs claude-opus-5-5 by default (AIRT_MODEL, AIRT_EFFORT change it). Type /airt <op> --key value to run an operation yourself, for example an approval.

Any other MCP client. Run airt mcp as a stdio MCP server; .mcp.json shows the command.

Quick start: an open target (no login)

Most first runs are a lab app such as DVWA, Juice Shop, or a vendor's public test site you're allowed to test. Point the example at yours.

  1. Tell your chat client: "I want to assess https://juice.lab.local:3000. Authorization: LAB-2026-01, environment lab, no credentials, active testing approve, autonomous mode full." The model writes the manifest. By hand, the same thing is:

    .\airt.ps1 create_manifest --project lab --scope-id juice --origins https://juice.lab.local:3000 --authorization-ref "LAB-2026-01" --environment lab --autonomy full
    .\airt.ps1 start_engagement --target-url https://juice.lab.local:3000 --scope-id juice --credential-profile none --checklist-path examples\checklist-wstg-blackbox.csv
    .\airt.ps1 run_worker --run-id <RUN>
  2. Approve the run once when the model asks. It runs .\airt.ps1 authorize_active --run-id <RUN>; read the popup and approve. With autonomous mode on, this is the only prompt you get.

  3. Ask, in this order:

    • "Map the attack surface and show me a screenshot of the main pages."

    • "Run the passive checks and a ZAP scan if ZAP is up."

    • "Test the injection points with the playbooks and prove anything you find."

    • "What's validated, what's a false positive, and what's still open?"

    • "Build the report."

Run a credentialed engagement

  1. Try the bundled demo. Start the vulnerable demo app in its own terminal: .\.venv\Scripts\python.exe demo\app.py --build b1. Then tell your chat client: "Start a review of https://localhost:8443 using demo-local, demo-local, and examples/checklist-synthetic.csv."

  2. Your own target. Add projects/<name>/journeys.yaml (sign-in selectors) and projects/<name>/credentials/<profile>.yaml. Profiles map account aliases to env:NAME or file:path#/pointer references, so passwords never pass through chat. session_from_account signs in through the browser and gives send_request a session for signed-in payloads.

  3. Review. Ask "What is waiting on me?", "Show me the evidence for row 4", "Pause", or "Resume". Closing the chat doesn't stop the run; give the run ID to pick it back up.

Who approves what

Work

Examples

What you do

Passive

header, cookie, and cache checks, crawling, screenshots, attack-surface map, ZAP passive read, report imports

Nothing. It runs on its own.

Active

ZAP active scan, Burp scan, newman, state-changing browser steps

Approve one popup per run (authorize_active). active_testing: auto pre-approves these scanners.

Autonomous mode (autonomy: full)

the model's own payloads, run_shell, playbooks, validation

The same one popup, which then names these powers and their budgets. Required even under auto. No more prompts after it.

Consequential rows

logout and similar one-off actions

One decide popup per row.

Final finding verdict

confirm or reject a finding

review_finding (analyst only; the model can't call it).

Hard stops hold in every mode: out-of-scope hosts and paths, redirects that leave scope, the engagement window, request and command budgets, pause and stop, and a "yes" in chat never counts as approval.

Findings: where they end up

  • Scanner findings (ZAP, Burp, newman) land in list_findings with their source alert counts, scope-checked and merged when duplicated.

  • Model findings land there through propose_finding, with evidence IDs. validate_finding marks them validated only after AIRT replays the proof request and a control. triage_finding and recheck_scanner_findings mark false positives, for example scanner leads on URLs that return the site's 404 page.

  • Your verdict: review_finding --finding-id F-... --decision confirmed|false_positive.

  • Checklist rows show AIRT's own verdict and, next to it, the model's proposed verdict from annotate_row.

  • build_report and export_csv include all of it.

The report

When the engagement is finished, the model builds the report on its own (or ask "Give me the report"). It runs build_report and hands you the paths in exports/<RUN>/:

File

For

report.html

Open this one. A single self-contained file: scope and authorization, coverage, findings by severity with CWE, OWASP, CVSS, reproduction steps, evidence, and validation replays, false positives in their own section, autonomous activity, and the audit-log hash

report.md

The same content, for editing into your own template

findings.json

Machine-readable findings (schema airt.findings/1)

findings.sarif

SARIF 2.1.0 for GitHub code scanning, DefectDojo, and similar tools

checklist.csv

Your checklist with AIRT's verdicts, the model's proposed verdicts, and linked finding IDs

If any result came from recorded fixtures, the report opens with a warning box. Findings the model validated show as validated; only your review_finding makes them confirmed. The files stay on your machine.

Burp Community and computer control

Set the proxy in config.yaml:

burp:
  proxy: "http://127.0.0.1:8080"
  chain: true
  ca_cert: "file:burp-ca.der"   # Burp > Proxy > Options > Import / export CA certificate

With chain: true, AIRT checks scope first and then sends send_request, run_shell, and browser traffic through Burp, so it all shows up in Burp's HTTP history. If Burp isn't answering, AIRT sends direct and says so in the result (via_burp: false). To give the model Burp's view of the site, select items in HTTP history or the site map, choose Save items, and ask the model to import the file (burp_import_items).

Some steps only exist in a GUI: Repeater, Intruder in Community, ZAP's report export, or a page that needs a human-like interaction. When AIRT can't do a step, it says so with a handoff_hint. The model calls request_handoff, which returns exact instructions and a drop folder. The orchestrator does the step with its computer-control tools, saves screenshots and exports there, and calls submit_handoff. AIRT ingests them as evidence. The instructions always forbid touching the window titled AIRT approval and typing any credentials.

Scanner setup

OWASP ZAP

  1. Start ZAP, either zap.bat -daemon -port 8081 or the GUI. Burp often holds 8080, so pick another port.

  2. Copy the API key from Tools > Options > API.

  3. Put both in config.yaml (zap: {addr: "http://127.0.0.1:8081", apikey: "env:ZAP_API_KEY"}), or set AIRT_ZAP_ADDR and AIRT_ZAP_APIKEY.

  4. .\airt.ps1 doctor should say ZAP answered on 8081. A wrong key shows up as zap_auth_failed.

Burp Suite Professional: enable the REST API (Settings > Suite > REST API, default port 1337) and set burp.addr. Community: set burp.proxy as above; doctor reports "Burp Community detected (proxy only)".

newman: npm i -g newman, then give the model your collection file.

Windows shell notes

  • Use PowerShell. Git Bash rewrites /login into C:/Program Files/Git/login; AIRT detects this and says so (msys_path_conversion). Set MSYS_NO_PATHCONV=1 if you must use Git Bash.

  • PowerShell 5.1 strips double quotes from arguments to native programs. Pass JSON with @file, headers with --header, and shell commands with --shell none --argv @argv.json:

    '{"email":"test@example.com","password":"x"}' | Out-File -Encoding ascii body.json
    .\airt.ps1 send_request --run-id RUN-... --method POST --url https://juice.lab.local:3000/rest/user/login --header "Content-Type: application/json" --body "@body.json" --match "token|error"

    --args-file inputs.json loads every input from one JSON file.

Expected outputs

Everything lives in the data folder (%LOCALAPPDATA%\AIRT or .data\):

airt.db                     runs, rows, findings, approvals, hash-chained event log
evidence/                   sanitized JSON and PNG evidence, named by hash (EV-...)
exports/<RUN>/              checklist.csv, report.md, report.html, findings.json, findings.sarif
workspace/<RUN>/            run_shell's working folder
sessions/<RUN>/             cookie jars for send_request sessions (values never shown)
handoffs/<RUN>/<H-...>/     computer-control drop folders
logs/                       worker logs

.\airt.ps1 status --run-id <RUN> shows rows by state and verdict, the worker state and its last error, and budgets. .\airt.ps1 list_findings --run-id <RUN> shows findings with counts per status.

Repository layout

airt/              engine: typed ops, scope, proxy, checks, worker, approvals, findings, report, adapters, MCP server, chat
airt/catalog/      check definitions and the tool-finding map
.agents/skills/    workflow skills and attack playbooks (Codex); mirrored to .claude/skills/
AGENTS.md          runtime rules for any model driving AIRT (CLAUDE.md imports it)
projects/demo/     sample engagement manifest, journeys, credential profile
demo/              local vulnerable demo app for practice and tests
examples/          sample checklists (synthetic, OWASP WSTG black-box) and adapter fixtures
docs/              design, trust boundary, status, diagrams
tests/             pytest suite (offline: demo app, fake ZAP/Burp servers, fixtures)

Tests and status

.\.venv\Scripts\python.exe -m pytest -q runs offline. If you cloned into a deep folder on Windows, add --basetemp=C:\airt-t to stay under the 260-character path limit. docs/STATUS.md lists what's tested live, against fakes, or not yet.

Contributing

Issues and pull requests are welcome. Keep the guardrails intact: every new operation needs an exposure tag (passive or active), shell and model-written HTTP stay behind the opt-in and go only through run_shell and send_request, and every change needs a test that runs offline.

License

MIT. Free to use, change, and share. Thanks to T3 Code and pentest-harness for ideas, and to Strix, Shannon, PentAGI, and Nebula for design patterns. AIRT includes no code from any of them.

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables autonomous AI agents and penetration testers to conduct authorized security audits with persistent cross-session memory, zero-trust secret scrubbing, dynamic OWASP/ASVS checklists, and hallucination-free exploit PoC generation from captured traffic.
      1
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables authorized autonomous application and API security testing, allowing LLM-driven agents to plan and execute pentest checks while a deterministic policy layer enforces scope and authorization outside the model.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables a language model to inspect proxy history, run scoped scans and intruder jobs, and drive a proxied browser through Burp Suite for authorized security testing on test and staging environments. Scope, environment, mode, rate limits, refusals and secret redaction are enforced in gateway code with a tamper-evident audit log.
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables AI agents to conduct authorized pentests and bug-bounty workflows with scope enforcement, audit logging, reconnaissance, safe vulnerability checks, payload/wordlist generation, and professional report generation.
      14
      MIT