Skip to content

Harden filesystem-server networking and path handling - #14

Merged
jonpspri merged 1 commit into
mainfrom
psirt-2026-07-24
Jul 24, 2026
Merged

Harden filesystem-server networking and path handling#14
jonpspri merged 1 commit into
mainfrom
psirt-2026-07-24

Conversation

@jonpspri

@jonpspri jonpspri commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Make the filesystem-server HTTP bind address configurable via --bind, defaulting to loopback, and require --auth-token (or FILESYSTEM_SERVER_AUTH_TOKEN) before listening on non-loopback addresses; requests are then checked for a bearer token
  • Tighten path validation for directory creation and add regression tests
  • Refresh qr_code_server Python dependencies (pyproject floors + regenerated uv.lock)
  • Ignore the local todo/ working directory
  • Update filesystem-server README for the new flags

Test plan

  • cargo fmt, cargo clippy --all-targets, cargo test — 87 lib + 9 integration tests pass (16 new)
  • uv lock --check and uv run pytest — 97 tests pass
  • Smoke-tested the server startup paths for the new flags

- Make the HTTP bind address configurable, default to loopback, and
  require a bearer token before listening on non-loopback addresses
- Tighten path validation for directory creation and add regression tests
- Refresh qr_code_server Python dependencies
- Ignore the local todo/ working directory

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Signed-off-by: Jonathan Springer <jps@s390x.com>
@jonpspri
jonpspri merged commit 9eb50b2 into main Jul 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant