docs(security): record strict TCP refusal at 70d916d
This commit is contained in:
1 parent
70d916d698
commit
0946220f76
3 files changed
+13
-11
No files matched your search
@@ -1,6 +1,6 @@
|
||||
== adversarial helper matrix ==
|
||||
Compiling marqdo-sandbox v0.1.0 (/home/dev/marqdo-current/crates/marqdo-sandbox)
|
||||
Finished `test` profile [unoptimized + debuginfo] target(s) in 4.97s
|
||||
Finished `test` profile [unoptimized + debuginfo] target(s) in 3.17s
|
||||
Running tests/security_linux.rs (target/debug/build/marqdo-sandbox/73fdd38fdea71ea2/out/security_linux-73fdd38fdea71ea2)
|
||||
|
||||
running 7 tests
|
||||
@@ -12,7 +12,7 @@ test strict_child_identity_is_unprivileged_and_namespaced ... ok
|
||||
test strict_supervisor_enforces_fd_and_process_limits ... ok
|
||||
test strict_supervisor_enforces_memory_cpu_and_output_limits ... ok
|
||||
|
||||
test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.52s
|
||||
test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.66s
|
||||
|
||||
== build CLI ==
|
||||
Compiling marqdo-span v0.1.0 (/home/dev/marqdo-current/crates/marqdo-span)
|
||||
@@ -29,7 +29,7 @@ test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; fini
|
||||
Compiling marqdo-frontend v0.1.0 (/home/dev/marqdo-current/crates/marqdo-frontend)
|
||||
Compiling marqdo-runtime v0.1.0 (/home/dev/marqdo-current/crates/marqdo-runtime)
|
||||
Compiling marqdo-cli v0.1.0 (/home/dev/marqdo-current/crates/cli)
|
||||
Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.14s
|
||||
Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.80s
|
||||
strict mechanism: bubblewrap 0.11.1 (user/mount/PID/net/UTS/IPC namespaces + no-new-privs + rlimits)
|
||||
== positive CLI contract ==
|
||||
== strict language resources are console-only ==
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Date: 2026-11-20 (Asia/Shanghai)
|
||||
Repository: `marqdo-cli`
|
||||
Source under test: `git archive b241d1d` (current HEAD)
|
||||
Source under test: `git archive 70d916d` (current HEAD)
|
||||
Related: [ADR-0021](../adr/0021-linux-strict-isolation.md),
|
||||
[ADR-0030](../adr/0030-print-compat-b-routing.md),
|
||||
[ADR-0034](../adr/0034-tcp-resource-endpoint.md),
|
||||
@@ -35,9 +35,11 @@ capability escalation, fd/process limits, and memory/CPU/output limits.
|
||||
The positive CLI contract runs `hello` (Compat-C `打印` through the bundled
|
||||
stdlib), `factorial --mode strict`, multi-module, and `--json`.
|
||||
|
||||
The new strict-resource check runs a `.mq.md` program that calls
|
||||
`resource.open("file", "README.md", ["read"])` under `--mode strict`; the run
|
||||
must be non-zero and the diagnostic must contain `permission.denied`. The
|
||||
The strict-resource checks run `.mq.md` programs that call
|
||||
`resource.open("file", "README.md", ["read"])` and
|
||||
`resource.open("tcp", "127.0.0.1:9", ["read","write"])` under `--mode strict`;
|
||||
each run must be non-zero and the diagnostic must contain `permission.denied`.
|
||||
The `--allow-net` flag is also rejected at the strict boundary. The
|
||||
bundled stdlib is bind-mounted read-only at `/run/marqdo-stdlib` and its digest
|
||||
is still verified in the child; this grants no new OS capability.
|
||||
|
||||
@@ -62,7 +64,7 @@ Actions security URL and not Windows/macOS evidence.
|
||||
|
||||
## Limits
|
||||
|
||||
* No remote CI URL for `b241d1d`; G-C remains VM-verified, not CI-signed.
|
||||
* No remote CI URL for `70d916d`; G-C remains VM-verified, not CI-signed.
|
||||
* Windows/macOS strict behavior is not exercised here.
|
||||
* Strict L2 (Worker/Foreign/native plugin under real isolation) is still not
|
||||
implemented; L1 refuses those surfaces.
|
||||
|
||||
Reference in new issue
Block a user