CodeWhale’s ordinary task creation path treated a missing auto-approval value as false. Its automation scheduler used a different default: a missing value was stored as None and subsequently resolved to true when scheduling a run. The later task therefore received an explicit approval-bypass instruction rather than inheriting the corrected safe default. The…
Inspect the ClaimsCase · DiggingBeagle record
CodeWhale recurring jobs revived auto-approval despite safer task defaults
An omitted auto_approve field resolved to true when a scheduled automation re-created agent tasks, allowing some later mutations without renewed consent.
Published by DiggingBeagle:
Public disclosure: Nov 12, 2026
Recurring CodeWhale task scheduling in affected versions, conditional on initial user approval and permitted downstream tools.
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- demonstrated
- Evidence
- Grade B
- Remediation
- patch available
- AI role
- AGAINST AI
Basis and provenance
Reviewed advisory documents scheduler approval propagation and v0.9.0 fix, with an initial user approval prerequisite. Impact band is unassigned because the cited material does not establish a calibrated real-world loss or affected-population denominator.
Assessed Nov 20, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-2026-NOV20-CODEWHALE-SCHED · CLM-2026-NOV20-CODEWHALE-SCHED-ENRICH · GitHub: CodeWhale recurring automation inherited unsafe auto approval
At a glance
This is a distinct failure from CodeWhale’s executable search-command classifier even though the same fixed release addresses both. One occurs during a single request’s classification; the other occurs across scheduler persistence and later replay.
Read the implicationsNo confirmed malicious deployment or successful theft from scheduled runs. Upgrade handling of already persisted unsafe job defaults is not established.
Limits and uncertaintyFull account
CodeWhale’s ordinary task creation path treated a missing auto-approval value as false. Its automation scheduler used a different default: a missing value was stored as None and subsequently resolved to true when scheduling a run. The later task therefore received an explicit approval-bypass instruction rather than inheriting the corrected safe default.
The described path still required the user to approve creation of an automation in the first place. It did not automatically authorize every destructive action; shell permission and trust-mode settings had separate defaults and certain sensitive operations retained safety checks. The fault was the promotion of one initial approval into a continuing stream of actions without the expected fresh checks.
This is a distinct failure from CodeWhale’s executable search-command classifier even though the same fixed release addresses both. One occurs during a single request’s classification; the other occurs across scheduler persistence and later replay.
One-time approval to create a schedule does not authorize the eventual arguments of every future tool call. The ordinary task path defaulted to false, but the scheduler reintroduced true on resumption; validation must therefore include serialized state, not just an API method reviewed in isolation.
Mechanism and trust boundary
- 01
Initial user approves creation of a recurring task with an omitted auto_approve field.
- 02
Scheduler resolves the missing value to true and passes it to future task executions as approval bypass.
Timeline
- Nov 12, 2026Event type unspecified
Underlying evidence published or disclosed
- Nov 12, 2026disclosure
Public disclosure
Claims & evidence
CLM-2026-NOV20-CODEWHALE-SCHEDThe CodeWhale advisory traces omitted auto_approve through AutomationRecord into ApprovalMode::Bypass in recurring execution, with affected releases through 0.8.67 and a 0.9.0 fix.supported
Basis: reported finding
- supportsGitHub: CodeWhale recurring automation inherited unsafe auto approvalprimary disclosure
GHSA-8hp3-xxrg-v9c8, Root Cause, Exploit Scenario and Scope
CLM-2026-NOV20-CODEWHALE-SCHED-ENRICHCodeWhale automation_create could persist an omitted auto_approve setting as None, after which scheduled task replay resolved it to true and bypassed interactive review; the advisory still identifies safety restrictions on destructive and secret actions.supported
Basis: reported finding
- supportsGitHub: CodeWhale recurring automation inherited unsafe auto approvalprimary disclosure
GHSA-8hp3-xxrg-v9c8, AutomationRecord::task_auto_approve, enqueue_run_task and Scope
Implications
This is a distinct failure from CodeWhale’s executable search-command classifier even though the same fixed release addresses both. One occurs during a single request’s classification; the other occurs across scheduler persistence and later replay.
Controls and mitigations
- Use explicit false defaults through all scheduler layers and revalidate saved jobs and permissions at execution time.
- Upgrade to v0.9.0 or later, review persisted automation defaults, and bind future tool effects to current user approval and permissions.
Unknowns and contradictions
- No confirmed malicious deployment or successful theft from scheduled runs.
- Upgrade handling of already persisted unsafe job defaults is not established.
Sources and citation
Material revision history
- Nov 20, 2026 · Published version · first publication · revision 269