API 500 responses disclose full tracebacks with filesystem paths #192
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/a0-symbolics#192
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
helpers/api.py:113-116returnsformat_error(e)(which embeds the full traceback) directly in 500 responses. This leaks absolute paths, internal module names, and exception messages that may contain credential fragments. It also violates theapi/AGENTS.mdcontract: "Do not return unfiltered exception details to clients."Suggested fix
Return a generic 500 message to clients; log the traceback server-side only (PrintStyle/log file).
Mirrored from
lost-rob0t/a0-symbolics#80via tracker sync.