engine: read_prompt error message leaks full job path #83

Closed
opened 2026-07-05 13:52:55 +00:00 by the.auditor · 0 comments
Owner

In src/kronai/engine.py:32, the error message includes the full job_path:

msg = f"Prompt file not found in {job_path}"

Same path-leakage concern as #74. Consider using job_path.name if logging user-visible paths is a concern.

From PR #81 review suggestion.

In `src/kronai/engine.py:32`, the error message includes the full `job_path`: ```python msg = f"Prompt file not found in {job_path}" ``` Same path-leakage concern as #74. Consider using `job_path.name` if logging user-visible paths is a concern. _From PR #81 review suggestion._
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
thwap/kronai#83
No description provided.