Security
- fix(security): Harden health endpoints against information disclosure (GHSA-73hc-m4hx-79pj)
GET /healthreturns only{"status": "healthy"}— no version, uptime, or timestampsGET /health/detailednow requires write (admin) access- Removed
database_pathfrom responses (leaked filesystem paths and usernames) - Removed OS version, Python version, CPU count, memory/disk sizes from
system_info - Upgraded
/memory-statsand/clear-cachesto require write access - Added 7 regression tests
Changed
- BREAKING: Default HTTP binding changed from
0.0.0.0to127.0.0.1- Set
MCP_HTTP_HOST=0.0.0.0to restore network-wide access - Also fixed in
mcp_server.py— now usesHTTP_HOST/HTTP_PORTfrom config consistently
- Set
Full Changelog: v10.20.6...v10.21.0