Skip to content

Releases

sixi-scanner v1.2.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 15:07

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-url integration with laya-as-judge's orthogonal RedTeamVerdictJudge preset (separating polite refusals from real breaks with 0 output tokens).
  • Deterministic Guardrail Export (--export-laya): Export confirmed findings from scan or surface --rug-pull directly into portable guard-rules.json packs consumed by laya-judge serve --rules-file, FastMCP LayaToolGateMiddleware, and LangGraph LayaJudgedGateNode.
  • Live Closed-Loop Verification: Verified end-to-end on local Qwen3.8-27B (45 probes: 2/2 closed in 0.29 ms guard overhead, 0/10 benign false blocks, stochastic regression caught by sixi-scanner diff) and DVMCP Challenge 4 rug-pull (blocked in 1.00 ms via 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-scanner via mcp-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

Choose a tag to compare

@github-actions github-actions released this 23 Nov 09:18

Full Changelog: v1.0.0...v1.1.0

sixi-scanner v1.0.0

Choose a tag to compare

@radeksixi radeksixi released this 19 Nov 08:28

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-extraction FPs dropped 7 → 0, pii-elicitation refusal-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), cutting credential-elicitation FPs 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 on gemma4:e4b-it-qat).
  • Cumulative session tool-call limits (internal/policy): Policy.CheckSessionLimits now 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:
    • mcp now records real per-call latency in Reply.Latency and decodes JSON-RPC result objects before extracting Reply.ToolCalls.
    • a2a now preserves taskId across multi-turn sequences even when servers omit "kind": "task", and properly extracts Reply.ToolCalls.
  • Structured observability (--log-jsonl & ScanStats):
    • --log-jsonl <path> streams one 0600 JSONL 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 stats summary (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.yml for 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.0

Or 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

Choose a tag to compare

@radeksixi radeksixi released this 19 Nov 06:30

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.0

or download a static binary below and verify it against SHA256SUMS.

What 0.10.0 adds

  • Deterministic tool-call policy engine (--context agent.json policy). Declare allowed_recipients, forbidden_recipients, allowed_accounts, and per-tool numeric limits checked directly against observed tool calls (--trace-path, supporting 4 wire shapes). Violations are confirmed as evidence_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 MCP initialize + tools/list and 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 mcp and a2a connectors + session templates. --target mcp (JSON-RPC 2.0 tools/list + tools/call, optional --tool) and --target a2a (v0.3 message/send with v0.2 tasks/send fallback, session-capable for multi-turn probes). Bespoke --target json endpoints 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 flagged narration_only and capped at 0.50 confidence; 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 into new (with tested_in_baseline), still_open, fixed (only when retested in the current run), and not_retested with explicit coverage caveats. Exits 1 only on new findings.
  • Targeted reproduction, redaction, HTML & SARIF 2.1.0 upgrades. --reproduce N re-runs only breaking payloads (k/n); --redact scrubs secrets/PII while preserving fingerprints; --format html / .html emits an auto-escaped offline report with no compliance grading; SARIF adds security-severity, Markdown help, automationDetails, ruleIndex, result properties, and auto-redacted snippets; HTTP transports and the confirmation stage honour Retry-After with 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

Choose a tag to compare

@radeksixi radeksixi released this 12 Nov 09:19

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@latest

or 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 exits 2. A scan where some techniques got no answer exits 3, 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, with drawn_by), not under the title and severity of whichever technique was running.
  • Markers. sk-, ready and bereit no 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-instruction did 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-severity is validated.
  • Transports. A redirect is followed only on the host the scan was pointed at and never from https to http. Repeated --header flags accumulate. {{prompt}} in a --body template is JSON-escaped. Conversation ids are unique per scan.
  • Reports and CLI. Report files are created 0600, latency is in milliseconds, --help exits 0, and a bad --format is refused before anything is sent.

Upgrade notes:

  • A CI job can now exit 3 where it used to exit 0.
  • 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.