Files
ruflo/.github
randRuFlo 3be90c22c2 fix(ruflo): ship the wrapper only, harden the bridge's outbound guard
Socket flags six files in ruflo@3.75.1, all under src/ (the chat UI, the MCP
bridge and deploy scripts). Nothing in bin/ reads src/, and the tarball never
included the compose files needed to run it, so it was 528 files of dead
weight in every install.

- package.json: drop src/** from `files`. Tarball goes from 531 files / 8.2 MB
  to 3 files / 33 KB. New test pins the contents.
- mcp-bridge (both copies): replace the SSRF regex with url-guard.js. The
  regex let through https://[::1]/, 169.254.169.254, 100.64/10,
  *.internal and IPv4-mapped loopback, and refused public hosts starting
  "fc"/"fd". The new guard also checks what the hostname resolves to and
  refuses redirects.
- mcp-bridge: pin agentic-flow (was @alpha) and gemini-mcp-server
  (third-party) to exact versions in the spawn specs and the Dockerfiles.
  ruvector and ruflo still follow latest.
- mcp-bridge: spawned backends no longer inherit MCP_AUTH_TOKEN.
- chat-ui: remove patch-mcp-url-safety.sh. Against today's upstream image
  it matches nothing and exits 0; where it did match it relaxed the check
  for every URL.
- ADR-166 lock: four new checks, plus the guard and tarball tests in CI.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-10 11:24:23 -05:00
..