[GH-ISSUE #5351] [Issue]: Preserve Claude Subscription text-only isolation #2960

Closed
opened 2026-10-21 05:58:21 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Aug 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5351

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Claude Subscription custom generation parameters are merged directly into Claude Agent SDK options after Marinara configures the provider as a text-only surface. Some SDK-owned execution and process options can therefore replace Marinara security controls.

Expected behavior

Custom Parameters may tune model generation, while the provider-owned tool, process, filesystem, environment, and session isolation settings remain fixed.

Actual behavior

The provider currently protects only its resume-related options after the custom merge. Other execution-capable SDK options can reach the local Claude Code subprocess.

Steps to reproduce

  1. Create a Claude Subscription connection.
  2. Supply execution-related Agent SDK keys through Custom Parameters.
  3. Capture the options passed to the SDK query seam.
  4. Observe that the supplied values replace the text-only defaults.

Environment

  • Marinara Engine version: staging at 280306678
  • Install type: source
  • OS + version: macOS
  • Browser or app shell: server provider regression seam

Logs, screenshots, or video

The provider-level SDK capture demonstrates the override without launching a subprocess.

Additional context

Found during an authorized RCE/security sweep. The fix should fail closed for execution-capable SDK options while retaining generation-only Custom Parameters and all intentional local-first features.

Implementation owner: @SpicyMarinara

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Aug 21, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5351 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Claude Subscription custom generation parameters are merged directly into Claude Agent SDK options after Marinara configures the provider as a text-only surface. Some SDK-owned execution and process options can therefore replace Marinara security controls. ## Expected behavior Custom Parameters may tune model generation, while the provider-owned tool, process, filesystem, environment, and session isolation settings remain fixed. ## Actual behavior The provider currently protects only its resume-related options after the custom merge. Other execution-capable SDK options can reach the local Claude Code subprocess. ## Steps to reproduce 1. Create a Claude Subscription connection. 2. Supply execution-related Agent SDK keys through Custom Parameters. 3. Capture the options passed to the SDK query seam. 4. Observe that the supplied values replace the text-only defaults. ## Environment - Marinara Engine version: staging at 280306678 - Install type: source - OS + version: macOS - Browser or app shell: server provider regression seam ## Logs, screenshots, or video The provider-level SDK capture demonstrates the override without launching a subprocess. ## Additional context Found during an authorized RCE/security sweep. The fix should fail closed for execution-capable SDK options while retaining generation-only Custom Parameters and all intentional local-first features. Implementation owner: @SpicyMarinara ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:58:21 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2960
No description provided.