Skip to content

CXronjob : reject non-string script/action without crashing - #79559

Closed
aydnOktay wants to merge 1 commit into
NousResearch:mainfrom
aydnOktay:fix/cron-script-nonstrings-path
Closed

CXronjob : reject non-string script/action without crashing#79559
aydnOktay wants to merge 1 commit into
NousResearch:mainfrom
aydnOktay:fix/cron-script-nonstrings-path

Conversation

@aydnOktay

Copy link
Copy Markdown
Contributor

Summary

  • _validate_cron_script_path called .strip() on raw script at the API security boundary.
  • Int/list fillers raise AttributeError mid-tool instead of a clean rejection.
  • Require a real string for script paths (null/blank still clear the field).
  • Same guard for action before dispatch — non-string action no longer crashes on .strip().

_validate_cron_script_path called .strip() on raw script at the security
boundary; int/list fillers AttributeError mid-tool. Require a real string
for script paths, and the same for action before dispatch.

Co-authored-by: Cursor <cursoragent@cursor.com>
@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/cron Cron scheduler and job management labels Aug 5, 2026
@aydnOktay

Copy link
Copy Markdown
Contributor Author

Closing to concentrate review on a single linked product bug: #89979.

@aydnOktay aydnOktay closed this Aug 19, 2026
@aydnOktay

Copy link
Copy Markdown
Contributor Author

Closing to concentrate review on a single linked product bug: #89979.

1 similar comment
@aydnOktay

Copy link
Copy Markdown
Contributor Author

Closing to concentrate review on a single linked product bug: #89979.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cron Cron scheduler and job management P3 Low — cosmetic, nice to have type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants