🟡 [MEDIUM] CB-015: Error Messages Leak Internal State #24
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Competitor
Kind/Documentation
Kind/Enhancement
Kind/Epic
Kind/Feature
Kind/Security
Kind/Story
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Scope/Core
Scope/Cross-Plugin
Scope/Plugin-System
Scope/Single-Plugin
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ultanio/cobot#24
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?
Security Finding from Audit
Severity
MEDIUM 🟡
CVSS Score
N/A
CWE
CWE-209 (Information Exposure Through Error Message)
Location
Multiple filesDescription
Error messages throughout the codebase use
f"Error: {e}"patterns that expose internal paths, stack traces, library versions, and configuration details to the LLM (and potentially back to the user).Example in
agent.pyline 215:return f"Error: {e}"returns the LLM error (which may contain API responses) directly to the user.Recommendation
Return generic error messages to users. Log detailed errors internally with a correlation ID.
From: Cobot Whitebox Security Audit (February 14, 2026)
Finding ID: CB-015