Join our community: https://t.me/+DOylgFv1jyJlNzM0
Why this matters
backend/src/config/sandbox.ts reads sandbox-related environment variables to decide default behavior. If SANDBOX_MODE (or similar) is set to an unexpected string like "TRUE" or "yes" instead of the expected value, silent truthy/falsy coercion could enable or disable sandbox mode unintentionally in production, which is a meaningful safety toggle given sandboxMiddleware trusts it.
Acceptance criteria
Files to touch
backend/src/config/sandbox.ts
Out of scope
- Changing sandbox middleware request-time behavior (tracked separately)
- Adding new sandbox modes
Why this matters
backend/src/config/sandbox.tsreads sandbox-related environment variables to decide default behavior. IfSANDBOX_MODE(or similar) is set to an unexpected string like"TRUE"or"yes"instead of the expected value, silent truthy/falsy coercion could enable or disable sandbox mode unintentionally in production, which is a meaningful safety toggle givensandboxMiddlewaretrusts it.Acceptance criteria
Files to touch
backend/src/config/sandbox.tsOut of scope