Zero Theory Labs
GitHub Marketplace · npm · v0.4.0 · 0 dependencies

Marlowe CI.

Guardrails for AI agents & pull requests.

You do not have to switch terminals to get Marlowe's boundaries. Marlowe CI / Guard runs inside Claude Code hooks, MCP servers, local git hooks, and GitHub Actions — catching credential leaks, SSRF, unsafe Shirudo eBPF upatches, and PR regressions in milliseconds.

1-Line Install $ npx --yes @zerotheory-labs/marlowe-ci init --claude --mcp
Node >= 20 No API key SARIF v2.1.0

Every tool call checked before it runs.

Wired into Claude Code's PreToolUse, PostToolUse, and Stop hooks, Marlowe CI evaluates file paths, URLs, and shell commands in milliseconds — blocking .env*, .ssh, or .shirudo access and cloud metadata SSRF before anything touches disk or the network.

When an edit slips in an API key or CWE sink, secret values are masked and returned straight to Claude so the agent fixes its own mistake on the next turn. High-impact shell commands pause for your explicit confirmation.

Marlowe CI · Claude Hook
CLAUDE ›Read .env.production
[PreToolUse · DENY]Protected credential path ".env.production" blocked (14ms)
CLAUDE ›WebFetch http://169.254.169.254/latest/meta-data
[PreToolUse · DENY]Cloud metadata SSRF target blocked (11ms)
CLAUDE ›Write src/billing/webhook.js (+42 −0)
[PostToolUse · MASKED]Stripe key sk_l…[REDACTED]…890 · sent to Claude to fix
[PreToolUse · ASK]Bash · git push --force origin main
High-Impact Shell Gate Asking operator

git push --force origin main

Example hook trace modelled on Marlowe CI's real PreToolUse & PostToolUse JSON responses. Choose Deny or Approve once.

Three places it runs, one verdict grammar.

Whether blocking an agent mid-session or gating a pull request on GitHub, every check reports Holds up, Fails, or Can't tell from recorded checks — never from model prose.

01 · Claude Code Hooks

PreToolUse, PostToolUse & Stop.

Stops secret, .shirudo/shirudo-keys, and SSRF reads or curl | sh before execution, asks before live Shirudo upatch/BPM commands, redacts secrets on edits, and blocks Stop on FAILS with loop protection.

02 · Universal MCP Server

Thirteen read-only agent tools.

Speaks newline-delimited JSON-RPC 2.0 over stdio for Claude Code, Cursor, Codex CLI, and Antigravity — diff & OSV scans, ScopeGate Recon (HTTP/TLS/DNS), DFIR log/IOC triage, and Shirudo Beefile/BPF & TPM 2.0 attestation audits.

03 · GitHub Actions + SARIF

Diff verdicts & regression gates.

Flags hardcoded secrets, reachable CWEs, disabled TLS, removed CSP/auth guards, missing BPF SEC("license"), and scanner suppressions — uploading SARIF v2.1.0 straight to Code Scanning.

4 integrations · 1 engine

Drop it where agents already work.

Pick the surface you use today — real-time Claude Code hooks, any MCP-capable coding agent, GitHub Pull Requests, or an offline git pre-commit hook.

Three answers, never two

Live PR verdicts that refuse to guess.

Every pull request and hook sweep emits Holds up, Fails, or Can't tell. Unknown is never rounded up to a green pass. See live comment on marlowe#1 →

Built for AI-speed failures

What Marlowe CI stops before merge.

Powered by Marlowe's pure Node.js security engines: host-level path confinement, DNS/SSRF validation, 2-hop cross-file taint reachability, Shannon byte entropy, 10-CLI orchestration, and Shirudo eBPF upatch & TPM attestation checks.

Want the visual desktop workbench? Explore Marlowe. (v0.6)
  1. PreToolUse Boundaries Denies reads/writes to .env*, .ssh, .aws, .shirudo, symlinks escaping root, 169.254.169.254 SSRF, curl | sh, and credential exfiltration.
  2. AI Guardrail Regressions Catches TLS verification bypasses, removed CSP/HSTS/auth middleware, skipped security tests, and newly added nosemgrep / gitleaks:allow suppressions.
  3. Reachability & DNA Separates reachable HTTP/CLI taint sinks from local false positives, and flags opaque binaries or high-entropy blobs dropped in PR diffs.
  4. Supply-Chain & SARIF Inventories lockfiles (npm, PyPI, Go, Cargo), queries OSV.dev for known CVEs, and uploads SARIF v2.1.0 directly to GitHub Code Scanning.

Use Marlowe CI. on GitHub — or get release updates.

Source-available at github.com/zerotheory-labs/marlowe-ci, on npm, and on the GitHub Marketplace (v0.4.0 · PolyForm Noncommercial 1.0.0 — free for personal, academic & research use).

Commercial CI/CD licensing or team inquiries: access@zerotheorylabs.com · Explore Marlowe Desktop →