MCP servers 2026-09-30 06:01 UTC
fhir-mcp-server
Committed by Lilvamp237. Update Category: Routine Updates & Maintenance. Commit details: Validate FHIR Resource ID and Operation to Prevent Path Traversal (#51). This update performs routine maintenance and minor adjustments.
CommitRaw commit message
Validate FHIR Resource ID and Operation to Prevent Path Traversal (#51) * fix: validate FHIR resource id and operation Reject path separators, dot-segments, and percent-encoded traversal sequences in resource ids and operation names so they cannot escape the configured FHIR base path. Also bind docker-compose exposed ports to localhost only to reduce attack surface. Add unit and e2e test coverage for the new id/operation validation. * fix: address review feedback and patch a security issue in a dependency - Add validate_inputs() to combine resource type/id/operation validation into a single call instead of repeating the inline `or` chain - Cap validate_resource_type at 64 chars, matching validate_resource_id and validate_operation - Update the anyio package to a newer version that fixes a critical security bug our scanner flagged in the old one * Update requirements.txt * Update src/fhir_mcp_server/utils.py * Update tests/unit/test_utils.py * Update copyright year in conftest.py * Update copyright year in test_tools.py