CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in codewhale 0.9.0 and codewhale-tui 0.9.0.
CodeWhale is a DeepSeek and MiMo coding agent for the terminal. Prior to 0.9.0, DEFAULT_AUTOMATION_AUTO_APPROVE caused AutomationRecord::task_auto_approve to resolve an omitted setting to true, and the automation_create schema advertised the same insecure default. enqueue_run_task converted that omission into an explicit true value, bypassing the safer task-path fallback and selecting ApprovalMode::Bypass for each scheduled run. After a user approved creation of an apparently benign recurring automation, subsequent executions could silently authorize mutating tools without a human present, and an automation created with shell access could repeatedly execute commands. This issue is fixed in version 0.9.0.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| codewhale-hq | <0.9.0 | ||
| npm: codewhale | <0.9.0, <=0.8.67 | 0.9.0 | |
| cargo: codewhale-tui | <0.9.0, <=0.8.67 | 0.9.0 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in codewhale-tui (Cargo), strongest first
Embed
A live severity badge for an advisory, README or ticket