Avoid leaking internal exception details to Discord users #22

Closed
opened 2026-02-20 06:49:15 +00:00 by cal · 2 comments
Owner

Description

commands/league/submit_scorecard.py:274 and :379 — Two places send str(e) directly back to the user as Discord message content. Depending on the error source, these can expose internal API URLs, stack context, or database structure details to anyone in the channel.

File Locations

  • commands/league/submit_scorecard.py:274
  • commands/league/submit_scorecard.py:379

Labels

security, bug

Priority

medium

## Description `commands/league/submit_scorecard.py:274` and `:379` — Two places send `str(e)` directly back to the user as Discord message content. Depending on the error source, these can expose internal API URLs, stack context, or database structure details to anyone in the channel. ## File Locations - `commands/league/submit_scorecard.py:274` - `commands/league/submit_scorecard.py:379` ## Labels security, bug ## Priority medium
Author
Owner

Addressed in commit f4be20a on next-release branch. Will be closed when merged to main.

Addressed in commit f4be20a on `next-release` branch. Will be closed when merged to main.
Author
Owner

Addressed in commit f4be20a on next-release branch. Will be closed when merged to main.

Addressed in commit `f4be20a` on `next-release` branch. Will be closed when merged to main.
cal closed this issue 2026-02-20 20:29:06 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cal/major-domo-v2#22
No description provided.