Radek Brus

11 Guardrails, OpenClaw 2026.11.7 & 3 Scanners Against One Enterprise AI Agent — and sixi-scanner v1.3.0

Radek Brus · 24 November 2026 · sixi-scanner v1.3.0 · PyPI · laya-as-judge v1.2.0 · sixi-asi v1.0.0

Most AI security evaluations test toy chatbots that cannot touch a database, read a PDF, or invoke a real tool. To find out what actually breaks in production — and what our own scanner still missed — we built a realistic enterprise agent (SQLite private database + 7 real PDFs including 5 indirect-injection attachments + 8 tools + 10 deterministic server-side oracles), ran 11 guardrail architectures, audited OpenClaw 2026.11.7 in an air-gapped Docker sandbox, pitted sixi-scanner head-to-head against Promptfoo 0.123.1 and Microsoft PyRIT 1.1.0 at $0.00 cloud cost on one NVIDIA Jetson AGX Thor, and turned every gap we found straight into sixi-scanner v1.3.0.

11 Guardrails vs. Enterprise AI Agent on Jetson AGX Thor (Qwen3.8-27B): 0 of 6 standalone classifiers or 8B safety models stopped split refund caps or hidden SQL/PDF side effects; only Defense-in-Depth hit 0 breaks and 0% benign FPR at 39.7 ms input p50.

1. The target: an enterprise agent with real side effects

We upgraded our open-source Google ADK target (adk-demo-target, opt-in --enterprise mode, 31/31 unit tests green) backed by live Qwen3.8-27B-UD-Q4_K_XL + DSpine speculative drafter on sixi-asi 1.0.0 (up to 32 parallel streams, 100% local):

2. 11-Way Guardrail Shootout ($0.00 local GPU)

Every configuration faced the exact same 80-turn battery: 45 sixi-scanner v1.2.0 probes (100% coverage), 14 targeted enterprise DB/SQLi/BOLA/PDF/cap-split attacks (including 7 PDF attacks), and 15 benign customer queries for false-positive rate (FPR). Every vendor guardrail ran locally in BF16/FP32 with its native prompt template and verified output parser (including fixing IBM Granite Guardian's spaced <score> yes </score> tag and re-running fairly).

Configuration sixi (45p) DB/PDF (14) PDF Hijack (7) Benign FPR (15) Guard p50 (in / out)
01_atlas_none (undefended)43 / 140 / 70%—
02_atlas_basic (prompt-only rules)44 / 141 / 70%—
03_atlas_hardened (in-agent tool/PDF code)2 (prose)0 / 140 / 70%0 ms
04_llm_guard (ProtectAI DeBERTa-v3)33 / 140 / 70%17.3 / 0.07 ms
04b_meta_prompt_guard_2 (Meta 86M)43 / 140 / 70%24.6 / 0 ms
05_nemo_guardrails (NVIDIA NeMo rails)11 / 140 / 713.3% (2/15)954 / 1,636 ms
06_nemotron_safety_8b (NVIDIA 8B v3)31 / 141 / 713.3% (2/15)1,331 / 2,344 ms
07_granite_guardian_3_3_8b (IBM 8B)34 / 141 / 70%1,949 / 2,397 ms
08_qwen3_guard_8b (Alibaba 8B)32 / 140 / 70%1,187 / 2,007 ms
09_laya_as_judge_v12 (HTTP proxy + rules)03 / 14*0 / 70%38.4 / 78.5 ms
10_defense_in_depth (DeBERTa + Laya + Tool)00 / 140 / 70%39.7 / 86.8 ms

Four hard lessons from the 11-way table:

  1. Zero standalone guardrails stopped multi-turn cap_split. All six standalone classifiers and 8B safety models allowed two individually polite 35 CHF refunds (70 CHF > 50 CHF session cap) straight through.
  2. Fast input classifiers are blind to data-plane abuse. ProtectAI DeBERTa-v3 (17.3 ms) and Meta Prompt Guard 2 (24.6 ms) are great for obvious jailbreaks, yet both passed payroll queries, cross-account lookups, and split refunds untouched.
  3. Heavy 8B generative safety models add 2.6–4.3 s/turn and still miss indirect PDFs. Both NVIDIA Nemotron-8B v3 (3.67 s/turn, 13.3% benign FPR) and IBM Granite Guardian 3.3-8B (4.35 s/turn, 0% FPR) allowed a business-SOP PDF attachment (customer-dispute-attachment.pdf) to hijack the agent into running unauthorized SQL.
  4. HTTP proxy guardrails cannot undo upstream tool side effects. laya-as-judge v1.2.0 crushed sixi-scanner 4 → 0 at 38.4 ms (0% FPR) and withheld leaked responses on the way out, but the upstream SQL query had already executed before the HTTP response reached the proxy. Only Defense-in-Depth (fast input gate + Laya + code-enforced tool/PDF boundaries) reached 0 findings, 0 oracles, 0/14 DB/PDF breaks, and 0% FPR at 39.7 ms input latency.

3. OpenClaw 2026.11.7 air-gapped Docker audit

We re-tested the latest ghcr.io/openclaw/openclaw:latest (2026.11.7 (e31bbf0)) in a --network=internal zero-internet Docker sandbox with synthetic canaries in USER.md and MEMORY.md:

4. Head-to-head scanner shootout: sixi-scanner vs. Promptfoo vs. Microsoft PyRIT

Next we pointed all three scanners at the exact same Atlas Enterprise v2 endpoint across three postures: undefended, llm_guard (ProtectAI DeBERTa-v3), and laya_v12 (HTTP proxy), graded strictly by Atlas's 10 server-side oracles.

Promptfoo 0.123.1 vs. Microsoft PyRIT 1.1.0 vs. sixi-scanner v1.3.0 against Atlas Enterprise v2: Promptfoo and PyRIT hit 720s timeouts on undefended; PyRIT discovered Base64/ROT13/Leetspeak Encode-to-Execute; sixi-scanner v1.3.0 catches all of those deterministically on tool_calls in 3.1 min with 0 deps and 7/7 verify-sixi closure.
Scenario & Scanner Wall time Turns Target tokens Server oracle turns & classes (ground truth) Scanner self-flags
undefended · sixi-scanner v1.2.099.4 s50110k3 turns · 4 classes (account, db, leaked, cap_split)5
undefended · Promptfoo 0.123.1756.6 s *(timeout)*56124k3 turns · 2 classes (account ×2, cap_split)0 *(buffered)*
undefended · Microsoft PyRIT 1.1.0720.2 s *(timeout)*69887k *(8×)*9 turns · 5 classes (db ×6, sqli ×3, cap_split ×3, account ×2, email)n/a *(timeout)*
LLM Guard · sixi-scanner v1.2.068.0 s1745k2 turns · 3 classes (account, db, cap_split)3
LLM Guard · Promptfoo 0.123.1572.2 s2361k2 turns · 1 class (account ×2)3
LLM Guard · Microsoft PyRIT 1.1.0118.0 s2581k4 turns · 3 classes (account ×2, db ×2, cap_split ×2)0 *(missed all 4!)*
Laya v1.2.0 proxy · sixi-scanner v1.2.048.1 s1434k00
Laya v1.2.0 proxy · Microsoft PyRIT 1.1.020.3 s25k0 *(53/55 blocked at input)*0
Laya v1.2.0 proxy · Promptfoo 0.123.1669.8 s2059k4 turns · 4 classes (account ×2, cap_split, db, sqli)4

Two discoveries from the raw transcripts changed everything:

5. Turning lessons into code: sixi-scanner v1.3.0 (still 0 external deps)

We shipped every empirical gap straight into Go stdlib code in sixi-scanner v1.3.0:

  1. SQL, Private-Table & BOLA-in-SQL Wire Policy (internal/policy): declare forbidden_tables (e.g. employees_payroll, board_secrets, sqlite_master) and block_sql_injection: true in --context. The scanner deterministically flags forbidden tables, OR 1=1 / UNION SELECT / catalog introspection, cross-account literals inside SQL strings, and unscoped SELECT * FROM customers queries even behind polite refusals or withheld replies.
  2. 5 New Enterprise & Obfuscation Probes (45 → 50 baseline): probe.llm06.obfuscated-tool-invocation (raw Base64/ROT13/leetspeak), probe.llm06.tool-sql-injection, probe.llm02.private-table-exfiltration, probe.llm06.single-turn-cap-split, and probe.llm01.rag-document-indirect. Default --timeout raised 30s → 60s for multi-step tool agents.
  3. Surgical --export-laya Argument Extraction: extracts exact offending substrings (audit-drop@external-attacker.example, employees_payroll, ACC-9999, offending SQL strings) into blocked_arg_substrings while excluding allowed scope IDs (we caught and fixed a bug during testing where allowed NW-1001 initially leaked from the violation reason text).

Measured Before vs. After (v1.2.0 → v1.3.0 on Atlas Enterprise v2)

Target sixi-scanner v1.2.0 (45p) sixi-scanner v1.3.0 (50p) What changed
Undefended (--attempts 1) 4–5 findings · 4 oracles (99 s) 7 findings (5 trace) · 5 oracles (186 s, 50/50 OK) Caught raw Base64 Execute-Then-Lie send_email + single-turn 55 CHF split + unscoped SQL BOLA
Undefended (5 new probes, --attempts 4) not present 3 critical trace findings · 6 distinct oracles (157 s, 0 marker FP) Hit unauthorized_recipient, cap_split, privileged_action, db_private_leaked, pdf_indirect_hijack, sql_injection_executed
laya-as-judge v1.2.0 HTTP proxy 0 findings 1 critical trace finding (rag-document-indirect) Caught upstream PDF-triggered SELECT name FROM sqlite_master on tool_calls even behind a withheld reply (0/15 FPR)
Closed loop (verify-sixi + Defense-in-Depth) 0 oracles 7/7 verify-sixi closed · 0 critical/high · 0 server oracles Deterministic regression rules blocked all 5 trace attacks in 15.1 ms p50; DeBERTa-v3 had 1 benign false block on email confirmation (Laya had 0/15)

6. Closing the last gap in sixi-scanner v1.4.0 (--attacker-url Crescendo, --pack safety & sixi-server UTF-8 fix)

Looking honestly at the Phase 4 table, two narrow edges still belonged to Promptfoo and PyRIT: synthesizing polite, domain-tailored business-logic questions from the target's purpose, and running adaptive multi-turn Crescendo backtracking after a refusal. sixi-scanner v1.4.0 closes both — strictly opt-in, off by default so standard CI stays 100% deterministic, and still 0 external Go dependencies:

v1.4.0 Live Verification (Jetson AGX Thor, $0.00) Wall time Target tokens Measured result
sixi-server BiDi / Tag-Plane / Streaming stress——5/5 HTTP 200, 0 aborts, same PID alive + 7/7 CTest
Adaptive vs. Undefended Atlas (--adaptive-only)100.1 s32.5k *(27× less than PyRIT)*2 critical trace findings (external-cc-exfil, cumulative-refund-splitting)
Adaptive vs. laya_v12 HTTP proxy *(Promptfoo took 670 s)*220.5 s11.9k *(5× less than Promptfoo)*3-turn Crescendo break (cross-account-balance-compare): held turns 1–2, pivoted on turn 3 past Laya input gate, caught sqlite_master behind withheld reply → 1/1 verify-sixi closed
Adaptive vs. Defense-in-Depth54.8 s1.8k0 findings · 0 server oracles (exit 0)
--pack safety (6 probes × 2 attempts = 12 turns)35.2 s—0 findings (0% FPR) on live Qwen3.8-27B

Try sixi-scanner v1.4.0

pip install -U sixi-scanner laya-as-judge

# 1. Fast deterministic CI scan (50 probes, 0 attacker LLM calls) + export guard rules
sixi-scanner scan --target chat --url http://127.0.0.1:8100/api/chat \
  --stateful --trace-path tool_calls --context atlas-enterprise-context.json \
  --out baseline.json --export-laya guard-rules.json

# 2. Optional adaptive domain probes + 3-turn Crescendo (scored deterministically on tool_calls)
sixi-scanner scan --target chat --url http://127.0.0.1:8100/api/chat \
  --stateful --trace-path tool_calls --context atlas-enterprise-context.json \
  --attacker-url http://127.0.0.1:8089/v1 --attacker-model qwen3.8-27b \
  --attacker-budget 8 --adaptive-turns 3 --export-laya adaptive-rules.json

# 3. Optional content-safety refusal boundary pack + CI closure check
sixi-scanner scan --target chat --url http://127.0.0.1:8100/api/chat --pack safety
laya-judge verify-sixi guard-rules.json

Links: sixi-scanner v1.4.0 (GitHub) · PyPI · laya-as-judge v1.2.0 · sixi-asi v1.0.0 · Sixi Assure.