Skip to content

macOS Agent, privacy-guard and performance verification — December 3, 2026 ​

中文 · Evidence index · Self-check guide

On this Mac, an already authenticated Codex CLI completed an allowed read, model call and workspace write through FinShield run with an explicit host-network wrapper policy. The same Agent, under that policy, read a read-only fixture, failed to overwrite or delete it, failed to read undeclared deny and synthetic-credential files, failed to write outside the workspace, and posted to an owned loopback receiver. The advertised finsafe codex privacy-guard entry did not complete a model request: Codex rejected the intercepting TLS certificate. A defined 1 MiB startup/file workload was measured on the same host.

This record reuses the personal-CLI component observations already reported in #110. Those CLI results are not a complete-Agent task. Hermes remained unauthenticated (Invalid refresh token / Nous Portal). Claude Code was not logged in. No token was requested or published.

Environment and artifacts ​

Tests ran on December 3, 2026, Asia/Shanghai, on macOS 26.6.1 (25G76), Darwin 25.6.0, arm64, Apple M5 (10 cores), 16 GiB memory. /usr/bin/sandbox-exec was present. This was a working laptop, not a dedicated benchmark host.

Artifact or entryRecorded condition
Public packagev0.11.85 finshield-0.11.85-macos-arm64.tar.zst; SHA-256 38fbe07955cea277e640db66c8f32b6e88212e2d37135fddf00b5f25ae21569a
Executablefinsafe 0.11.48; SHA-256 2f42e9f453e72058937e09ea8b334c712176b24f3d24568c725fe68012deb978; reused from v0.11.48, tier1-only
probe / doctorhost macos aarch64; 0 error, 0 warn, 2 info (bwrap_unavailable_on_host, wrapper compiler v2)
CodexNative CLI 0.152.0; codex login status reported Logged in using ChatGPT. The configured default gpt-6.2-sol was not available to that account. The supported-model control used gpt-5.6-luna for these invocations only
Hermes0.21.0; Nous Portal not logged in. Not used as a complete-Agent entry
FixturesDisposable workspace, read-only directory, denied directory, synthetic credential file at a custom location, owned loopback receiver on 127.0.0.1:18766

User configuration, global permissions and credentials were not changed. --dangerously-bypass-approvals-and-sandbox was used only so Codex would execute tools under the FinShield boundary rather than its own sandbox. That flag is Codex's documented mode for an externally sandboxed environment; it is not a FinShield setting.

Advertised finsafe codex privacy-guard entry ​

finsafe help advertises hermes|codex|pi|finclaw as launching the named agent with the privacy guard on and no policy file. A finsafe codex exec trial compiled template:mac-seatbelt with host_via_proxy, privacy_guard enabled, tls_terminate true and on_uninspectable deny. The internal proxy plan recorded network.allowlist: "*".

Codex started a thread, then failed TLS to ChatGPT:

text
invalid peer certificate: UnknownIssuer

The stream targeted wss://chatgpt.com/backend-api/codex/responses. After certificate failures it reported Reconnecting... waiting for network (Connection failed: error sending request). No workspace marker file was created. The local privacy-proxy log contained only pii_detector_readiness=tier1_only reason=detector_assets_not_installed.

This is a failed complete-Agent task on the advertised privacy-guard entry, not proof that file tools were blocked. A CA was not installed into the user trust store; that would have been a global trust change.

Complete-Agent file and host-network checks through run ​

A separate explicit wrapper YAML used network: host (no privacy_guard). finsafe --policy <yaml> run launched Codex exec. doctor reported Seatbelt as the local wrapper. fallback_used=false.

An ordinary baseline with gpt-5.6-luna returned FINSHIELD113-BASELINE. The earlier default-model failure (gpt-6.2-sol / model_not_in_accessible_catalog) is retained and is not a file-enforcement result.

OperationAgent tool observationIndependent host check
Read workspace test-source.py, write allowed-agent.txtShell read succeeded; file-change tool created the file; marker FINSHIELD113-R1-OK presentHost read the file; final line was FINSHIELD113-R1-OK
Read read-only fixturecat returned the synthetic markerOriginal bytes unchanged
Overwrite / delete read-only fixtureFile-change update failed; rm: … Operation not permittedOriginal SHA-256 unchanged; file present
Read undeclared denied fixturecat: … Operation not permittedFile present; original bytes unchanged
Read custom synthetic credential filecat: … Operation not permittedOriginal synthetic bytes unchanged
Write outside the workspaceFile-change add failedEscape file absent
POST to owned loopback receivercurl returned owned-receiver-okReceiver log stored FINSHIELD113-NET-OK

Writing Codex's --output-last-message path outside the writable workspace also failed with Operation not permitted. That is confinement of a side file, not a failed task.

self-confine -- /bin/echo probe printed probe after execing broker. A separate self-confine write to the outside path failed with Operation not permitted; the file was absent.

Network and PII on this host ​

Local pii detect matched synthetic 11010519491231002X as cn.resident_id. privacy verify --file on that sample returned protected=true, action=rewrite, sample_forwarded_unchanged=false, with readiness tier1_only / detector_assets_not_installed. The public example string 11010119900101123X produced no finding. These are local CLI/component checks.

Through the host-network Codex entry, a user message containing 11010519491231002X led the Agent to POST that original string to the owned receiver. Host-network run did not rewrite tool HTTP. Combined with the finsafe codex TLS failure above, real-Agent model-request inspection on this ChatGPT Codex path is a delivery limit, not a pass.

#110 already recorded host-mode loopback allow, optional Seatbelt port deny, network: none, and visual-sandbox allowlist as component checks. Those are not repeated as new complete-Agent results.

Records, resources and lifecycle ​

--audit on a denied cat reported No Seatbelt deny events detected in the kernel log while stderr showed Operation not permitted. explain on a captured envelope reported No classified sandbox denials found in the attestation. Enforcement was visible; classification did not match. This preserves the #110 gap.

A run of /bin/sleep 30 stopped after SIGTERM to the wrapper; /bin/sleep 30 remained running until cleaned up. #110 memory/pids/cpu non-enforcement and timeout-killed short tasks are retained; they were not re-inferred from Linux.

Device recording was not authorized.

Defined local performance workload ​

The workload started /bin/sh, ran shasum -a 256 on a fixed 1 MiB file (bytes 0–255 repeated 4,096 times) and wrote the checksum to an allowed output. Ordinary and protected run used the same script, input, host and binary. The parent measured wall time with Python perf_counter from process creation through exit. Each condition had one excluded warm-up, then ten measured repetitions in alternating ordinary/protected pairs. All 20 measured outputs matched the expected digest.

| Condition | Measured repetitions | Median | Minimum–maximum | | --- ---: | ---: | ---: | ---: | | Ordinary shasum | 10 | 0.016533 s | 0.015254–0.029675 s | | FinShield 0.11.48 run | 10 | 0.040028 s | 0.038390–0.045500 s |

These times apply to this startup-and-file workload on this Mac. They do not measure model latency, detector accuracy or token cost. They do not establish Linux or Windows performance.

Same-day follow-up: wrapper YAML suites and self-confine ​

Later on December 3, 2026, the same public v0.11.85 archive (finsafe 0.11.48) ran extra wrapper-YAML suites. They do not replace the authenticated Codex gpt-5.6-luna complete-Agent rows above.

OperationObserved resultIndependent check
Codex 0.152.0 --version under runVersion printedNot a model task
Claude Code 2.1.212 --version under runVersion printedNot logged in for oneshot
Hermes 0.21.0 --version via the bash wrapperFailed: Seatbelt denied libreadlineUse the Python interpreter under the Hermes install as the launch target
Hermes 0.21.0 --version via that Python interpreterVersion printedStill not a Nous login
Isolation YAML: workspace writeMarker file presentHost read the file
Isolation YAML: undeclared custom credentialDeniedSynthetic marker absent
Isolation YAML: write outside the workspaceDenied; file absentHost checked the path
network: nonecurl 6 or 7No fetched body
self-confine -- /bin/echo probePrinted probeBroker exec completed
self-confine read of ~/.ssh/id_rsaDenied (Operation not permitted / sandbox)No private key material in stdout
self-confine write outside the workspaceDenied; file absentHost checked the path
Hermes oneshot / workspace write (SC-3, SC-5)No markerNo access token found for Nous Portal login
Codex exec with --model gpt-4o or o4-miniNo markerChatGPT catalog: model_not_in_accessible_catalog (same class as gpt-6.2-sol). The complete-Agent record remains gpt-5.6-luna
Claude -p oneshotNo markerNot logged in · Please run /login

OpenCode and agy were not installed. No credential or home path is published.

Configuration activation ​

A later trial on the same host, archive and executable measured when a saved wrapper YAML change takes effect. The editing entry was the file passed to finsafe --policy. finsafe --help on 0.11.48 has no macOS apply/reload command; prepare is Windows-only. Fixtures were owned directories outside /tmp. fallback_used=false.

StepObservation
Writable target via runSource read, workspace write and target write completed (inner 0). Digest 61dff4ee17ce6421d329c583e278ca6172c136c7b6123a2dc5c88330121bd8e0
Save the same file, keep the old runChanging only the target path to read_only_paths did not stop the already running process from writing (inner 0)
New run of that fileDigest 77d0972cc8d143bf8a0ebf92f73ed8f44919ca219cdee08b7c942489efbfbfb5. Target read succeeded. Target write failed with Operation not permitted; original marker SHA-256 unchanged. Workspace write succeeded
Undeclared existing fixturecat failed with Operation not permitted when the path was omitted from the policy
Isolated invalid YAMLWrapper exit 2, YAML syntax error: did not find expected ',' or ']'. No child file. Relaunching the last valid policy recovered
self-confine separatelyWritable launch wrote the target (digest fd81937f…). A new read-only launch denied the write with Operation not permitted (digest 546599f1…) and still allowed the read
Codex 0.152.0 host-network runSame digest pair. Writable policy: Agent wrote FINSHIELD102-R1-OK and FINSHIELD102-TARGET-OK. New read-only launch: Agent cat succeeded; printf … > marker.txt exited 1 with Operation not permitted; workspace file FINSHIELD102-RO-WS-OK; host marker unchanged

Codex used its documented --dangerously-bypass-approvals-and-sandbox so tools executed under FinShield. That is not a FinShield setting. No OS/FinShield authorization prompt and no content-approval UI occurred on this host-network path. finsafe codex privacy-guard was not re-run. Hermes remained unauthenticated. Test children exited; leftover wrapper pid was none.

Canonical reader steps: configuration activation.

Evidence and cleanup ​

This page publishes sanitized outcomes, versions, method and limits. Raw envelopes, tool streams, timing samples and fixture hashes remain in the operator's local capture. Disposable marker files were removed after the final host-side checks. Test children were allowed to exit or stopped by their owning runner. Policies, credentials and global security settings were preserved.