Skip to content

Fix stack trace exposure alert - #115

Merged
yusufm merged 1 commit into
mainfrom
codex/fix-alert-80-stack-trace
May 12, 2026
Merged

Fix stack trace exposure alert#115
yusufm merged 1 commit into
mainfrom
codex/fix-alert-80-stack-trace

Conversation

@yusufm

@yusufm yusufm commented May 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • stop returning exception-derived text from default API error responses
  • keep fixed public error messages for known 4xx categories and explicit caller-provided messages
  • replace macOS-incompatible entrypoint sed usage with a portable config rewrite

Tests

  • python3 -m py_compile web/app.py
  • pytest tests/test_api_error_sanitization.py tests/test_web_route_smoke.py
  • pytest tests/test_entrypoint_bootstrap.py::test_entrypoint_bootstrap_is_safe_under_parallel_first_run tests/test_api_error_sanitization.py -q
  • pytest

@yusufm
yusufm merged commit 978702f into main May 12, 2026
5 checks passed
@yusufm
yusufm deleted the codex/fix-alert-80-stack-trace branch May 12, 2026 18:17
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