ci/woodpecker/push/woodpecker Pipeline was successful
Linux strict security lane (G-C) / strict isolation escape matrix (push) Canceled after 0s
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
GitHub run 30 on 5fcc111 is green for Linux, windows-latest and macos-latest
(the native failures were Windows PATHEXT/temp/rooted-path issues, macOS test
temp canonicalization and a Windows 1 MiB main-thread overflow). Woodpecker
#25 is green on the same SHA, and the disposable-VM G3 lane PASSes 7/7 plus the
strict JSON/inert-@knowledge contracts.
The release decision stays DO_NOT_RELEASE, now only for the remote G3 artifact
with matching tested_sha and the MEASURED G4 report; the native platform block
is closed. Document that the adversarial suite is G3-opt-in so ordinary
cargo test --workspace cannot turn a hosted namespace-capable host into a G0
failure.
85 lines
3.4 KiB
Markdown
85 lines
3.4 KiB
Markdown
# G-C strict-isolation evidence — `5fcc111`
|
|
|
|
Status: **local disposable-VM PASS; remote G3 UNVERIFIED.**
|
|
Date: 2026-11-21. Workspace `0.1.0`. Tested SHA:
|
|
`5fcc111a304211dfbb3a4c85d72e0b3f4a2318be`.
|
|
|
|
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
|
|
|
|
```text
|
|
tested_sha 5fcc111a304211dfbb3a4c85d72e0b3f4a2318be
|
|
source archive sha256:e13af3bbf65c576e57fde46ecf201925ad53fb70bf292b321baa96f154264fd2
|
|
strict-evidence.json sha256:38be28aa556b04214c4b3bd3cb26e2ad00ad49c1c3a579fc9e7059784ef5c5d0
|
|
lane log sha256:4f29201ab71b520ae3e0ea599bbff93a89cac8157fbdfc7037fac290477f83b7
|
|
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
|
|
|
|
```text
|
|
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
|
|
|
|
```text
|
|
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`](../performance.md).
|
|
* The follow-up evidence/status commit changes documentation only; the tested
|
|
code is this SHA. GitHub run 30 and Woodpecker pipeline #25 are green on this
|
|
same code SHA (before the docs-only follow-up).
|