Skip to content

Linux personal-CLI verification — December 3, 2026 ​

中文 · Evidence index · Self-check guide

Linux personal-CLI run was measured in privileged Docker Desktop on a Mac, not on a native Linux server with Landlock. Bind-mount file writes outside the workspace were denied. Reads of an undeclared directory and of a custom synthetic credential file succeeded. self-confine fail-closed because Landlock was only partially enforced. No authenticated Linux Agent CLI was present. A defined 1 MiB startup/file workload was measured on this guest. These numbers include linux/amd64 emulation on Apple Silicon and must not be quoted as native x86_64 overhead.

A Lima Ubuntu 24.04 aarch64 VM (finsafe-ll) was started to obtain a real kernel; its cloud image download did not finish in this session. Docker Desktop linuxkit therefore remains the executed Linux environment. It does not replace a Landlock-capable host for path-mode claims.

Environment and artifacts ​

Tests ran on December 3, 2026. The outer host was macOS 26.6.1 arm64. The guest was recorded at 10:00 UTC.

ItemRecord
RuntimeDocker Desktop 29.7.2, privileged, --cgroupns private, --security-opt seccomp=unconfined, --platform linux/amd64
GuestUbuntu 24.04.5 LTS, kernel 7.0.12-linuxkit, linux/amd64 userspace (emulated on Apple Silicon)
Public packagev0.11.85 finshield-0.11.85-linux-x64.tar.zst; SHA-256 496aa373a251e2114cccc268293e5b0c1990e9143967379f2311a41344d9f90e
Executablefinsafe 0.11.48 with finsafe-helper, finsafe-supervisor, finsafe-landlock-shim from the same archive
probe initialbubblewrap 0.9.0 ready; helper/supervisor present; cgroup_functional: false; landlock unavailable; seccomp_functional: false; overlay_functional: false; in_container: yes
doctor initial0 error, 3 warn (helper_overlay_probe_failed, helper_cgroup_probe_failed, landlock_unavailable)
After documented cgroup delegationcgroup_functional: true. Landlock and seccomp remained unavailable. No Landlock shim was planted to fake path mode
Profilelinux-desktop-isolated / backend bubblewrap; landlock fully_enforced: false

Initial defaults were recorded before cgroup delegation. Enabling +cpu +memory +pids on the delegated slice is a documented prerequisite, not an enforcement bypass. User configuration on the Mac was not changed.

No Linux Codex, Hermes, Claude, OpenCode or agy binary was installed in the guest. The Mac Codex 0.152.0 binary is Mach-O and cannot run there. Advertised finsafe codex in the guest fail-closed: landlock policy was only partially enforced.

File, network and process checks ​

Fixtures were a writable workspace, a declared read-only directory, an undeclared denied directory, a custom synthetic credential file and an owned loopback receiver on 127.0.0.1:18767. Host-side original contents were saved before execution.

OperationObserved run resultIndependent check
Workspace write/readCompleted; changedFile contained changed
Read-only readCompleted; returned FINSHIELD113-LRO-okCopy into the workspace matched the original
Read-only overwriteRead-only file system; inner 2Original bytes unchanged
Read-only deleteRead-only file systemFile present
Read undeclared denied fixtureRead succeeded (FINSHIELD113-LDENY-ok)Do not treat this as a deny pass
Write outside workspaceRead-only file system; inner 2Escape file absent
Read custom synthetic credentialRead succeeded (SYNTHETIC-NOT-A-REAL-KEY)Contrast: macOS Seatbelt denied the same kind of path
Host-network POST to owned receiverowned-receiver-okReceiver stored FINSHIELD113-LNET-OK
network: none to loopbackcurl 7No new receiver line
network: none to example.comcurl 6 (DNS)Not a destination-allowlist test
timeout_ms: 1500 with sleep 5termination_reason=timeout_killed timed_out=trueAfter cgroup delegation
self-confineExit fail-closed: landlock policy was only partially enforcedNo broker command ran
explain on a deny envelopeNo classified sandbox denials found in the attestationSame classification gap as other platforms

Landlock ABI reports included "fully_enforced":false. Bind-mount views blocked undeclared writes. They did not block undeclared reads on this kernel. That is a product/host limit, not a pass.

PII and Agent request path ​

Local pii detect matched 11010519491231002X as cn.resident_id. privacy verify --file returned protected=true, action=rewrite, sample_forwarded_unchanged=false, with tier1_only / detector_assets_not_installed. No Agent request path ran. Host-network run is not a PII recipe.

Defined local performance workload ​

The workload ran sha256sum on the same 1 MiB repeating-byte file and captured the digest. Ordinary and protected run used the same guest, archive and input. Timing used Python perf_counter around process creation through exit, one warm-up each, then ten alternating measured pairs. All measured digests matched.

ConditionMeasured repetitionsMedianMinimum–maximum
Ordinary sha256sum100.017904 s0.016214–0.019620 s
FinShield 0.11.48 run100.343637 s0.323298–0.375924 s

These times include Docker linux/amd64 on Apple Silicon. They measure only this workload. They do not establish native Linux server overhead, model latency or a cross-platform ranking.

Same-day follow-up on the public linux-x64 archive ​

Later on December 3, 2026, the same public v0.11.85 linux-x64 archive (finsafe 0.11.48) was re-run in privileged Docker Desktop on kernel 7.0.12-linuxkit, still --platform linux/amd64. These rows correct operational probes. They do not add Landlock to this guest.

OperationObserved resultIndependent check
Overlay helper on Docker overlay2Initial overlay_functional: noNested overlay on overlay2 failed
Overlay helper with TMPDIR on tmpfsoverlay_functional: yes; helper reported overlay mountedScratch directory was a tmpfs, not overlay2
Built-in deny-read of ~/.ssh/id_rsa when the file was missingPath omitted from the deny-read layerCreating the synthetic file first made the later deny check valid
Built-in deny-read of existing ~/.ssh/id_rsaRead denied (Permission denied)Synthetic marker absent from stdout
Undeclared custom credential inside the work directoryRead succeededThis path is inside the declared work tree; it is not an outside-workspace deny
SIGTERM to the run wrapper with network: hostChild remained runningMatches --die-with-parent not being forced on host network
SIGTERM to the run wrapper with network: noneWrapper and child both exitednetwork: none uses --unshare-net and --die-with-parent
self-confine / Landlock / seccomp_functionalStill fail-closed or probe noMounting securityfs did not make the amd64 public binary report Landlock

apt-get and the Claude Linux installer hung under qemu-user on this amd64 guest and were stopped. That is not an Agent pass or fail.

Same-day follow-up on native aarch64 Docker (separate binary) ​

The public linux-x64 package is x86_64. On the same linuxkit kernel, a native aarch64 privileged container (finsafe-unix-linux-test:dev, Ubuntu 24.04, seccomp=unconfined, cgroupns=private) was used next. After mount -t securityfs securityfs /sys/kernel/security, /sys/kernel/security/lsm included landlock. landlock_create_ruleset with LANDLOCK_CREATE_RULESET_VERSION returned ABI 8.

The CLI in this container was the unix-workspace debug binary finsafe 0.9.105, plus matching helper, supervisor and landlock-shim. It is not the public 0.11.48 linux-x64 archive. Do not copy these Landlock rows onto the public x64 package.

OperationObserved resultIndependent check
probelandlock: yes (ABI v8); overlay_functional: yes; cgroup_functional: yes; seccomp_functional: noOverlay used tmpfs scratch; cgroup slice was delegated
Workspace write; outside-workspace writeWrite allowed; outside write deniedMarker file present / absent
Built-in ~/.ssh/id_rsa deny-readDeniedSynthetic marker absent
Undeclared custom credential inside the work directoryRead succeededFixture error: the file lived under the work dir
Undeclared custom credential outside the work directoryRead denied; landlock shim fully_enforced: trueSynthetic marker absent
network: nonecurl 6 or 7No fetched body
self-confine -- /bin/echo probePrinted probeBroker exec completed
self-confine read of ~/.ssh/id_rsaDeniedSynthetic marker absent
self-confine write outside the workspaceDenied; file absentHost checked the path
Codex CLI --version under runPrinted codex-cli 0.173.0Guest npm install; not the Mac binary
Claude Code --version under runPrinted 2.1.335 (Claude Code)Guest installer; not complete-Agent
Hermes CLINot launchedUpstream has no v0.21.0 tag; guest lacked python3-venv
Codex / Claude / Hermes oneshot LLMNo markerGuest had no Agent login. Claude also hit EROFS on /tmp until /tmp was writable in policy

seccomp_functional stayed no on linuxkit even with ABI 8 Landlock. This container is still Docker Desktop, not a native Linux server.

Configuration activation ​

A later trial on the public 0.11.48 linux-x64 guest, archive and executable measured when a saved wrapper YAML change takes effect. The editing entry was the file passed to finsafe --policy. prepare is Windows-only. Helpers finsafe-helper, finsafe-supervisor and finsafe-landlock-shim were kept beside the binary. After documented cgroup delegation, cgroup_functional was true. Landlock stayed unavailable. fully_enforced stayed false. fallback_used=false. This activation sequence used no Agent CLI.

StepObservation
Writable target via runSource read, workspace write and target write completed (inner 0). Digest c905699d83f545078147652c7b8e4b4a7e028d391b25ee054e57d5b5f7031478. Profile linux-desktop-isolated
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 703495d0cc95240016df171f488bd9f87392daed8f57e3a90791b34d227deb6e. Target read succeeded. Target write failed with Read-only file system (inner 2); original marker SHA-256 unchanged. Workspace write succeeded
Undeclared existing fixtureRead succeeded (FINSHIELD102-DENY-ok, inner 0). Do not treat this as a deny-read pass
Isolated invalid YAMLWrapper exit 2, YAML syntax error: did not find expected ',' or ']'. No child file. Relaunching the last valid policy recovered
self-confineEach launch fail-closed: wrapper exit 3, landlock policy was only partially enforced. No broker command ran

Canonical reader steps: configuration activation. On this public x64 guest, Landlock/seccomp stayed unavailable and self-confine fail-closed. Native aarch64 0.9.105 Landlock ABI 8 is recorded separately and is not this package.

Evidence and cleanup ​

Sanitized classifications, errors and method are public here. Raw guest logs remain local. Follow-up containers used docker run --rm. No credential, home path or private tracker link is published. The public linux-x64 archive still has no Landlock on amd64 linuxkit. Native aarch64 Landlock rows apply only to the named 0.9.105 unix CLI. Complete Linux Agent LLM tasks remain unexecuted.