Pre-execution mediation for AI coding agents, with the ergonomics enterprise buyers expect. This is our first tagged release and ships the complete Tier 1 feature set from IMPROVEMENT_PLAN.md.
Headline benchmark
On an end-to-end, 1,000-call regression run against this release (AWS Lightsail, Claude Code v2.1.101, enforce mode):
| Metric | Value |
|---|---|
| Attack suite | 120 cases (OWASP LLM Top 10, OWASP Agentic Top 10, MITRE ATLAS, adversarial variations) |
| Hard-block rate | 56.7% (55/97 expected-block) |
| Any-finding detection | 84.5% (82/97) |
| Benign corpus | 539 cases drawn from real git/npm/cargo/docker/kubectl/curl workflows |
| Hard-block false-positive rate | 0.19% (1/539) |
| Engine latency (1,000 calls) | p50 115.7 µs · p95 254.9 µs |
| Subprocess latency (Claude Code hook contract) | p50 344.5 ms · p95 438.0 ms |
100% hard-block on OWASP-LLM06 (agent-goes-rogue: rm -rf /, mkfs, dd, privilege escalation, fork bombs) and OWASP-LLM10 (DoS). 96.3% any-finding detection on the adversarial-variation set.
New subsystems
Canarytokens (honey credentials)
warden canary plant|list|remove|status — plant realistic fake AWS/SSH/.env/generic credentials at arbitrary paths. Any read raises a CRITICAL finding and optionally POSTs a signed payload to a user-configured webhook. First AI-agent-specific canarytoken implementation we're aware of. → warden/canary.py
MCP schema auditor
warden scan now statically analyses MCP tool schemas for over-broad allowlists ("*", "/**"), risky description tokens (bypass, all files, sudo), any-typed parameters on execution-capable tools, missing input schemas, and servers that combine execution with filesystem + network access in a single surface.
Lockfile integrity audit
warden deps now detects non-registry sources (git+, file:) in package-lock.json, missing integrity: hashes, and lockfile-injection (direct deps in the lockfile that aren't declared in package.json). Exits 1 on any HIGH-severity integrity issue.
Agent-instruction tamper detection
New agent-instruction-tampering rule covers writes to CLAUDE.md, AGENTS.md, .cursorrules, .windsurfrules, and .github/copilot-instructions.md. Previously only .claude/settings.json was protected.
Unicode / homoglyph path detection
Flags paths and commands that mix ASCII letters with Cyrillic, Greek, Latin-extended confusables, fullwidth letters, and zero-width joiners — e.g. cat .еnv where е is U+0435.
SIEM telemetry sinks
New settings.outputs section in policy.yaml forwards findings to webhook, syslog (UDP/TCP), and file sinks. File sink supports both JSON and ArcSight CEF formats for Splunk/QRadar ingest. Env-var interpolation (\${SIEM_TOKEN}) for secret headers. Dispatch runs before the blocking decision so your SIEM sees every event, including blocked ones.
Declarative policy tests
warden policy test runs .prismor-warden/policy-tests.yaml cases ({input, expect: block|warn|pass}) and ships a bundled OWASP LLM Top 10 + Agentic Top 10 + MITRE ATLAS starter pack (28 cases).
New `warden check` flags
--explain— show the matched rule's category, action, event types, field list, and full regex pattern.--from-log PATH— replay a JSONL session log through the current policy to validate rule changes.--suggest-allowlist— emit a ready-to-pasteallowlists:entry when a command triggers a finding the user considers intentional.
Adversarial bypass coverage
Closed during exhaustive variation testing on Lightsail:
rm -rf "/etc"(quoted system paths) andrm -rf ~/rm -rf $HOME(home wipe).rm -r -f /(separate flags) andrm --recursive --force /(long-form).nc -lvp 4444 -e /bin/bash(combined listen+port flag)./dev/tcp/<hostname>— any hostname, not just dotted-quad IPs.git -c http.sslVerify=falseinline override,curl -sk/-ksLcombined flags.npm --registry/yarn --registry/pnpm --registry— matched before or afterinstall|i|add.perl pack(q{H*}, ...)andperl pack(qq{H*}, ...)alternate quoting forms in addition to the classicpack(\"H*\", ...).
Quality
- 227/227 unit tests pass, no regression since 1.0.2.
- 28/28 bundled OWASP policy-test cases pass on a clean install.
- 97/97 Lightsail adversarial + golden-path regression cases green.
- End-to-end proof: drove Claude Code to emit
npm install git+https://github.com/leftpad/leftpad; Warden'sPreToolUsehook returned exit 2 with the rule title and severity, and Claude surfaced the block to the user verbatim.
Installing / upgrading
# Fresh install
curl -fsSL https://raw.githubusercontent.com/PrismorSec/immunity-agent/main/scripts/init.sh | bash
# In-place upgrade
cd \$HOME/.prismor && git pullAfter upgrading, reinstall hooks to pick up the new rule set:
warden install-hooks --agent claude --mode enforce
warden policy show # should report 54 active rules
warden policy test # runs bundled OWASP starter packFull diff
v1.0.2...v1.1.0 — 12 files changed, +1,732 lines / −16. Net new modules: warden/canary.py, warden/sinks.py, warden/policy_test.py, templates/policy-tests-owasp.yaml, plus CHANGELOG.md and IMPROVEMENT_PLAN.md in the repo root.
See CHANGELOG.md [1.1.0] for the full list.