Skip to content

fix(controller): reject request-controlled runtime job commands#161

Open
OnlyTerp wants to merge 1 commit into
sybil-solutions:mainfrom
OnlyTerp:private/harden-runtime-command-boundary-wp005
Open

fix(controller): reject request-controlled runtime job commands#161
OnlyTerp wants to merge 1 commit into
sybil-solutions:mainfrom
OnlyTerp:private/harden-runtime-command-boundary-wp005

Conversation

@OnlyTerp

Copy link
Copy Markdown

WP-005 hardening: runtime job APIs no longer accept caller-controlled executable or argv fields.

Changes:

  • POST /runtime/jobs rejects payloads containing command or args with 400.
  • All runtime upgrade wrapper routes reject payloads containing command or args with 400.
  • Removed request-controlled command/args plumbing from engine-jobs, runtime-upgrade, and vllm-runtime.
  • Operator-configured env/default upgrade paths remain functional.
  • Recipe launch-command behavior is unchanged.

Verification:

  • cd controller && bun run typecheck: passed
  • cd controller && bun run lint: passed
  • Focused controller tests passed
  • Broader controller integration has one known unrelated observability fixture failure (host power readout non-zero)

- Reject command and args fields in POST /runtime/jobs and all runtime upgrade wrapper routes with 400.
- Remove request-controlled command/args plumbing from engine-jobs, runtime-upgrade, and vllm-runtime.
- Preserve operator-configured env/default upgrade paths.
- Recipe launch-command behavior is unchanged.
@OnlyTerp OnlyTerp requested a review from 0xSero as a code owner June 22, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant