v3.32.15
ruvnet/ruflov3.32.15Jul 27, 2026by ruvnet
AI Summary
Introduces a deterministic scanner for MCP tool descriptors to identify prompt-injection patterns in shared fragments.
Key Highlights
- Added `ruflo security composition-scan` command for tool registry analysis.
- Detects Injection-phrase, Shared-fragment, and Name-lookalike signatures.
- Population cap reduces false positives, specifically for the CLI's 350-tool registry.
New Features
- ruflo security composition-scan command
- Shared-fragment detection
- Name-lookalike detection
Full Release Notes
First dream-cycle backlog item shipped after the parser scoping fix. ## Added **`ruflo security composition-scan`** — deterministic (no LLM) scanner that reads a set of MCP tool descriptors and flags three attack signatures targeting the ShareLock Shamir-split prompt-injection pattern (arXiv 2606.27027, dream-cycle #2783): 1. **Injection-phrase** — 16 known prompt-injection phrases inside a single tool. 2. **Shared-fragment** — identical substrings ≥ N chars across tool descriptions, capped at ≤ K distinct tools per fragment. Attack fragments live in small conspiracies (2-3 tools); template language shows up in dozens. 3. **Name-lookalike** — tool names ≤ 2 edits from a trusted ruflo prefix (typosquat mitigation). Usage: ``` ruflo security composition-scan # scan the CLI's own MCP tools ruflo security composition-scan --tools-json X.json # scan a third-party MCP registry ruflo security composition-scan --min-fragment 30 --top 50 ``` ## Verification - Unit tests: **6/6** pass (shared-fragment, injection-phrase, name-lookalike, ruflo-benign-baseline, stats accuracy, minFragment tuning). - E2E on synthetic malicious 4-tool registry: all 3 signatures flagged correctly. - E2E on the CLI's own 350-tool registry: population cap knocks false-positives 92× (152,560 → 1,788). ## Upgrade ```bash npx ruflo@latest --version # → 3.32.15 ``` Refs: dream-cycle #2783 (2026-07-26).