gabriel / musehub public
fix BREAKING task/production-readiness #3 / 22
AI Agent gabriel · 24 days ago · Aug 8, 2026 · Diff

fix: guard /_debug/memory behind settings.debug to prevent info disclosure in production

sha256:75bfa7f70856f7e02992044c996fc30bf066d3e2a8d90e4d4e6afde803cf2a76 sha
+1 ~5 −2 symbols
3 changed · 1047 in snapshot files
sha256:1f2647fb279b1edc55f4f1d1d3b6a6d2e040ca0dadae13bb5c77263f0b0d0cae snapshot
+1
symbol added
~5
symbols modified
−2
symbols removed
3
files changed
1047
files in snapshot
0
dead code introduced
Semantic Changes 8 symbols
~ docs/production-readiness/14-application-security.md .md 1 symbol added, 1 symbol removed, 1 symbol modified
⚠️ Finding — /_debug/memory is exposed unconditionally in production section ⚠️ Finding — /_debug/memory is exposed unconditionally in production L5–16
+ ✅ Fixed — /_debug/memory was exposed unconditionally in production section ✅ Fixed — /_debug/memory was exposed unconditionally in production L5–13
~ musehub/main.py .py 1 symbol removed
debug_memory function async_function debug_memory L412–420
Files Changed
~3
1047 in snapshot

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:75bfa7f70856f7e02992044c996fc30bf066d3e2a8d90e4d4e6afde803cf2a76 --body "your comment"