Commit Graph
3 Commits
Author SHA1 Message Date
ruv d973e2f930 feat(mods): guard secret-bearing MCP tools named in ADR-450 T6
browser_fill/type/session_record (browser), x_federation_invite_mint
(x-gateway, federation), memory_import/session_import/config_import (rvf,
rag-memory) now go through the shared secret screen. Patch bumps + tests.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 22:59:53 -04:00
ruv ddbe7453b9 fix(mods): live-check guard defects in 8 plugins (adr, ddd, federation, deepseek, browser, bbs, chatgpt, pods)
Live `/SHORT-mod status` ran clean on all 20 assigned plugins; probing the guards with realistic inputs found:
- adr: the guard never fired on the adr-create skill's own writes (hierarchical-store has no namespace field; causal-edge); now keyed on mem:ADR-NNN
- ddd: `domain-<context>` entries (the skill's key) were not screened
- federation: 1 in 10 epoch-ms timestamps passed Luhn and were refused as card numbers; cards must start 2-6
- deepseek-harness: the guard missed an installed copy (plugin-cache version directory)
- browser: `location.href ==` and `.src ==` read as sinks; document['cookie'] and a trailing-dot metadata host slipped through
- bbs-federation: 0, 0.0, 00.0.0.0, 0x0.0.0.0, ::0 and long IPv6 zeros bypassed the wildcard-bind refusal
- chatgpt-federation: payload cap counted UTF-16 units, not bytes
- business-pods: `.env[^/]*` refused a `.environments` directory

Each has a regression test that fails without the fix; plugins bumped one patch.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 19:06:03 -04:00
ruv e232d9050c feat(plugins): bbs-federation, browser, business-pods, chatgpt-federation as mods (ADR-445 pattern)
Each plugin gets a tighten-only tool.call guard on its own tools (secrets and
credential fields out of messages/templates, hostile URLs and exfiltration
scripts out of the browser, pub: channels only for the ChatGPT publisher), a
local slash command (/bbs-mod, /browser-mod, /pods-mod, /chatgpt-mod), a
.claude-flow/<short>-mod/status.json, userConfig, tests, smoke steps M1-M3 and
an "As a mod" README section. Versions: bbs 0.3.0, browser 0.3.0, pods 0.2.0,
chatgpt 0.2.0.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-04 15:34:57 -04:00