-
Notifications
You must be signed in to change notification settings - Fork 380
Closed
Labels
state:agent-readyApproved for agent implementationApproved for agent implementationstate:pr-openedPR has been opened for this issuePR has been opened for this issuetopic:securitySecurity issuesSecurity issues
Milestone
Description
Summary
CreateSandbox and the inference route create/update handlers accept the full request body without enforcing any maximum size or length on spec fields, provider lists, policy blob, or route strings. A client could send very large payloads and stress the store, memory, or serialization path, contributing to DoS or resource exhaustion.
Source Code
crates/navigator-server/src/grpc.rs:create_sandbox(lines 62-151) takesCreateSandboxRequest, extracts the spec, validates that spec and policy exist and that provider names exist in the store, but does not check length or size.crates/navigator-server/src/inference.rs: the create/update route handlers validate route spec fields for non-empty trimmed strings invalidate_route_specbut do not impose maximum lengths onrouting_hint,base_url,api_key,model_id, or on the overall message size.
Originally by @drew on 2026-02-19T08:59:31.580-08:00
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
state:agent-readyApproved for agent implementationApproved for agent implementationstate:pr-openedPR has been opened for this issuePR has been opened for this issuetopic:securitySecurity issuesSecurity issues