mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 06:36:49 +09:00
The walker dropped input past its node, character and per-string budgets silently, so 32 guards passed a secret placed after the cap. textsOf now appends a TRUNCATED marker; names/hasSecretIn treat it as a finding. Regenerated the 38 copies, bumped the 39 plugins, emptied the known-holes baseline. Co-Authored-By: RuFlo <ruv@ruv.net>
As a mod
Function hooks (ADR-445 pattern, hooks/register.ts) that need no model call, no network and no process:
- Tool guard (default on, tighten-only: it can only deny). Refuses business_pod_validate / business_pod_route_backend calls whose template holds a secret or a credential-named field, or whose template path climbs with
.., points at a credentials location (.env,.ssh,.aws, ...) or is not a.jsonfile. A refusal never echoes the offending value. /pods-modanswers locally:status,scan <text>andpath <template.json>(would the guard let this path be read?). (A distinct name from the plugin's own commands/skills, which no hook can answer.)- Status file
.claude-flow/pods-mod/status.json(version,updatedMs,checked,blocked,byRule) is written at session start and after each refusal; the console reads it.
Options (userConfig): guard (on/off, default on).
Test: claude plugin validate plugins/ruflo-business-pods && claude plugin test plugins/ruflo-business-pods && bash plugins/ruflo-business-pods/scripts/smoke.sh.