Skip to content

AppContainer child-process experiment record ​

中文 · Return to the article

This companion record preserves the environment, complete results, source references and collection scope for native AC, MXC and FinShield child-process experiments. Findings concern the versions and configurations below and support the technical article.

Results at a glance ​

Cases completing their expected flowOrdinaryNative AC controlMXC 1.0.1FinShield 0.11.72
Python/Node.js mechanisms29/290/2912/2929/29
Real Agent execution entries6/60/61/66/6

These counts describe completion of the expected functional flow. Entry initialization failures count as incomplete flows and do not establish that the intended child-process API ran. Identity observations in all 35 final FinShield cases matched the expected AC boundary. The two asyncio mechanism cases and two AgentScope entries used default execution code without an IPv6 substitution.

Tests invoke actual release code without a model. MCP uses synthetic local services and does not include tool calls. DSH Host extracts the shipped DesktopHostProcess declaration and runs the real packaged Host, with its parent harness also inside the tested boundary. Complete desktop UI, presentation delivery and all resource boundaries were not evaluated here.

Environment and comparison conditions ​

Native AC and MXC results were collected on November 28; the final FinShield campaign completed on November 29. The public repository's experiment directory contains the scripts and collectors.

ItemVersion or configuration
OSWindows 11 23H2 x64, 22631.6199
Python mechanisms / AgentScopeCPython 3.12.10; AgentScope 2.0.12
Hermesv0.23.5 installed from its release lock; CPython 3.14.7
Node mechanisms / DSH shellNode.js 24.22.1, libuv 1.52.1; DSH 0.2.2-rc.5
DSH Desktop0.2.2-rc.5; Electron 44.7.0 / Node 24.21.0
OpenCodeWindows release executable 1.19.6, using its shipped runtime
MXC controlSDK 1.0.1, appcontainer-dacl
Final FinShield campaignPublic 0.11.72 CLI/runtime, existing shared identity, network host

Native zero-capability directory grants, MXC policy preparation and FinShield's existing shared authorization are not equivalent security policies. Directory layouts and some dependency installations also differ. Cross-product tables show observed functional results and do not establish equivalent security policies. Code and evidence-script hashes stayed unchanged during the final campaign.

Six execution paths and their public sources ​

Product and entryExecution chainPublic source reference
AgentScope local commandLocalBackend.exec_shell → asyncio child → outputCommand backend
AgentScope local MCPMCP client → stdio service → protocolMCP client
Hermes long-lived process_spawn_long_lived → byte stdio → requests and EOFLong-lived process
DSH Desktop HostElectron Node mode → Host → stdio and IPCHost lifecycle
DSH PowerShellPwshLocalExecutor → subprocess service → PowerShell → toolPowerShell provider
OpenCode local MCPMCP client → stdio transport → servicestdio transport

Complete comparison of all 29 mechanism cases ​

An entry failure means the process exited during drive-metadata lookup before its intended API ran. Failure and timeout are not passes. Negative cases, such as missing executables and expected nonzero exits, pass when the expected error is observed.

CaseOrdinaryNative AC controlMXC 1.0.1FinShield 0.11.72
Python Popen, separate stdout/stderrpassfailpasspass
Python Popen, merged stderrpassfailpasspass
Python Popen, inherited stdiopassfailpasspass
Python Popen, ignored stdiopassfailpasspass
Python asyncio, direct executionpasstimeouttimeoutpass
Python asyncio, Shell executionpasstimeouttimeoutpass
Python bidirectional stdio and EOFpassfailpasspass
Python repeated outputpassfailpasspass
Python 256 KiB outputpassfailpasspass
Python multiprocessing spawnpassfailfailpass
Python → cmd → toolpassfailfailpass
Python → PowerShell → toolpassfailpasspass
Python → Nodepassfailfailpass
Python missing executablepassfailpasspass
Python expected nonzero exitpassfailpasspass
Python bounded timeoutpassfailpasspass
Python cancel direct childpassfailpasspass
Node spawn, pipepassentry failureentry failurepass
Node spawn, inheritpassentry failureentry failurepass
Node spawn, ignorepassentry failureentry failurepass
Node execpassentry failureentry failurepass
Node execFilepassentry failureentry failurepass
Node fork, IPC roundtrippassentry failureentry failurepass
Node bidirectional stdio and EOFpassentry failureentry failurepass
Node repeated outputpassentry failureentry failurepass
Node 256 KiB outputpassentry failureentry failurepass
Node → Pythonpassentry failureentry failurepass
Node missing executablepassentry failureentry failurepass
Node expected nonzero exitpassentry failureentry failurepass

Repeated-output checks establish content completeness, not arrival latency; 256 KiB output is not a throughput benchmark. Timeout and cancellation checks target a direct child and do not establish arbitrary descendant-tree cleanup.

Complete comparison of all six real execution entries ​

Actual execution entryOrdinaryNative AC controlMXC 1.0.1FinShield 0.11.72
AgentScope commandpasstimeout before methodtimeout before methodpass
AgentScope local MCPpasstimeout before methodtimeout before methodpass
Hermes long-lived processpassinitialization timeoutpasspass
DSH Desktop HostpassNUL initialization failuredrive-metadata failurepass
DSH PowerShellpassdrive-metadata failuredrive-metadata failurepass
OpenCode local MCPpassdrive-metadata failuredrive-metadata failurepass

MCP results cover connection/initialization, discovery and applicable close behavior, without tool calls. Observing any-Job membership does not establish a particular Job's limits.

Collection, partial authorization updates and coverage limits ​

python_probe.py and node_probe.mjs cover APIs, communication, nested execution and errors. python_channels.py, node_channels.mjs and asyncio_bootstrap.py separate initialization problems. agent_python.py, agent_dsh.mjs and agent_dsh_host.cjs invoke actual released implementations. Collectors retain commands, versions, source hashes, output and exit/timeout status, and inspect process tokens. Missing results, abnormal exits and unknown identities cannot count as passes.

The campaign also checked a partial authorization update. After changing only network configuration, the official check returned filesystem: same, network: different; after reauthorization, both returned same. Filesystem digests, authorization receipts, propagation progress and compatibility records stayed unchanged. The network digest changed and the identity stayed fixed, supporting reuse of filesystem authorization in this transition.

Network content inspection, complete model tasks and presentation rendering, and full resource/descendant-lifecycle acceptance are outside these conclusions. Raw logs contain local paths and transient service tokens and are not published as a download. Public reproduction code is not a copy of all author-side raw evidence.