Generated code is untrusted input by nature
Whether an agent wrote it or fetched it, code that hasn't been reviewed by a human carries the same risk as any other untrusted content.
By risk
Generated code and tool calls are inherently untrusted input. A sandbox is the control that still holds even when an injection attempt fully succeeds-because containment doesn't depend on the attack being detected first.
Why it matters
Whether an agent wrote it or fetched it, code that hasn't been reviewed by a human carries the same risk as any other untrusted content.
Detection can fail. Containment doesn't rely on catching the attack-it limits what a fully successful one can reach.
A sandbox that teams have to remember to turn on for each new workflow is a sandbox that eventually gets skipped.
What Lineation does
Untrusted code and tool calls run in a boundary separate from production systems and data by default.
Outbound network and file access are denied by default inside the sandbox, allow-listed explicitly where needed.
Time, memory, and spend are capped per execution, so no single run can consume unbounded resources.
Every call, output, and side effect inside the sandbox is logged for review before anything is promoted.
How it works
Generated code and tool calls are directed into the isolated environment automatically.
Network and filesystem access inside the sandbox follow a default-deny allow-list.
Time, memory, and spend limits bound what any single execution can consume.
Stdout, calls, and outputs are recorded for the audit trail as they happen.
Only actions that pass review or an allow-listed policy run outside the sandbox.
FAQ
Agent-generated code, tool calls triggered by content the agent read, and any action reachable from untrusted input should run inside the sandbox by default.
The environment is provisioned ahead of need and reused where safe, keeping added latency minimal relative to the model call itself.
Yes-sandboxing constrains what an execution can reach, not whether the agent can complete its task. Allow-listed data and endpoints remain available.
Agent sandboxing adds policy specific to agentic risk-default egress denial, per-execution spend caps, and full activity capture for the audit trail.
Network egress is denied by default inside the sandbox, so the attempt is blocked at the boundary and logged.
Yes-both route through the same isolated execution boundary before anything is promoted to run outside it.
Isolate untrusted execution before it needs to be caught by anything else.