Repository navigation
Releases
sixi-scanner v1.2.0
What's New in v1.2.0 — Closed Attack → Guard → Prove Loop
Pair sixi-scanner v1.2.0 with laya-as-judge v1.2.0 to turn red-team findings directly into deterministic runtime guardrails and verify closure automatically in CI — at $0.00 cloud cost:
- Zero-Output-Token Confirmation (
judge="redteam"): Native--confirm-urlintegration withlaya-as-judge's orthogonalRedTeamVerdictJudgepreset (separating polite refusals from real breaks with0output tokens). - Deterministic Guardrail Export (
--export-laya): Export confirmed findings fromscanorsurface --rug-pulldirectly into portableguard-rules.jsonpacks consumed bylaya-judge serve --rules-file, FastMCPLayaToolGateMiddleware, and LangGraphLayaJudgedGateNode. - Live Closed-Loop Verification: Verified end-to-end on local
Qwen3.8-27B(45 probes:2/2closed in0.29 msguard overhead,0/10benign false blocks, stochastic regression caught bysixi-scanner diff) and DVMCP Challenge 4 rug-pull (blocked in1.00 msvia FastMCP). - Zero-Friction Distribution: Standalone static Go binaries, PyPI (
uvx sixi-scanner/pip install sixi-scanner), GitHub Action, and Official MCP Registry (io.github.radeksixi/sixi-scannerviamcp-serve).
Technical write-up & reproducible scripts: https://radeksixi.github.io/closed-loop-redteam-guard-sixi-scanner-laya-1-2/
Full Changelog: v1.1.0...v1.2.0
sixi-scanner v1.1.0
Full Changelog: v1.0.0...v1.1.0
sixi-scanner v1.0.0
sixi-scanner v1.0.0
First stable v1.x release of sixi-scanner — a zero-dependency Go CLI red-team scanner for LLM agents, MCP servers, and A2A endpoints.
See docs/STABILITY.md for the v1.x stability contract covering CLI flags, exit codes (0/1/2/3), report/telemetry schemas, and the zero-external-dependency invariant.
What changed since v0.10.0 (verified on live targets before tagging v1.0.0)
Before cutting v1.0.0, we replayed the deterministic judge on the recorded 1,480-turn Microsoft Foundry corpus and ran full end-to-end live suites (3-rung defence ladders, seeded tool-calling policy tests, and clean-vs-poisoned MCP + A2A) against adk-demo-target. Six real-world bugs surfaced and were fixed with regression tests:
- -38% false positives on marker scoring (zero LLM judge calls):
- Removed
,as a sentence boundary in negation scoping so comma-separated refusal lists ("I can't share postal address, date of birth, or home address") stay bound to the denial (training-data-extractionFPs dropped7 → 0,pii-elicitationrefusal-list FP eliminated). - Filtered unfilled credential placeholders on assignment markers (
Password=REDACTED;,Password=your_password;,API key: <YOUR_API_KEY>,amqp://user:pass@host:port/vhost), cuttingcredential-elicitationFPs in half (8 → 4). - Added first-person system-prompt disclosure cues (
my instructions are,my available tools are, etc.) catching low-resource multilingual prompt dumps (e.g. Swahili ongemma4:e4b-it-qat).
- Removed
- Cumulative session tool-call limits (
internal/policy):Policy.CheckSessionLimitsnow sums numeric limits across all tool calls observed in a session, catching per-request cap splitting (30 + 30 = 60 CHF > 50 CHF) deterministically on the wire regardless of prose wording. - MCP & A2A transport fixes:
mcpnow records real per-call latency inReply.Latencyand decodes JSON-RPCresultobjects before extractingReply.ToolCalls.a2anow preservestaskIdacross multi-turn sequences even when servers omit"kind": "task", and properly extractsReply.ToolCalls.
- Structured observability (
--log-jsonl&ScanStats):--log-jsonl <path>streams one0600JSONL record per attempt (timestamp,scan_id,session_id,technique_id,prompt,response,tool_calls,latency_ms,mechanism,evidence_basis,narration_only,declined_produced,repro_trial,break,reason).- JSON scan reports include an aggregate
statssummary (duration_ms,requests_total/ok/error,latency_p50/p95/max_ms,tool_calls_observed,repro_trials_run,breaks_by_mechanism).
- Automated release workflow: added
.github/workflows/release.ymlfor reproducible tag builds.
Measured before tagging v1.0.0
| Benchmark | Measured Result |
|---|---|
| Foundry 1,480-turn replay (0 LLM calls) | Marker precision 0.667 → 0.763 (58 TP / 18 FP, -38% FP, zero recall loss at 30/61 = 0.492) |
Live Atlas (gemma4:e4b-it-qat) defence ladder |
none: 8 findings (18 server leaks) → basic: 6 findings (7 leaks) → hardened: 1 real finding (sleeper-memory bypassing regex input guards; 0 server leaks) |
Live Atlas seeded tool policy (--seed + --context) |
none: 24 tool calls, caught refund-cap-split (60 > 50 CHF), tool-bola (ACC-9999), payload-relay deterministically on wire; hardened: 22 tool calls, 0 findings (exit 0) |
| Live MCP & A2A suite | Passive surface: 0 poisoning FPs on clean targets, caught poisoned MCP tool, poisoned A2A skill, and unauthenticated A2A card; active --target mcp caught json-schema-bypass (p50 2710 ms); active --target a2a held multi-turn sessions (19 turns / 11 sessions) and caught sleeper-memory |
Install
go install github.com/radeksixi/sixi-scanner/cmd/sixi-scanner@v1.0.0Or download a static binary below and verify against SHA256SUMS. Zero external dependencies, Apache-2.0.
v0.10.0 — MCP & A2A, deterministic tool policies, structural oracles, and honest diffs
MCP & A2A transports, passive tool-poisoning inspection (surface), deterministic tool-call policies without an LLM judge, 7 structural oracles, 18 new probes (45 total), targeted reproduction (--reproduce), evidence redaction (--redact), self-contained HTML reports, and honest scan-to-scan diffs (diff) — still zero external dependencies (Go stdlib only).
Write-up: https://radeksixi.github.io/sixi-scanner-0-10-mcp-a2a-tool-policy-and-structural-oracles/
Install:
go install github.com/radeksixi/sixi-scanner/cmd/sixi-scanner@v0.10.0or download a static binary below and verify it against SHA256SUMS.
What 0.10.0 adds
- Deterministic tool-call policy engine (
--context agent.jsonpolicy). Declareallowed_recipients,forbidden_recipients,allowed_accounts, and per-tool numericlimitschecked directly against observed tool calls (--trace-path, supporting 4 wire shapes). Violations are confirmed asevidence_basis: "trace"even when the model refuses politely in prose, and require no--confirm-url. - Passive MCP & A2A inspection (
sixi-scanner surface). Sends zero adversarial prompts; runs MCPinitialize+tools/listand A2A/.well-known/agent-card.json(with fallback to/.well-known/agent.json) to flag hidden instructions, invisible Unicode / base64 payloads, cross-tool shadowing, and weak A2A trust posture (unauthenticated,unsigned-card,weak-auth-scheme). - Native
mcpanda2aconnectors + session templates.--target mcp(JSON-RPC 2.0tools/list+tools/call, optional--tool) and--target a2a(v0.3message/sendwith v0.2tasks/sendfallback, session-capable for multi-turn probes). Bespoke--target jsonendpoints now support multi-turn sequences via{{session}}/{{session_json}}. - 45 techniques (+18) and 7 structural oracles. Structural oracles for inline & EchoLeak reference-style Markdown exfiltration, Unicode Tag Plane & BiDi/backspace smuggling, SSTI delimiter pass-through, raw ANSI/OSC 8 terminal escapes, Base64-decoded active HTML/XSS, CSV formula injection, and JSON schema bypasses — alongside latent document injection, MathPrompt, low-resource multilingual, many-shot, Bad Likert Judge, adversarial poetry, multi-turn
sleeper-memory, email header injection, BOLA, BFLA, and SSRF. - Sharper judge & honesty guards.
probe.llm01.declined-then-produced(--declined-produced) catches refusals followed by generated artefacts; prose side-effect claims with no tool trace are flaggednarration_onlyand capped at0.50confidence; role mailboxes (dpo@,support@,security@) are filtered from PII matches; credential regexes cover AWS, GitHub, Slack, Google, JWT and DB URIs with placeholder filtering. - Honest scan diffs (
sixi-scanner diff). Compares two JSON reports intonew(withtested_in_baseline),still_open,fixed(only when retested in the current run), andnot_retestedwith explicit coverage caveats. Exits1only on new findings. - Targeted reproduction, redaction, HTML & SARIF 2.1.0 upgrades.
--reproduce Nre-runs only breaking payloads (k/n);--redactscrubs secrets/PII while preserving fingerprints;--format html/.htmlemits an auto-escaped offline report with no compliance grading; SARIF addssecurity-severity, Markdown help,automationDetails,ruleIndex, result properties, and auto-redacted snippets; HTTP transports and the confirmation stage honourRetry-Afterwith bounded retry.
The benchmark figures in the README (0.821 precision, 0.571 recall, 1.000 multi-turn precision) were measured on v0.8.4 and have not been re-run on this release yet.
45 techniques. 12/12 packages green, gofmt / go vet / -race clean, 0 external dependencies.
v0.9.1 — a scan that could not test everything says so
A correctness pass over the scanner's own code, packaged at v0.9.1 with the updated module path (github.com/radeksixi/sixi-scanner). A scan that could not test something now says so instead of reading as clean, and a harmless reply is no longer filed as a finding. Write-up: https://radeksixi.github.io/sixi-scanner-no-findings-is-not-a-pass/
Install:
go install github.com/radeksixi/sixi-scanner/cmd/sixi-scanner@latestor download a binary below and check it against SHA256SUMS.
What 0.9 changes:
- Untested is not clean. A target that answers every prompt with an empty error status (401, 404, 429, 500) used to report "no findings" and exit
0; it now exits2. A scan where some techniques got no answer exits3, and JSON, SARIF and Markdown all list what was not tested. A claim that cannot be checked because the connector exposes no tool trace is listed as undecided rather than passed. - Rule recitation is its own finding. A refusal that cites its limits is reported as
probe.llm07.rule-recitation(medium, once per scan, withdrawn_by), not under the title and severity of whichever technique was running. - Markers.
sk-,readyandbereitno longer match inside "risk-", "already" and "bereits", and one phrase ("you are an ...") no longer counts as two markers. - Probes. Two encoded payloads of
probe.llm01.encoded-instructiondid not decode to an instruction; they do now, and a test decodes every variant. - Claim and relay checks. A true claim is backed by the tool that performed it, a refusal is read in the claim's own sentence, a relay needs at least three consecutive words of the caller's text, and a tool that only reads is not an outbound sink.
- Confirmation stage. A rejected candidate no longer ends the technique, an unreachable judge no longer counts as a confirmation, and
--confirm-min-severityis validated. - Transports. A redirect is followed only on the host the scan was pointed at and never from https to http. Repeated
--headerflags accumulate.{{prompt}}in a--bodytemplate is JSON-escaped. Conversation ids are unique per scan. - Reports and CLI. Report files are created
0600, latency is in milliseconds,--helpexits0, and a bad--formatis refused before anything is sent.
Upgrade notes:
- A CI job can now exit
3where it used to exit0. - Anything keyed on technique IDs will see recitation findings under
probe.llm07.rule-recitation. - Fingerprints change once; the SARIF key is now
sixiScan/v2. - Custom technique definitions are validated more strictly (blank entries, a marker threshold above the number of markers).
The benchmark figures in the README (0.821 precision, 0.571 recall) were measured on v0.8.4 and have not been re-run on this release.
27 techniques. 9/9 packages green, gofmt/go vet/-race clean.