#971 follow-up: in-process sandbox residual limits — memory exhaustion, never-ending loop, lazy sequence returned to host #1059

Open
opened 2026-12-03 12:28:30 -05:00 by dohertj2 · 0 comments
Owner

From executing the 2026-12-02 review remediation (security review round, merged on local master 2026-12-03).

Not covered by the allow-list/stack-guard work: memory exhaustion, an unbounded loop, and an iterator / unfinished LINQ query returned to the host and enumerated there. Only Scripting:Runner=OutOfProcess fully contains them. Decide: document as the boundary, or add host-side materialisation with a bound + memory accounting. Also: any type added to the allow-list later must be checked for recursive ToString/Equals/GetHashCode over script-built data (host OwnedDataSample.CopyLegacy / VirtualTagActor.SameValue recurse over returned nested object[]).

From executing the 2026-12-02 review remediation (security review round, merged on local master 2026-12-03). Not covered by the allow-list/stack-guard work: memory exhaustion, an unbounded loop, and an iterator / unfinished LINQ query returned to the host and enumerated there. Only `Scripting:Runner=OutOfProcess` fully contains them. Decide: document as the boundary, or add host-side materialisation with a bound + memory accounting. Also: any type added to the allow-list later must be checked for recursive ToString/Equals/GetHashCode over script-built data (host `OwnedDataSample.CopyLegacy` / `VirtualTagActor.SameValue` recurse over returned nested object[]).
dohertj2 added the type:debtpriority:p2 labels 2026-12-03 12:28:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#1059