Files
marqdo-cli/docs/evidence/2026-11-21-strict-gc-512b9f5.md
T
cflmy beb68a911c
ci/woodpecker/push/woodpecker Pipeline was successful
CI / fmt + clippy + test (Linux x86_64) (push) Canceled after 0s
CI / schema instance validation + consumers (push) Canceled after 0s
CI / runtime contract (macos-latest) (push) Canceled after 0s
CI / runtime contract (windows-latest) (push) Canceled after 0s
CI / release evidence manifest (push) Canceled after 0s
CI / release candidate artifact (macos-latest) (push) Canceled after 0s
CI / release candidate artifact (ubuntu-latest) (push) Canceled after 0s
Linux strict security lane (G-C) / strict isolation escape matrix (push) Canceled after 0s
docs(status): update G-C evidence to the hardened lane SHA
Record the 512b9f5 local disposable-VM run (7/7 plus strict JSON and inert
@knowledge, evidence.json/archive/log digests) and Woodpecker pipeline #16.
The lane now fails if strict-evidence.json cannot be written, so the green run
also proves the evidence path. Fix the cross-platform JSON smoke to tolerate
the expected non-zero strict refusal exit before parsing.

Tested code SHA: 512b9f5. Release decision remains DO_NOT_RELEASE for the
missing remote Windows/macOS native PASS, remote G3 artifact and MEASURED G4.
2026-11-21 17:46:16 +08:00

3.3 KiB

G-C strict-isolation evidence — 512b9f5

Status: local disposable-VM PASS; remote G3 UNVERIFIED. Date: 2026-11-21. Workspace 0.1.0. Tested SHA: 512b9f5f1da6c56959ebb801d31a1887b1c341c3.

This is evidence for the RFC-CI-0001 CI/security series at the commit that also contains the SHA-bound evidence tooling. It is not a remote CI PASS and not a performance baseline.

Source binding

tested_sha             512b9f5f1da6c56959ebb801d31a1887b1c341c3
source archive         sha256:f7c975b884fae6c79fb091324a85f8bcddf5b50ffa9082d7f97eb51823254104
strict-evidence.json   sha256:d8973396db8882ed7abeec89aa4be695acbdfebef3a3bdfd99d0ad5621486cfa
lane log               sha256:e9418f3b209a08524e2e5601dc14c28d46b4337cb42724c8e4f470c92d2dfa82
base image             sha256:7b90593f5532b49b7e3fe3d2743f0d1f0d822e5b07cebcd8e00c0df8069ecab9

The guest verified the transferred archive digest before extraction. The strict-evidence.json source_archive_sha256_matches field is true.

Environment

guest OS        Ubuntu 26.04.1 LTS, kernel 7.0.0-43-generic x86_64
virtualization  QEMU/TCG (no KVM), systemd-detect-virt --container -> none
user            dev, uid 1000, root=false
cgroup2         rw,nsdelegate,memory_recursiveprot,memory_hugetlb_accounting
bubblewrap      0.11.1 (packaged AppArmor bwrap-userns-restrict profile)
rustc           1.100.0 (0ef1bc386 2026-11-09)
cargo           1.100.0 (3acc79c0c 2026-11-05)
python          3.14.4
cc              Ubuntu 15.2.0-16ubuntu1

The lane runs as dev; a root or container PASS is not accepted. The VM is disposable and was reused only as a build cache; the source and overlay are created for the tested SHA.

Result

cargo test -p marqdo-sandbox --test security_linux --locked -- --test-threads=1
  test result: ok. 7 passed; 0 failed; 0 ignored
./tests/security/run-lane.sh
  G-C security lane: PASS

The seven adversarial cases:

  1. strict_child_identity_is_unprivileged_and_namespaced
  2. strict_child_cannot_read_host_files_but_reads_the_project
  3. strict_child_cannot_write_outside_or_into_the_project
  4. strict_child_cannot_escape_via_proc_or_privileges
  5. strict_child_cannot_reach_the_network
  6. strict_supervisor_enforces_fd_and_process_limits
  7. strict_supervisor_enforces_memory_cpu_and_output_limits

Additional contracts executed by the lane:

  • strict positive CLI: run, call, multi-module, and --json (success: true);
  • strict L1 resource boundary: a project file resource and a tcp resource are refused with permission.denied;
  • every external-execution flag (--allow-foreign, read/write/net, native/worker plugin, kernel, trace file) exits 2;
  • an @knowledge payload containing resource.open produces no host side effect under strict;
  • a forged MARQDO_STRICT_ACTIVE=1 is refused in text mode (exit 1) and in --json mode produces exactly one document with code: strict.identity_invalid (ADR-0053).

Limits

  • No remote self-hosted security-lane URL exists for this SHA; the result is local-VM evidence only. A release needs the remote job artifact whose tested_sha equals the release SHA.
  • QEMU/TCG timing is not a performance result. The G4 baseline remains UNVERIFIED; see ../performance.md.
  • The follow-up evidence/status commit changes documentation only; the tested code is this SHA.