Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/sovereign-intelligence/patches/fe97083b21dd8b5f # sovereign-intelligence Front door to Drake Stapleton's sovereign stack. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers ## DRA-170: candidate verification gates for main `27ee8a4`: 37 gates, 26 PASS, 0 FAIL, 2 INCONCLUSIVE, 9 NOT_RUN (host only; GPU NOT_RUN) merged `fe97083b21dd8b5f` #79 · opened 2026-11-06 21:23 UTC · closed 2026-11-06 22:18 UTC · merged 2026-11-06 22:18 UTC Imported from GitHub aien-dev/sovereign-intelligence#79, by drakestapleton Base `27ee8a4ee29b11d268fc675180b499b4a90a9e28` · Head `c733cfd6a646f083c9751991b04f31f8d61c8c2e` Merged on GitHub as `ab2b8e3a8082295dcda87ae414761e64695df11f`; not reachable from main `e659ab3defe05c03ac1dd6cb39f8aa4626b905b1` (observed 2026-11-18T16:38:47Z) drakestapleton wrote on 2026-11-06 21:23 UTC DRA-170: candidate verification gates for main `27ee8a4` (host PASS, GPU NOT_RUN) Issue: DRA-170, "Accept integrated truthfulness, security and installer failure behavior". Replacement owner: SiReleaseCoord2/Hardening170. Head: `c733cfd6a646f083c9751991b04f31f8d61c8c2e` (branch feat/dra-170-gates-evidence, on main `27ee8a4ee29b11d268fc675180b499b4a90a9e28`). The candidate is main `27ee8a4`, which is still current main. Files: `tests/gates/candidate_verification.sh` and `evidence/dra-170/**` only. ## What this adds `tests/gates/candidate_verification.sh` runs in four phases, set with PHASE: - offline: every non-GPU gate on main. The workflow steps run verbatim from the candidate's YAML: verify, index, installer-verify-path, workflow-yaml, learn and rig-check. Then build.sh, report.sh, run.sh, token.sh, lend.sh and failure-paths. - network: the RC-2 inventory gate and `tests/verify_dra169_build_audit.sh`, both in a full clone. - security: the live repository security settings. - json: writes `gates_run.json`. Each row records the gate, command, exact head, rc, last line and a negative control. A row is PASS only when the gate exits 0 and its negative control exits non-zero. When a control asserts its exact failure lines (CONTROL-ASSERT) or has a meta-control, both must hold; otherwise the row is FAIL. The tree under test is always `git archive` of the candidate commit. Each row also records two values measured at run time: - CPU affinity: `Cpus_allowed_list` from `/proc/self/status`. - Sandbox: `bwrap` when PID 1 of the row's pid namespace is bwrap, with `without network` when `/proc/net/dev` lists only `lo`; `no bwrap` otherwise. Where `/proc` is absent the row says `unmeasured`. The `scope` field in `gates_run.json` is built from these values; nothing about the host is written into the script. New gates on main since the first run: - rig-check, 3 steps, each with a negative control. - `tests/verify_dra169_build_audit.sh` (DRA-169 audit). - e2e-nightly, recorded as NOT_RUN. ## Before: main `2b90bdf82cde11ced998e9463db77487ad041dfc` (#19), in `evidence/dra-170/` gates=32 PASS=16 FAIL=6 INCONCLUSIVE=2 NOT_RUN=8. FAIL. Command rc Last line token.sh 1 `AIENOS-TOKEN-TESTS pass=23 fail=7 notrun=0` lend.sh 1 `pass=1 fail=2 notrun=12` report.sh 1 `REPORT-TESTS pass=14 fail=1` run.sh 1 `AIENOS-TESTS pass=36 fail=3` failure-paths 1 `SUMMARY pass=6 fail=5 not_run=0` failure-paths, omc unavailable 0 `SUMMARY pass=0 fail=0 not_run=11` The last row reports a gate it could not run as success, which acceptance 3 forbids, so it is FAIL. The root cause is in `findings.txt`: wizard Enter-count drift, the doc's `model:`/`models:` drift, the rollback-clean gvfs parents, and the all-NOT_RUN exit 0. ## After: main `27ee8a4ee29b11d268fc675180b499b4a90a9e28`, in `evidence/dra-170/main-27ee8a4/` This is main after SI#78 (merge commit `2554682006aef0a6926841c5db217c02dd4a02ce`) and #57, #62 and #77. gates=37 PASS=26 FAIL=0 INCONCLUSIVE=2 NOT_RUN=9. Gate command rc=0 in every phase. `evidence/dra-170/main-2554682/` holds the earlier run on `2554682`, with gates=32 PASS=22 FAIL=0 INCONCLUSIVE=2 NOT_RUN=8. That run predates the affinity measurement. Command rc Last line Negative control (tampered input) token.sh 0 `AIENOS-TOKEN-TESTS pass=30 fail=0 notrun=0` pass=5 fail=25 lend.sh 0 `AIENOS-LEND-TESTS pass=3 fail=0 notrun=12` pass=0 fail=3 report.sh 0 `REPORT-TESTS pass=15 fail=0` pass=6 fail=9 run.sh 0 `AIENOS-TESTS pass=39 fail=0` pass=33 fail=6 failure-paths 0 `SUMMARY pass=11 fail=0 not_run=0` pass=10 fail=1 failure-paths, omc unavailable 3 `SUMMARY pass=0 fail=0 not_run=11` — rig-check: workflow trigger guard 0 `RIG TEST PASS negative-controls=27` a bad pull_request fixture copied into .github/workflows; rc=1 `RIG TEST FAIL` rig-check: E2E harness FAKE arms 0 `E2E HOST TEST PASS (FAKE only; REAL NOT_RUN)` vendor/json.om changed; rc=1 `E2E HOST TEST FAIL` verify_dra169_build_audit.sh 0 `ALL AUDIT RECORD CHECKS PASSED.` asserted; see below With omc unavailable the gate now fails instead of succeeding, so that row is PASS. The other PASS rows each have rc=0 and a negative control with rc≠0: - verify.yml: 7 steps. - index.yml: 2 steps, ending `index: 90 repositories, curated and rendered`. - rig-check "Pinned omega-mv": a tampered omc fails sha256 -c. - installer-verify-path: `verify-path.sh exit 0`; control exit 1. - workflow-yaml: `WORKFLOW-YAML PASS files=10 negative-controls=5`. - learn: `LEARN-CHECK PASS runners=0`. - build.sh: control rc=7 on an engine sha mismatch. - RC-2 inventory: the mutated pin is caught with rc=1. - Private vulnerability reporting: `{"enabled":true}`; the control repo aien-rig is false. - Secret scanning: enabled, push protection enabled, zero open alerts. The control checks the disabled non_provider_patterns setting. The security rows ran on the operator Mac with an admin-read gh token at 2026-11-06T22:14:13Z. The Spark token reads `security_and_analysis` as null. The two index.yml setup steps are INCONCLUSIVE because they have no negative control of their own. DRA-169 audit control (asserted): - The tampered record keeps its real file name, `dra-169-build-audit-2b90bdf.json`, so the script's name check passes, and only `alpha_key.raw_public_key_hex` is changed. - The control counts as caught only when the audit exits rc=1 and prints exactly these FAIL lines: - `KEYS does not name the raw key` - `keys/release.pub is ff949504…af54a` (the recorded key) - `keys/release.pub.pem does not encode the raw key` - Observed: rc=1, `AUDIT RECORD CHECK FAILED: 3 failure(s).`, then `CONTROL-ASSERT PASS rc=1, exactly the 3 expected FAIL lines`. - Meta-control: the untampered copy at the same path gives the audit rc=0 and `CONTROL-ASSERT FAIL rc=0`, so the assertion is not vacuous. - Assertion control (`main-27ee8a4/audit-control/assert-control.txt`): the old wrong-name record gives 4 FAIL lines, and the wrapper reports `CONTROL-ASSERT FAIL rc=1`, so it is not counted as caught. Scope (measured): `gates_run.json` records `"scope": "host only (CPU cores 0-2; sandbox: bwrap, bwrap without network); not hardware qualification"`. The two security rows ran on the Mac and are listed in `unmeasured_gates`. Scope negative controls: each runs PHASE=network and then PHASE=json, with rc=0 for both. - `main-27ee8a4/affinity-control/control.txt`, under `taskset -c 1`: `"host only (CPU cores 1; sandbox: bwrap); …"`. - `main-27ee8a4/sandbox-control/control.txt`, outside bwrap: `"host only (CPU cores 0-2; sandbox: no bwrap); …"`. The offline gates ran on a CPU-only DGX Spark under `taskset -c 0-2 nice -n 10 bwrap --unshare-net`. These are host results, not hardware qualification. ## NOT_RUN (reasons are in gates_run.json) - container.sh and onboarding.sh: need the docker daemon. - host-untouched.sh: reads the NVIDIA dpkg state. - release-verify: the alpha-`20261029`.1 tag is unpublished. - Release-key signature: needs the TPM vault. - DRA-52: GPU golden token. - DRA-56: bearer auth on the shipped engine serving a real model. - DRA-53: failure paths on a stock DGX Spark. - e2e-nightly.yml: a REAL install, verify, chat and uninstall on the self-hosted si-test-spark runner. ## Host dependency (`evidence/dra-170/host-dependencies.json`) - What: PyYAML 6.0.1 (Ubuntu python3-yaml 6.0.1-2build2, with the libyaml loader) on python3 3.12.3. - What it does for us: read-only parsing of the candidate's `.github/workflows/*.yml`, to extract one step's `run:` text and its job's env. The repo's `installer/tests/workflow-yaml.sh` also uses it. It is not part of the bundle, and if it is missing the gate cannot reach PASS. - Omega replacement (PROPOSED, not written here): `tests/gates/wfstep.om`, compiled with the pinned omc. - It accepts only the YAML subset the workflows use: block mappings and sequences, `|` literal scalars, one-line plain or quoted scalars, and comments. - Anything else is refused with a non-zero exit, so it is never guessed. - Acceptance: output byte-identical to wfstep.py on every step of every workflow, plus a malformed-workflow negative control. - omega-bridge would be needed only if a Python caller, such as workflow-yaml.sh, has to import the checked module that the bridge emits from the same unit. - Main `27ee8a4` now has `installer/rig/wfcheck.om`, an Omega reader of these workflow files. wfstep.om should reuse its parser rather than add a second one. ## CI CI on `2b90bdf` succeeded, but it does not run token, lend, report, run.sh or failure-paths. CI on this head: see `gh pr checks` once the desk updates the PR. Labels: EXERCISED (gates); FAIL (main `2b90bdf`); PASS (main `27ee8a4`, runnable non-GPU host gates; scope measured); NOT_RUN (GPU, release and REAL e2e rows). ### Apply it ``` git checkout -b patch-fe97083b21dd8b5f 27ee8a4ee29b11d268fc675180b499b4a90a9e28 curl -fsSL https://interplane.io/drakestapleton/sovereign-intelligence/patches/fe97083b21dd8b5f.patch | git am ``` Raw patch (mbox) · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/sovereign-intelligence 79 c733cfd6a646f083c9751991b04f31f8d61c8c2e ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"sovereign-intelligence","number":79,"url":"https://github.com/aien-dev/sovereign-intelligence/pull/79","export_sha256":"6bc76ff0ce4de745a3d87c728c38f3e091fb7aed28647f54804e4a344bef0e2f","imported_utc":"2026-11-18T16:38:47Z"} ``` ### Changes ``` diff --git a/evidence/dra-170/findings.txt b/evidence/dra-170/findings.txt new file mode 100644 index 0000000..97a716f --- /dev/null +++ b/evidence/dra-170/findings.txt @@ -0,0 +1,101 @@ +DRA-170 candidate verification findings (SiReleaseCoord2/Hardening170, 2026-11-06) +Candidate: aien-dev/sovereign-intelligence main 2b90bdf82cde11ced998e9463db77487ad041dfc (#19) +Parent for differential: 1e4770314ec8d97bd283b3e133d77bc31033bf16 (parent-1e47703/) +Host: DGX Spark CPU only (taskset -c 0-2, bwrap --unshare-net). Host results, not hardware qualification. +Per-gate rows: gates_run.json / rows.tsv; raw logs: logs/. + +FAIL rows on the candidate and their root cause (each reproduced, fix proven in scratch only): +1. token.sh 23/7, lend.sh 1/2, failure-paths disk-full, no-network, model-resume, model-corrupt: + #19 made the wizard ask for Enter four times before "yes or no:" (model prompt, "number or + name:", "Press Enter to continue:", "Press Enter for the last question:"). token.sh feeds 3 + newlines (yes arrives one prompt early) and lend.sh plus the failure-path scripts feed 5 (one + prompt late); the wizard then prints "Stopped. Nothing was changed." and exits 0, so the + install under test never happens. run.sh and onboarding.sh already feed 4. +2. report.sh 14/1 "doc: fields missing from output: model:": #19 changed the versions.txt line + from "model: ..." (main.om a_l10) to "models: ..."; docs/doctor-report.md was not updated. +3. failure-paths rollback-clean (also FAIL at the parent): on a host where `gio set` writes + ~/.local/share/gvfs-metadata (not counted by design), ~/.local and ~/.local/share cannot be + removed by the uninstaller and are counted as "left after uninstall". [INFERENCE] passes on a + host without gvfs. +4. failure-paths/run.sh exits 0 when every path is NOT_RUN (unavailable omc: "SUMMARY pass=0 + fail=0 not_run=11", rc=0). That makes an unavailable gate look like success (DRA-170 + acceptance 3), so the row is labelled FAIL. +5. run.sh 36/3: the three failures are its lend-suite, report-suite and token-suite, items 1-2. + +Proposed fix: proposed-fix/installer-tests-and-doc.diff (9 files, +16/-12; installer/ and docs/ +are outside this lane's write scope, not committed here). Results with the diff applied to a +scratch copy of the candidate, same binaries: + token.sh rc=0 "AIENOS-TOKEN-TESTS pass=30 fail=0 notrun=0" + lend.sh rc=0 "AIENOS-LEND-TESTS pass=3 fail=0 notrun=12" + report.sh rc=0 "REPORT-TESTS pass=15 fail=0" + run.sh rc=0 "AIENOS-TESTS pass=39 fail=0" + failure-paths/run.sh rc=0 "SUMMARY pass=11 fail=0 not_run=0" (rollback-clean negative control + still "opposite") + failure-paths/run.sh with OMC unavailable rc=3 "SUMMARY pass=0 fail=0 not_run=11" + +Parent differential (1e47703, same pinned omc/engine): report.sh 15/0, token.sh 30/0, lend.sh +3/0 notrun=12, failure-paths 10/1 (rollback-clean). Parent run.sh 30/9 is INCONCLUSIVE: its a2-a4 +cases fetch SHA256SUMS.sig from the local server and got 404 in this harness run. + +CI on the candidate head (index-sync, index, Workflow YAML, AIEN Verification, Installer +verification path, SBOM, CodeQL) succeeded; CI runs none of token.sh, lend.sh, report.sh, run.sh +or failure-paths, which is why the regression reached main. + +NOT_RUN (reason in gates_run.json): container.sh, onboarding.sh (docker daemon), host-untouched.sh +(reads NVIDIA dpkg state), release-verify (tag alpha-20261029.1 not published), release-key +signature (TPM vault), DRA-52 GPU golden token, DRA-56 bearer auth on the shipped engine serving +a real model, DRA-53 failure paths on a stock DGX Spark. + +Verdict: candidate 2b90bdf82cde11ced998e9463db77487ad041dfc is FAIL for DRA-170 (host suites above). +Fix: SI#78 (branch docs/dra-44-45-49-53-packets) is MERGED into main at merge commit +2554682006aef0a6926841c5db217c02dd4a02ce. It carries items 1-4: commit 01daeda, "wizard tests feed +4 Enters; failure-path runner exits 3 on NOT_RUN", plus the doctor-report and rollback-clean fixes. + +Re-run on main 2554682006aef0a6926841c5db217c02dd4a02ce (main-2554682/; same pinned omc and +engine; candidate tree from git archive of that commit): gates=32 PASS=22 FAIL=0 INCONCLUSIVE=2 +NOT_RUN=8. + token.sh rc=0 "AIENOS-TOKEN-TESTS pass=30 fail=0 notrun=0" (negative control pass=5 fail=25) + lend.sh rc=0 "AIENOS-LEND-TESTS pass=3 fail=0 notrun=12" (control pass=0 fail=3) + report.sh rc=0 "REPORT-TESTS pass=15 fail=0" (control pass=6 fail=9) + run.sh rc=0 "AIENOS-TESTS pass=39 fail=0" (control pass=33 fail=6) + failure-paths/run.sh rc=0 "SUMMARY pass=11 fail=0 not_run=0" (control pass=10 fail=1) + failure-paths/run.sh with OMC unavailable rc=3 "SUMMARY pass=0 fail=0 not_run=11" (PASS: not success) +Verdict on main 2554682: PASS for every runnable non-GPU host gate. Host results, not hardware +qualification. The 8 NOT_RUN rows above are unchanged. + +Host dependency: PyYAML 6.0.1 (python3-yaml 6.0.1-2build2) for workflow-step extraction. See +host-dependencies.json for what it does here and the PROPOSED Omega replacement. + +Re-run on main 27ee8a4ee29b11d268fc675180b499b4a90a9e28 (main-27ee8a4/), after #57, #62 and #77 merged. +The rerun added rig-check.yml (3 steps, each with a negative control), tests/verify_dra169_build_audit.sh +(the network phase, with a tampered-digest control) and an e2e-nightly NOT_RUN row. +Result: gates=37 PASS=26 FAIL=0 INCONCLUSIVE=2 NOT_RUN=9. + rig-check "Workflow trigger guard" rc=0 "RIG TEST PASS negative-controls=27"; control rc=1 "RIG TEST FAIL" + rig-check "E2E harness FAKE arms" rc=0 "E2E HOST TEST PASS (FAKE only; REAL NOT_RUN)"; control rc=1 + verify_dra169_build_audit.sh rc=0 "ALL AUDIT RECORD CHECKS PASSED."; control rc=1 "4 failure(s)" +The scope is now measured, not written in: every row records Cpus_allowed_list from /proc/self/status. +gates_run.json reports "host only (CPU cores 0-2, bwrap)". The two security rows ran on the Mac and +are listed as unmeasured. Negative control (main-27ee8a4/affinity-control/control.txt): under taskset -c 1 +the scope reads "CPU cores 1". + +Update (same candidate 27ee8a4, evidence in main-27ee8a4/ re-run in full). It replaces the audit-control +and scope lines above. +- The earlier audit control wrote the tampered record as audit-neg.json. That name fails the script's + name check, so the control's rc=1 did not show that the key checks catch anything. +- The control now keeps the real name, dra-169-build-audit-2b90bdf.json, and tampers + alpha_key.raw_public_key_hex. A wrapper (assert_fail.sh) counts the control as caught only when it sees + rc=1 and exactly these three FAIL lines: + KEYS does not name the raw key + keys/release.pub is + keys/release.pub.pem does not encode the raw key + On any other outcome it prints CONTROL-ASSERT FAIL, and gates_run.json labels the gate FAIL. +- Meta-control: the untampered copy at the same path gives the audit rc=0, and the wrapper prints + "CONTROL-ASSERT FAIL rc=0", so the assertion is not vacuous. +- Assertion control (audit-control/assert-control.txt): the tampered record under the old wrong name + gives 4 FAIL lines, and the wrapper does not count it as caught. +- Scope now also measures the sandbox. Each row records "bwrap" when PID 1 of its pid namespace is + bwrap, with "without network" when /proc/net/dev shows only lo; otherwise it records "no bwrap". + - Main run: "host only (CPU cores 0-2; sandbox: bwrap, bwrap without network)". + - Controls: sandbox-control/ ran outside bwrap and gives "sandbox: no bwrap"; affinity-control/ ran + under taskset -c 1 and gives "CPU cores 1". +Result: gates=37 PASS=26 FAIL=0 INCONCLUSIVE=2 NOT_RUN=9. diff --git a/evidence/dra-170/gates_run.json b/evidence/dra-170/gates_run.json new file mode 100644 index 0000000..635d141 --- /dev/null +++ b/evidence/dra-170/gates_run.json @@ -0,0 +1,569 @@ +{ + "issue": "DRA-170", + "repo": "aien-dev/sovereign-intelligence", + "candidate": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "scope": "host only (Spark CPU cores 0-2, bwrap); not hardware qualification", + "counts": { + "PASS": 16, + "FAIL": 6, + "INCONCLUSIVE": 2, + "NOT_RUN": 8 + }, + "gates": [ + { + "gate": "verify.yml/verify/Shell syntax", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Shell syntax", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Shell syntax", + "log": "logs/verify.yml_verify_Shell_syntax.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Shell syntax # tamper: printf \"if then\\n\" >> installer/tests/lend.sh", + "rc": 2, + "last_line": "installer/tests/lend.sh: 170: Syntax error: \"then\" unexpected", + "log": "logs/verify.yml_verify_Shell_syntax.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Pinned omega-mv", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Pinned omega-mv", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "/dev/shm/hive/Hardening170/s/rt-verify/omega/seed/out/omc: OK", + "log": "logs/verify.yml_verify_Pinned_omega-mv.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Pinned omega-mv # tamper: printf x >> \"$RT/omega/seed/out/omc\"", + "rc": 1, + "last_line": "sha256sum: WARNING: 1 computed checksum did NOT match", + "log": "logs/verify.yml_verify_Pinned_omega-mv.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Vendored SHA-256 unit is the derivation of omega-mv's", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's", + "log": "logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's # tamper: sed -i \"\\$s/\\$/ /\" installer/wizard/sha256.om", + "rc": 1, + "last_line": "- /dev/shm/hive/Hardening170/s/rt-neg/sha.body differ: byte 9555, line 344", + "log": "logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Compile the wizard twice", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Compile the wizard twice", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "725b284298610df5886ba33ba1da75ebcdcd67a21ab059b8688616fe1a2487ba /dev/shm/hive/Hardening170/s/rt-verify/a1", + "log": "logs/verify.yml_verify_Compile_the_wizard_twice.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf \"fn broken(\\n\" >> installer/wizard/report.om", + "rc": 16, + "last_line": "$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf \"fn broken(\\n\" >> installer/wizard/report.om", + "log": "logs/verify.yml_verify_Compile_the_wizard_twice.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Capture text frames in Omega match the recorded outputs (#31)", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31)", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "PASS 18/18", + "log": "logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) # tamper: f=$(ls installer/tests/ansi-txt/*.txt | head -n 1); sed -i \"1s/^/X/\" \"$f\"", + "rc": 1, + "last_line": "FAIL bad=1 of 18", + "log": "logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/The engine port is written once, in PORT (#34)", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34)", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "port 18100: only in const PORT", + "log": "logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) # tamper: p=$(sed -n \"s/^const PORT ulong \\([0-9][0-9]*\\)\\$/\\1/p\" installer/wizard/engine.om); printf \"// fallback port %s\\n\" \"$p\" >> installer/wizard/lib.om", + "rc": 1, + "last_line": "::error::the wizard writes port 18100 outside const PORT; print it from PORT (eaddr, pladdr, pkaddr)", + "log": "logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Doctor on fake hardware", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Doctor on fake hardware", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "doctor olddrv rc=1 want=1", + "log": "logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Doctor on fake hardware # tamper: sed -i \"s/gb10|gb10-busy) gpu 0x2e12 580.173.02/gb10|gb10-busy) gpu 0x2e12 570.86.10/\" installer/tests/fake-root.sh", + "rc": 1, + "last_line": "doctor gb10 rc=1 want=0", + "log": "logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "index.yml/index-check/Pinned omega-mv", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Pinned omega-mv", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "/dev/shm/hive/Hardening170/s/rt-index/omega/seed/out/omc: OK", + "log": "logs/index.yml_index-check_Pinned_omega-mv.gate.log", + "negative_control": null, + "label": "INCONCLUSIVE" + }, + { + "gate": "index.yml/index-check/Compile the generator twice", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Compile the generator twice", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "e52ec0ac64ac3bd55771a8ff1424e2bf575a1c5e823abf982c1021d3bfd59b05 /dev/shm/hive/Hardening170/s/rt-index/index", + "log": "logs/index.yml_index-check_Compile_the_generator_twice.gate.log", + "negative_control": null, + "label": "INCONCLUSIVE" + }, + { + "gate": "index.yml/index-check/Index, curated entries and README agree", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "index: 90 repositories, curated and rendered", + "log": "logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree # tamper: last entry removed from index/repos.json", + "rc": 1, + "last_line": "remove them (a private repository must never be named here)", + "log": "logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "index.yml/index-check/Negative control, an uncurated public repository fails", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "negative control rc=1 want=1", + "log": "logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails # tamper: fixture repository fake-uncurated-repo renamed to sovereign-intelligence (curated)", + "rc": 1, + "last_line": "negative control rc=1 want=1", + "log": "logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer-verify-path.yml/verify-path/Verification path with negative controls", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-vp' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "verify-path.sh exit 0", + "log": "logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-vp-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls # tamper: install.sh signature check disabled (if false && ! openssl pkeyutl -verify)", + "rc": 1, + "last_line": "verify-path.sh exit 1", + "log": "logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "workflow-yaml.yml/parse/Parse every workflow and the negative controls", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "WORKFLOW-YAML PASS files=8 negative-controls=5", + "log": "logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls # tamper: conflict marker appended to .github/workflows/sbom.yml", + "rc": 1, + "last_line": "WORKFLOW-YAML FAIL", + "log": "logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "learn.yml/learn-check/No first-party runners under docs/learn or docs/academy", + "command": "cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "LEARN-CHECK PASS runners=0", + "log": "logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy # tamper: docs/learn/run.sh added", + "rc": 1, + "last_line": "docs/learn/run.sh ext", + "log": "logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/build.sh", + "command": "OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/engine' sh build.sh '/dev/shm/hive/Hardening170/s/out'", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a release.pub.pem", + "log": "logs/installer_build.sh.gate.log", + "negative_control": { + "command": "OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/s/engine.tampered' sh build.sh '/dev/shm/hive/Hardening170/s/out-neg' # tamper: one byte appended to the engine", + "rc": 7, + "last_line": "build.sh: /dev/shm/hive/Hardening170/s/engine.tampered sha256 8b98af59860bdf8aa76e3982ae0baf93803ccd45e7346487889c2d951d2f1a7a, want 6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9", + "log": "logs/installer_build.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/tests/report.sh", + "command": "AIENOS='/dev/shm/hive/Hardening170/s/out/stage/bin/aienos' sh tests/report.sh '/dev/shm/hive/Hardening170/s/report'", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 1, + "last_line": "REPORT-TESTS pass=14 fail=1", + "log": "logs/installer_tests_report.sh.gate.log", + "negative_control": { + "command": "AIENOS=/bin/true sh tests/report.sh '/dev/shm/hive/Hardening170/s/report-neg' # tamper: aienos replaced by /bin/true (exits 0, writes nothing)", + "rc": 1, + "last_line": "REPORT-TESTS pass=6 fail=9", + "log": "logs/installer_tests_report.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "FAIL", + "failing_subcases": [ + "FAIL doc: fields missing from output: model: " + ] + }, + { + "gate": "installer/tests/run.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s/out/dist' STAGE='/dev/shm/hive/Hardening170/s/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s/run'", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 1, + "last_line": "AIENOS-TESTS pass=36 fail=3 scratch=/dev/shm/hive/Hardening170/s/run", + "log": "logs/installer_tests_run.sh.gate.log", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s/dist-neg' STAGE='/dev/shm/hive/Hardening170/s/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s/run-neg' # tamper: one byte appended to the bundle", + "rc": 1, + "last_line": "AIENOS-TESTS pass=30 fail=9 scratch=/dev/shm/hive/Hardening170/s/run-neg", + "log": "logs/installer_tests_run.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "FAIL", + "failing_subcases": [ + "FAIL lend-wizard-skip-changes-nothing: condition false (see /dev/shm/hive/Hardening170/s/run/lend)", + "FAIL lend-wizard-yes-without-program: condition false (see /dev/shm/hive/Hardening170/s/run/lend)", + "FAIL lend-suite: condition false (see /dev/shm/hive/Hardening170/s/run)", + "FAIL doc: fields missing from output: model: ", + "FAIL report-suite: condition false (see /dev/shm/hive/Hardening170/s/run)", + "FAIL token-file-0600-dir-0700: condition false (see /dev/shm/hive/Hardening170/s/run/token)", + "FAIL token-64-hex-one-line: condition false (see /dev/shm/hive/Hardening170/s/run/token)", + "FAIL token-wizard-chat-authorized: condition false (see /dev/shm/hive/Hardening170/s/run/token)", + "FAIL token-not-in-logs-or-output: condition false (see /dev/shm/hive/Hardening170/s/run/token)", + "FAIL token-in-engine-env-not-argv: condition false (see /dev/shm/hive/Hardening170/s/run/token)", + "FAIL token-header-in-every-request: condition false (see /dev/shm/hive/Hardening170/s/run/token)", + "FAIL control-wizard-refuses-open-folder: condition false (see /dev/shm/hive/Hardening170/s/run/token)", + "FAIL token-suite: condition false (see /dev/shm/hive/Hardening170/s/run)" + ], + "not_run_subcases": [ + "NOTE DIST is unsigned: section A uses a test-key signature; the release-key signature check is NOT_RUN", + "NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set", + "NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set", + "NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set", + "NOT_RUN lend-start: OH_VOLUNTEER not set", + "NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set", + "NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set", + "NOT_RUN lend-start-twice: OH_VOLUNTEER not set", + "NOT_RUN lend-status: OH_VOLUNTEER not set", + "NOT_RUN lend-pause-resume: OH_VOLUNTEER not set", + "NOT_RUN lend-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set", + "NOT_RUN core-refuses-without-token: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-matrix-401-401-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-wizard-chat-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-wizard-wrong-token-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-wizard-missing-header-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap" + ] + }, + { + "gate": "installer/tests/token.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s/out/stage' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token'", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 1, + "last_line": "AIENOS-TOKEN-TESTS pass=23 fail=7 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s/token", + "log": "logs/installer_tests_token.sh.gate.log", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s/stage-neg' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg' # tamper: bin/aienos replaced by /bin/true", + "rc": 1, + "last_line": "AIENOS-TOKEN-TESTS pass=5 fail=25 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg", + "log": "logs/installer_tests_token.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "FAIL", + "failing_subcases": [ + "FAIL token-file-0600-dir-0700: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token)", + "FAIL token-64-hex-one-line: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token)", + "FAIL token-wizard-chat-authorized: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token)", + "FAIL token-not-in-logs-or-output: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token)", + "FAIL token-in-engine-env-not-argv: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token)", + "FAIL token-header-in-every-request: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token)", + "FAIL control-wizard-refuses-open-folder: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token)" + ] + }, + { + "gate": "installer/tests/lend.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s/out/stage' sh tests/lend.sh '/dev/shm/hive/Hardening170/s/lend'", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 1, + "last_line": "AIENOS-LEND-TESTS pass=1 fail=2 notrun=12 scratch=/dev/shm/hive/Hardening170/s/lend", + "log": "logs/installer_tests_lend.sh.gate.log", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s/stage-neg' sh tests/lend.sh '/dev/shm/hive/Hardening170/s/lend-neg' # tamper: bin/aienos replaced by /bin/true", + "rc": 1, + "last_line": "AIENOS-LEND-TESTS pass=0 fail=3 notrun=12 scratch=/dev/shm/hive/Hardening170/s/lend-neg", + "log": "logs/installer_tests_lend.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "FAIL", + "failing_subcases": [ + "FAIL lend-wizard-skip-changes-nothing: condition false (see /dev/shm/hive/Hardening170/s/lend)", + "FAIL lend-wizard-yes-without-program: condition false (see /dev/shm/hive/Hardening170/s/lend)" + ], + "not_run_subcases": [ + "NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set", + "NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set", + "NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set", + "NOT_RUN lend-start: OH_VOLUNTEER not set", + "NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set", + "NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set", + "NOT_RUN lend-start-twice: OH_VOLUNTEER not set", + "NOT_RUN lend-status: OH_VOLUNTEER not set", + "NOT_RUN lend-pause-resume: OH_VOLUNTEER not set", + "NOT_RUN lend-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set" + ] + }, + { + "gate": "installer/tests/failure-paths/run.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s/fp'", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 1, + "last_line": "SUMMARY pass=6 fail=5 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s/fp", + "log": "logs/installer_tests_failure-paths_run.sh.gate.log", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' sh '/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/failure-paths/run.sh' '/dev/shm/hive/Hardening170/s/fp-neg' # tamper: install.sh signature check disabled", + "rc": 1, + "last_line": "SUMMARY pass=5 fail=6 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s/fp-neg", + "log": "logs/installer_tests_failure-paths_run.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "FAIL", + "failing_subcases": [ + "FAIL disk-full EXERCISED(host, EFBIG stand-in for ENOSPC) cases=install,model control=opposite/same spark=NOT_RUN bad=3 scratch=/dev/shm/hive/Hardening170/s/fp/disk-full", + "FAIL no-network EXERCISED(host) cases=refused,nobundle,cut,wizard-model control=opposite/same spark=NOT_RUN bad=3 scratch=/dev/shm/hive/Hardening170/s/fp/no-network", + "FAIL model-resume EXERCISED(host, 5 MB test model, loopback Range server) cases=stop/KILL,stop/INT,cut1,cut2 control=opposite spark=NOT_RUN bad=13 scratch=/dev/shm/hive/Hardening170/s/fp/model-resume", + "FAIL model-corrupt EXERCISED(host, 5 MB test model, loopback server) cases=served,on-disk,after control=opposite spark=NOT_RUN bad=9 scratch=/dev/shm/hive/Hardening170/s/fp/model-corrupt", + "FAIL rollback-clean EXERCISED(host, fake GB10 root) cases=bare,used control=opposite spark=NOT_RUN bad=3 scratch=/dev/shm/hive/Hardening170/s/fp/rollback-clean" + ] + }, + { + "gate": "installer/tests/failure-paths/run.sh (unavailable omc)", + "command": "OMC='/dev/shm/hive/Hardening170/s/omc.tampered' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s/fp-omc'", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "SUMMARY pass=0 fail=0 not_run=11 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s/fp-omc", + "log": "logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log", + "negative_control": { + "note": "this row is itself the negative control of the runner's pin check" + }, + "expected": "a wrong omc makes every path NOT_RUN and the runner must not exit 0 (acceptance: an unavailable gate never reads as success)", + "label": "FAIL", + "not_run_subcases": [ + "NOT_RUN disk-full omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN no-network omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN wrong-gpu-driver omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN interrupted-install omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN bad-signature omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN port-in-use omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN uninstall-partial omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN model-resume omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN model-corrupt omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN rollback-clean omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN stale-tmp omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b" + ] + }, + { + "gate": "installer/tests/container.sh", + "command": null, + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "needs the host docker daemon (a shared service outside the bwrap --unshare-net sandbox); not run by this lane", + "negative_control": null + }, + { + "gate": "installer/tests/onboarding.sh", + "command": null, + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "needs the host docker daemon with a bridge network (outside the bwrap --unshare-net sandbox); not run by this lane", + "negative_control": null + }, + { + "gate": "installer/tests/host-untouched.sh", + "command": null, + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "records dpkg/NVIDIA package state of the host; this lane stays off NVIDIA state; run.sh ran separately under bwrap", + "negative_control": null + }, + { + "gate": "release-verify.yml (published release)", + "command": null, + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "candidate TAG alpha-20261029.1 has no published release (gh release list: alpha-20261026.2, .1 only); signing needs the TPM-bound release key", + "negative_control": null + }, + { + "gate": "release-key signature over the candidate DIST", + "command": null, + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "tools/sign.sh needs AIENOS_RELEASE_ED25519_SEED from the TPM-bound atlas-vault; run.sh section A used a test key", + "negative_control": null + }, + { + "gate": "DRA-52 GPU golden-token merge gate", + "command": null, + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "needs the GPU window (GB10); not authorized for this lane", + "negative_control": null + }, + { + "gate": "DRA-56 bearer auth on the shipped engine serving a real model", + "command": null, + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "real-model serving needs the GPU window; only the --engine stub path (token.sh core-* cases) ran on the host", + "negative_control": null + }, + { + "gate": "DRA-53 failure paths on a stock DGX Spark", + "command": null, + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "real Spark gate; only host results here", + "negative_control": null + }, + { + "gate": "verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant)", + "command": "rm -rf '/dev/shm/hive/Hardening170/s/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170' '/dev/shm/hive/Hardening170/s/inv' && git -C '/dev/shm/hive/Hardening170/s/inv' checkout -q 2b90bdf82cde11ced998e9463db77487ad041dfc && cd '/dev/shm/hive/Hardening170/s/inv' && python3 notes/rc2/verify_inventory.py --self-test", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000", + "log": "logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit", + "rc": 1, + "last_line": "pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60", + "log": "logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "github/private-vulnerability-reporting", + "command": "gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting && test \"$(gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting --jq .enabled)\" = true && echo enabled=true", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "{\"enabled\":true}enabled=true", + "log": "logs/github_private-vulnerability-reporting.gate.log", + "negative_control": { + "command": "gh api repos/aien-dev/aien-rig/private-vulnerability-reporting && test \"$(gh api repos/aien-dev/aien-rig/private-vulnerability-reporting --jq .enabled)\" = true && echo enabled=true # tamper: same check against aien-dev/aien-rig, whose reporting is off", + "rc": 1, + "last_line": "{\"enabled\":false}", + "log": "logs/github_private-vulnerability-reporting.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "github/secret-scanning (enabled, push protection, zero open alerts)", + "command": "gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning.status) && echo secret_scanning=$s && test \"$s\" = enabled && n=$(gh api \"repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open\" --jq length) && echo open_alerts=$n && test \"$n\" = 0 && test \"$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_push_protection.status)\" = enabled && echo push_protection=enabled", + "head": "2b90bdf82cde11ced998e9463db77487ad041dfc", + "rc": 0, + "last_line": "push_protection=enabled", + "log": "logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log", + "negative_control": { + "command": "gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_non_provider_patterns.status) && echo secret_scanning_non_provider_patterns=$s && test \"$s\" = enabled && n=$(gh api \"repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open\" --jq length) && echo open_alerts=$n && test \"$n\" = 0 # tamper: same check against security_and_analysis.secret_scanning_non_provider_patterns, which is disabled", + "rc": 1, + "last_line": "secret_scanning_non_provider_patterns=disabled", + "log": "logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + } + ] +} \ No newline at end of file diff --git a/evidence/dra-170/host-dependencies.json b/evidence/dra-170/host-dependencies.json new file mode 100644 index 0000000..7a978a2 --- /dev/null +++ b/evidence/dra-170/host-dependencies.json @@ -0,0 +1,23 @@ +{ + "schema": "dra-170 host dependencies of tests/gates/candidate_verification.sh", + "observed_on": "DGX Spark build host (Ubuntu 24.04 arm64), 2026-11-06, via dpkg-query -W and python3 -c 'import yaml; print(yaml.__version__, yaml.__with_libyaml__)'", + "dependencies": [ + { + "name": "PyYAML", + "version": "6.0.1 (Ubuntu package python3-yaml 6.0.1-2build2, libyaml C loader present: True)", + "runtime": "python3 3.12.3 (Ubuntu package python3 3.12.3-0ubuntu2.1)", + "used_by": [ + "tests/gates/candidate_verification.sh: the generated SCRATCH/wfstep.py calls yaml.safe_load on a candidate .github/workflows/*.yml to print one step's run: text and its job's env, so each workflow step runs verbatim from the candidate's own YAML", + "installer/tests/workflow-yaml.sh (not this lane's file): parses every workflow and its negative-control fixtures; without PyYAML it prints WORKFLOW-YAML NOT_RUN" + ], + "what_it_does_for_us": "Parses the workflow YAML read-only. It does not build, sign or ship anything and is not in the release bundle. If it is missing, wfstep.py fails, the step's row records a non-zero rc, and the gate cannot be PASS.", + "bundled": false, + "omega_replacement": { + "state": "PROPOSED", + "proposal": "tests/gates/wfstep.om is a seeded-Omega program compiled with the pinned omc (OMC_PIN in installer/build.sh). It takes WORKFLOW JOB STEP-NAME, reads the file bytes and accepts only the YAML subset the repository's workflows use: indentation-nested block mappings and block sequences, 'run: |' literal block scalars, plain and single- or double-quoted one-line scalars, and '#' comments. Anything outside that subset, such as anchors, flow collections, folded scalars or tabs, is refused with a non-zero exit, so the gate reads FAIL or NOT_RUN and is never guessed. It prints the same 'export K=V' lines, 'set -o pipefail' when defaults.run.shell is bash, and the step body, with the 'git ' line filter for 'Pinned omega-mv' steps. candidate_verification.sh then calls the compiled binary instead of python3, so no conversion is needed. omega-bridge is used only if a Python caller has to keep the module interface: workflow-yaml.sh's parse check would import the bridge-emitted checked Python from the same bounded .om unit instead of PyYAML.", + "acceptance": "Byte-identical output to wfstep.py for every step of every workflow on the candidate. A malformed-workflow fixture (tab indentation, an unknown job) makes both refuse with a non-zero exit as the negative control. The workflow-yaml.sh negative-control fixtures keep their verdicts.", + "not_done_here": "The .om program is not written in this PR. The lane writes only evidence/dra-170/** and tests/gates/candidate_verification.sh, and installer/HOST-DEPENDENCIES.md belongs to the installer owner." + } + } + ] +} diff --git a/evidence/dra-170/logs/github_private-vulnerability-reporting.gate.log b/evidence/dra-170/logs/github_private-vulnerability-reporting.gate.log new file mode 100644 index 0000000..4467ecd --- /dev/null +++ b/evidence/dra-170/logs/github_private-vulnerability-reporting.gate.log @@ -0,0 +1,2 @@ +$ gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting && test "$(gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting --jq .enabled)" = true && echo enabled=true +{"enabled":true}enabled=true diff --git a/evidence/dra-170/logs/github_private-vulnerability-reporting.neg.log b/evidence/dra-170/logs/github_private-vulnerability-reporting.neg.log new file mode 100644 index 0000000..da3b0e0 --- /dev/null +++ b/evidence/dra-170/logs/github_private-vulnerability-reporting.neg.log @@ -0,0 +1,2 @@ +$ gh api repos/aien-dev/aien-rig/private-vulnerability-reporting && test "$(gh api repos/aien-dev/aien-rig/private-vulnerability-reporting --jq .enabled)" = true && echo enabled=true # tamper: same check against aien-dev/aien-rig, whose reporting is off +{"enabled":false} \ No newline at end of file diff --git a/evidence/dra-170/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log b/evidence/dra-170/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log new file mode 100644 index 0000000..82e24b3 --- /dev/null +++ b/evidence/dra-170/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log @@ -0,0 +1,5 @@ +$ gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning.status) && echo secret_scanning=$s && test "$s" = enabled && n=$(gh api "repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0 && test "$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_push_protection.status)" = enabled && echo push_protection=enabled +{"dependabot_security_updates":{"status":"enabled"},"secret_scanning":{"status":"enabled"},"secret_scanning_non_provider_patterns":{"status":"disabled"},"secret_scanning_push_protection":{"status":"enabled"},"secret_scanning_validity_checks":{"status":"disabled"}} +secret_scanning=enabled +open_alerts=0 +push_protection=enabled diff --git a/evidence/dra-170/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log b/evidence/dra-170/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log new file mode 100644 index 0000000..de490f0 --- /dev/null +++ b/evidence/dra-170/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log @@ -0,0 +1,3 @@ +$ gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_non_provider_patterns.status) && echo secret_scanning_non_provider_patterns=$s && test "$s" = enabled && n=$(gh api "repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0 # tamper: same check against security_and_analysis.secret_scanning_non_provider_patterns, which is disabled +{"dependabot_security_updates":{"status":"enabled"},"secret_scanning":{"status":"enabled"},"secret_scanning_non_provider_patterns":{"status":"disabled"},"secret_scanning_push_protection":{"status":"enabled"},"secret_scanning_validity_checks":{"status":"disabled"}} +secret_scanning_non_provider_patterns=disabled diff --git a/evidence/dra-170/logs/index.yml_index-check_Compile_the_generator_twice.gate.log b/evidence/dra-170/logs/index.yml_index-check_Compile_the_generator_twice.gate.log new file mode 100644 index 0000000..b0e01d3 --- /dev/null +++ b/evidence/dra-170/logs/index.yml_index-check_Compile_the_generator_twice.gate.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Compile the generator twice +f62357e4717f7a7e7f291f7c67ab7a66b272f3500186b59196acc4c131f56011 index/gen/index.om +e52ec0ac64ac3bd55771a8ff1424e2bf575a1c5e823abf982c1021d3bfd59b05 /dev/shm/hive/Hardening170/s/rt-index/index diff --git a/evidence/dra-170/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log b/evidence/dra-170/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log new file mode 100644 index 0000000..4ed9a98 --- /dev/null +++ b/evidence/dra-170/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree +index: 90 repositories, curated and rendered diff --git a/evidence/dra-170/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log b/evidence/dra-170/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log new file mode 100644 index 0000000..0c4e1c6 --- /dev/null +++ b/evidence/dra-170/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log @@ -0,0 +1,4 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree # tamper: last entry removed from index/repos.json +gen_index: index/curated.yml names repositories that are not public in aien-dev: + - vscode-omega +remove them (a private repository must never be named here) diff --git a/evidence/dra-170/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log b/evidence/dra-170/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log new file mode 100644 index 0000000..e2e406f --- /dev/null +++ b/evidence/dra-170/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log @@ -0,0 +1,96 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails +gen_index: public repositories with no entry in index/curated.yml: + - fake-uncurated-repo +add each one (layer, evidence, purpose) in the same change +gen_index: index/curated.yml names repositories that are not public in aien-dev: + - arm-trusted-firmware + - atlas + - edk2 + - edk2-non-osi + - edk2-platforms + - rpi5-uefi + - omega-gpu-driver + - aienix + - AienOS-nv + - aienux + - rtl8127-omega + - CUDApp + - physics-mv + - babel + - compiler-explorer + - ggml-omega + - homebrew-omega + - infra + - omega-blas + - omega-bridge + - omega-bridge-kit + - omega-dnn + - omega-harness + - omega-kernel-template + - omega-lift + - omega-mcp + - omega-mv + - omega-packages + - omega-rosetta + - omega-seed-challenge + - omnet + - omtex + - tree-sitter-omega + - vscode-omega + - aegis-runtime-mv + - aien-harness + - aien-local-stack + - aien-receipts + - aien-sovereign-core-mv + - aien-train + - aien-yardsticks + - BabelStream + - benchmarks-mv + - gpu-head-to-head + - harvester + - MojoLlama + - omega-gpu-bench + - openaccel-lab + - spark-adapters + - spark-debugger + - spark-hive + - spark-inquisitor + - spark-rsi-mv + - spark-supervisor + - cortex + - cortex-rs + - crumb-spec-mv + - spark-crumbs-mv + - spark-dream + - aien + - omega-projects + - agent-archive + - aien-edge + - aien-rig + - aien-translate + - aienos.com + - encounter + - mobhub + - odysseus + - open-humanity + - pi-register + - readings-window + - spark-connector + - t3code + - translate + - .github + - aien-architecture-mv + - aien-protocols-mv + - hive-not-swarm + - interplane-mv + - interplane.io + - physics0 + - rad-id-sync + - synapse + - synapse-board + - synapse-claims + - synapse-map + - synapse-mcp + - synapse-pulse +remove them (a private repository must never be named here) +negative control rc=1 want=1 diff --git a/evidence/dra-170/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log b/evidence/dra-170/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log new file mode 100644 index 0000000..f7a1fdc --- /dev/null +++ b/evidence/dra-170/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log @@ -0,0 +1,93 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails # tamper: fixture repository fake-uncurated-repo renamed to sovereign-intelligence (curated) +gen_index: index/curated.yml names repositories that are not public in aien-dev: + - arm-trusted-firmware + - atlas + - edk2 + - edk2-non-osi + - edk2-platforms + - rpi5-uefi + - omega-gpu-driver + - aienix + - AienOS-nv + - aienux + - rtl8127-omega + - CUDApp + - physics-mv + - babel + - compiler-explorer + - ggml-omega + - homebrew-omega + - infra + - omega-blas + - omega-bridge + - omega-bridge-kit + - omega-dnn + - omega-harness + - omega-kernel-template + - omega-lift + - omega-mcp + - omega-mv + - omega-packages + - omega-rosetta + - omega-seed-challenge + - omnet + - omtex + - tree-sitter-omega + - vscode-omega + - aegis-runtime-mv + - aien-harness + - aien-local-stack + - aien-receipts + - aien-sovereign-core-mv + - aien-train + - aien-yardsticks + - BabelStream + - benchmarks-mv + - gpu-head-to-head + - harvester + - MojoLlama + - omega-gpu-bench + - openaccel-lab + - spark-adapters + - spark-debugger + - spark-hive + - spark-inquisitor + - spark-rsi-mv + - spark-supervisor + - cortex + - cortex-rs + - crumb-spec-mv + - spark-crumbs-mv + - spark-dream + - aien + - omega-projects + - agent-archive + - aien-edge + - aien-rig + - aien-translate + - aienos.com + - encounter + - mobhub + - odysseus + - open-humanity + - pi-register + - readings-window + - spark-connector + - t3code + - translate + - .github + - aien-architecture-mv + - aien-protocols-mv + - hive-not-swarm + - interplane-mv + - interplane.io + - physics0 + - rad-id-sync + - synapse + - synapse-board + - synapse-claims + - synapse-map + - synapse-mcp + - synapse-pulse +remove them (a private repository must never be named here) +negative control rc=1 want=1 diff --git a/evidence/dra-170/logs/index.yml_index-check_Pinned_omega-mv.gate.log b/evidence/dra-170/logs/index.yml_index-check_Pinned_omega-mv.gate.log new file mode 100644 index 0000000..0ea817d --- /dev/null +++ b/evidence/dra-170/logs/index.yml_index-check_Pinned_omega-mv.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # index.yml job index-check step: Pinned omega-mv +/dev/shm/hive/Hardening170/s/rt-index/omega/seed/out/omc: OK diff --git a/evidence/dra-170/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log b/evidence/dra-170/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log new file mode 100644 index 0000000..e93dbc1 --- /dev/null +++ b/evidence/dra-170/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log @@ -0,0 +1,114 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-vp' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls +PASS key-swap-only +PASS good-release-installs +PASS bad-signature-other-key +PASS bad-signature-corrupted +PASS rewritten-sums-unsigned +PASS tampered-bundle +PASS bundle-not-in-signed-list +PASS unsafe-path-in-bundle +PASS tampered-file-inside-bundle +PASS missing-signature +PASS selfcheck-signature-removed-is-caught +PASS selfcheck-bundle-hash-removed-is-caught +PASS selfcheck-unsafe-path-removed-is-caught +PASS selfcheck-per-file-removed-is-caught +VERIFY-PATH pass=14 fail=0 expected=14 scratch=/dev/shm/hive/Hardening170/s/rt-vp/vp +---- installer output per case (refusals are expected for every case but good) ---- +== 1-good.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 3430f4d5f39b8da3d7a71704d2f6619af9e4fbf6fd2d28f74a9a4d7da4dd5e7c). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s/rt-vp/vp/home/1-good/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s/rt-vp/vp/home/1-good/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 2-bad-signature-other-key.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The signature on SHA256SUMS does not match the AienOS release key. +Nothing was installed. +exit 1 +== 3-bad-signature-corrupted.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The signature on SHA256SUMS does not match the AienOS release key. +Nothing was installed. +exit 1 +== 4-rewritten-sums-unsigned.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The signature on SHA256SUMS does not match the AienOS release key. +Nothing was installed. +exit 1 +== 5-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected 590ffecaae8049d42853e17c1aaf4bac0eee301b1e709078179f6ff9a9fac0e4, got 6860e38bf2c50fc009c771bb5f7997625529cdd4e489bcecab48d45d0d7a4f9c). +Nothing was installed. +exit 1 +== 6-bundle-not-in-signed-list.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected none, got 590ffecaae8049d42853e17c1aaf4bac0eee301b1e709078179f6ff9a9fac0e4). +Nothing was installed. +exit 1 +== 7-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 3430f4d5f39b8da3d7a71704d2f6619af9e4fbf6fd2d28f74a9a4d7da4dd5e7c). +tar: Removing leading `../' from member names +The bundle contains an unsafe path. Nothing was installed. +exit 1 +== 8-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 3430f4d5f39b8da3d7a71704d2f6619af9e4fbf6fd2d28f74a9a4d7da4dd5e7c). +A file inside the bundle does not match its SHA-256. Nothing was installed. +exit 1 +== 9-missing-signature.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +curl: (22) The requested URL returned error: 404 +Could not download https://127.0.0.1:42329/missing-signature/SHA256SUMS.sig +exit 2 +== 10-bad-signature-other-key.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 3430f4d5f39b8da3d7a71704d2f6619af9e4fbf6fd2d28f74a9a4d7da4dd5e7c). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s/rt-vp/vp/home/10-bad-signature-other-key/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s/rt-vp/vp/home/10-bad-signature-other-key/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 11-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 3430f4d5f39b8da3d7a71704d2f6619af9e4fbf6fd2d28f74a9a4d7da4dd5e7c). + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now +Could not unpack the bundle into /dev/shm/hive/Hardening170/s/rt-vp/vp/home/11-tampered-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 12-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 3430f4d5f39b8da3d7a71704d2f6619af9e4fbf6fd2d28f74a9a4d7da4dd5e7c). +tar: Removing leading `../' from member names +tar: ../escape.txt: Member name contains '..' +tar: Exiting with failure status due to previous errors +Could not unpack the bundle into /dev/shm/hive/Hardening170/s/rt-vp/vp/home/12-unsafe-path-in-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 13-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 3430f4d5f39b8da3d7a71704d2f6619af9e4fbf6fd2d28f74a9a4d7da4dd5e7c). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s/rt-vp/vp/home/13-tampered-file-inside-bundle/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s/rt-vp/vp/home/13-tampered-file-inside-bundle/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +verify-path.sh exit 0 diff --git a/evidence/dra-170/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log b/evidence/dra-170/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log new file mode 100644 index 0000000..2ec4423 --- /dev/null +++ b/evidence/dra-170/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log @@ -0,0 +1,118 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-vp-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls # tamper: install.sh signature check disabled (if false && ! openssl pkeyutl -verify) +PASS key-swap-only +PASS good-release-installs +FAIL bad-signature-other-key: exit 0, want 1; reason missing: The signature on SHA256SUMS does not match the AienOS release key.; something was installed +FAIL bad-signature-corrupted: exit 0, want 1; reason missing: The signature on SHA256SUMS does not match the AienOS release key.; something was installed +FAIL rewritten-sums-unsigned: exit 2, want 1; reason missing: The signature on SHA256SUMS does not match the AienOS release key. +PASS tampered-bundle +PASS bundle-not-in-signed-list +PASS unsafe-path-in-bundle +PASS tampered-file-inside-bundle +PASS missing-signature +FAIL selfcheck-signature-removed-is-caught: mutation signature did not apply: line not found in install.sh +PASS selfcheck-bundle-hash-removed-is-caught +PASS selfcheck-unsafe-path-removed-is-caught +PASS selfcheck-per-file-removed-is-caught +VERIFY-PATH pass=10 fail=4 expected=14 scratch=/dev/shm/hive/Hardening170/s/rt-vp-neg/vp +---- installer output per case (refusals are expected for every case but good) ---- +== 1-good.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 541bb264f5ce1f4aac74f96c578644f8fe179fd120e4929d8fda09e978941cb9). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/1-good/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/1-good/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 2-bad-signature-other-key.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 541bb264f5ce1f4aac74f96c578644f8fe179fd120e4929d8fda09e978941cb9). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/2-bad-signature-other-key/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/2-bad-signature-other-key/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 3-bad-signature-corrupted.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 541bb264f5ce1f4aac74f96c578644f8fe179fd120e4929d8fda09e978941cb9). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/3-bad-signature-corrupted/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/3-bad-signature-corrupted/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 4-rewritten-sums-unsigned.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 541bb264f5ce1f4aac74f96c578644f8fe179fd120e4929d8fda09e978941cb9). + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now +Could not unpack the bundle into /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/4-rewritten-sums-unsigned/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 5-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected 242b177973e9da2bb81424738c2a4d2d34a11ee4aade78fd7c63a2ab353ade6c, got d886f8cdacf8f79b1eda77fd1db99cb5c394d9d4625d6a1e503519c293cef364). +Nothing was installed. +exit 1 +== 6-bundle-not-in-signed-list.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected none, got 242b177973e9da2bb81424738c2a4d2d34a11ee4aade78fd7c63a2ab353ade6c). +Nothing was installed. +exit 1 +== 7-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 541bb264f5ce1f4aac74f96c578644f8fe179fd120e4929d8fda09e978941cb9). +tar: Removing leading `../' from member names +The bundle contains an unsafe path. Nothing was installed. +exit 1 +== 8-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 541bb264f5ce1f4aac74f96c578644f8fe179fd120e4929d8fda09e978941cb9). +A file inside the bundle does not match its SHA-256. Nothing was installed. +exit 1 +== 9-missing-signature.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +curl: (22) The requested URL returned error: 404 +Could not download https://127.0.0.1:33335/missing-signature/SHA256SUMS.sig +exit 2 +== 10-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 541bb264f5ce1f4aac74f96c578644f8fe179fd120e4929d8fda09e978941cb9). + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now +Could not unpack the bundle into /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/10-tampered-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 11-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 541bb264f5ce1f4aac74f96c578644f8fe179fd120e4929d8fda09e978941cb9). +tar: Removing leading `../' from member names +tar: ../escape.txt: Member name contains '..' +tar: Exiting with failure status due to previous errors +Could not unpack the bundle into /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/11-unsafe-path-in-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 12-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 541bb264f5ce1f4aac74f96c578644f8fe179fd120e4929d8fda09e978941cb9). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/12-tampered-file-inside-bundle/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s/rt-vp-neg/vp/home/12-tampered-file-inside-bundle/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +verify-path.sh exit 1 diff --git a/evidence/dra-170/logs/installer_build.sh.gate.log b/evidence/dra-170/logs/installer_build.sh.gate.log new file mode 100644 index 0000000..ed256ec --- /dev/null +++ b/evidence/dra-170/logs/installer_build.sh.gate.log @@ -0,0 +1,7 @@ +$ OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/engine' sh build.sh '/dev/shm/hive/Hardening170/s/out' +built /dev/shm/hive/Hardening170/s/out/dist/aienos-alpha-20261029.1-linux-arm64.tar.gz +ce9da242da029bfcb5865adcd6450f77d15d3e0020bd3a2df9fc0b2163f16c44 aienos-alpha-20261029.1-linux-arm64.tar.gz +caae664628cbe4bd596cd4d0f56973727e3755dcbc92a1a6b0ca9ef7487f32bd install.sh +72a40e2b06401d054200bb511d6a3caf77397a93b285b22ebb8ac3c0d4354c99 aienos.om +2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 release.pub +23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a release.pub.pem diff --git a/evidence/dra-170/logs/installer_build.sh.neg.log b/evidence/dra-170/logs/installer_build.sh.neg.log new file mode 100644 index 0000000..eb97394 --- /dev/null +++ b/evidence/dra-170/logs/installer_build.sh.neg.log @@ -0,0 +1,2 @@ +$ OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/s/engine.tampered' sh build.sh '/dev/shm/hive/Hardening170/s/out-neg' # tamper: one byte appended to the engine +build.sh: /dev/shm/hive/Hardening170/s/engine.tampered sha256 8b98af59860bdf8aa76e3982ae0baf93803ccd45e7346487889c2d951d2f1a7a, want 6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 diff --git a/evidence/dra-170/logs/installer_tests_failure-paths_run.sh.gate.log b/evidence/dra-170/logs/installer_tests_failure-paths_run.sh.gate.log new file mode 100644 index 0000000..c77f572 --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_failure-paths_run.sh.gate.log @@ -0,0 +1,13 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s/fp' +FAIL disk-full EXERCISED(host, EFBIG stand-in for ENOSPC) cases=install,model control=opposite/same spark=NOT_RUN bad=3 scratch=/dev/shm/hive/Hardening170/s/fp/disk-full +FAIL no-network EXERCISED(host) cases=refused,nobundle,cut,wizard-model control=opposite/same spark=NOT_RUN bad=3 scratch=/dev/shm/hive/Hardening170/s/fp/no-network +PASS wrong-gpu-driver EXERCISED(host, fake probe roots) cases=nogpu,othergpu,olddrv,newdrv control=opposite spark=NOT_RUN +PASS interrupted-install EXERCISED(host) cases=download/KILL,download/INT,unpack/KILL,unpack/INT,moved/KILL,linked/KILL,listed/KILL control=opposite spark=NOT_RUN +PASS bad-signature EXERCISED(host) cases=otherkey,badsig,tampered control=opposite spark=NOT_RUN +PASS port-in-use EXERCISED(host, test build on port 60609) cases=tcp,http control=opposite spark=NOT_RUN +PASS uninstall-partial EXERCISED(host) cases=moved,linked,listed control=opposite spark=NOT_RUN +FAIL model-resume EXERCISED(host, 5 MB test model, loopback Range server) cases=stop/KILL,stop/INT,cut1,cut2 control=opposite spark=NOT_RUN bad=13 scratch=/dev/shm/hive/Hardening170/s/fp/model-resume +FAIL model-corrupt EXERCISED(host, 5 MB test model, loopback server) cases=served,on-disk,after control=opposite spark=NOT_RUN bad=9 scratch=/dev/shm/hive/Hardening170/s/fp/model-corrupt +FAIL rollback-clean EXERCISED(host, fake GB10 root) cases=bare,used control=opposite spark=NOT_RUN bad=3 scratch=/dev/shm/hive/Hardening170/s/fp/rollback-clean +PASS stale-tmp EXERCISED(host) cases=kill-rerun,live,young,badpid,old,symlink,other-user,other-prefix control=opposite spark=NOT_RUN +SUMMARY pass=6 fail=5 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s/fp diff --git a/evidence/dra-170/logs/installer_tests_failure-paths_run.sh.neg.log b/evidence/dra-170/logs/installer_tests_failure-paths_run.sh.neg.log new file mode 100644 index 0000000..eca3ecd --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_failure-paths_run.sh.neg.log @@ -0,0 +1,13 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' sh '/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/failure-paths/run.sh' '/dev/shm/hive/Hardening170/s/fp-neg' # tamper: install.sh signature check disabled +FAIL disk-full EXERCISED(host, EFBIG stand-in for ENOSPC) cases=install,model control=opposite/same spark=NOT_RUN bad=3 scratch=/dev/shm/hive/Hardening170/s/fp-neg/disk-full +FAIL no-network EXERCISED(host) cases=refused,nobundle,cut,wizard-model control=opposite/same spark=NOT_RUN bad=3 scratch=/dev/shm/hive/Hardening170/s/fp-neg/no-network +PASS wrong-gpu-driver EXERCISED(host, fake probe roots) cases=nogpu,othergpu,olddrv,newdrv control=opposite spark=NOT_RUN +PASS interrupted-install EXERCISED(host) cases=download/KILL,download/INT,unpack/KILL,unpack/INT,moved/KILL,linked/KILL,listed/KILL control=opposite spark=NOT_RUN +FAIL bad-signature EXERCISED(host) cases=otherkey,badsig,tampered control=opposite spark=NOT_RUN bad=8 scratch=/dev/shm/hive/Hardening170/s/fp-neg/bad-signature +PASS port-in-use EXERCISED(host, test build on port 52075) cases=tcp,http control=opposite spark=NOT_RUN +PASS uninstall-partial EXERCISED(host) cases=moved,linked,listed control=opposite spark=NOT_RUN +FAIL model-resume EXERCISED(host, 5 MB test model, loopback Range server) cases=stop/KILL,stop/INT,cut1,cut2 control=opposite spark=NOT_RUN bad=13 scratch=/dev/shm/hive/Hardening170/s/fp-neg/model-resume +FAIL model-corrupt EXERCISED(host, 5 MB test model, loopback server) cases=served,on-disk,after control=opposite spark=NOT_RUN bad=9 scratch=/dev/shm/hive/Hardening170/s/fp-neg/model-corrupt +FAIL rollback-clean EXERCISED(host, fake GB10 root) cases=bare,used control=opposite spark=NOT_RUN bad=3 scratch=/dev/shm/hive/Hardening170/s/fp-neg/rollback-clean +PASS stale-tmp EXERCISED(host) cases=kill-rerun,live,young,badpid,old,symlink,other-user,other-prefix control=opposite spark=NOT_RUN +SUMMARY pass=5 fail=6 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s/fp-neg diff --git a/evidence/dra-170/logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log b/evidence/dra-170/logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log new file mode 100644 index 0000000..2fb854a --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log @@ -0,0 +1,13 @@ +$ OMC='/dev/shm/hive/Hardening170/s/omc.tampered' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s/fp-omc' +NOT_RUN disk-full omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN no-network omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN wrong-gpu-driver omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN interrupted-install omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN bad-signature omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN port-in-use omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN uninstall-partial omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN model-resume omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN model-corrupt omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN rollback-clean omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN stale-tmp omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +SUMMARY pass=0 fail=0 not_run=11 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s/fp-omc diff --git a/evidence/dra-170/logs/installer_tests_lend.sh.gate.log b/evidence/dra-170/logs/installer_tests_lend.sh.gate.log new file mode 100644 index 0000000..ed2ff02 --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_lend.sh.gate.log @@ -0,0 +1,17 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s/out/stage' sh tests/lend.sh '/dev/shm/hive/Hardening170/s/lend' +FAIL lend-wizard-skip-changes-nothing: condition false (see /dev/shm/hive/Hardening170/s/lend) +FAIL lend-wizard-yes-without-program: condition false (see /dev/shm/hive/Hardening170/s/lend) +PASS lend-start-without-program-refuses +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=1 fail=2 notrun=12 scratch=/dev/shm/hive/Hardening170/s/lend diff --git a/evidence/dra-170/logs/installer_tests_lend.sh.neg.log b/evidence/dra-170/logs/installer_tests_lend.sh.neg.log new file mode 100644 index 0000000..432b045 --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_lend.sh.neg.log @@ -0,0 +1,17 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s/stage-neg' sh tests/lend.sh '/dev/shm/hive/Hardening170/s/lend-neg' # tamper: bin/aienos replaced by /bin/true +FAIL lend-wizard-skip-changes-nothing: condition false (see /dev/shm/hive/Hardening170/s/lend-neg) +FAIL lend-wizard-yes-without-program: condition false (see /dev/shm/hive/Hardening170/s/lend-neg) +FAIL lend-start-without-program-refuses: condition false (see /dev/shm/hive/Hardening170/s/lend-neg) +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=0 fail=3 notrun=12 scratch=/dev/shm/hive/Hardening170/s/lend-neg diff --git a/evidence/dra-170/logs/installer_tests_report.sh.gate.log b/evidence/dra-170/logs/installer_tests_report.sh.gate.log new file mode 100644 index 0000000..2515f54 --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_report.sh.gate.log @@ -0,0 +1,17 @@ +$ AIENOS='/dev/shm/hive/Hardening170/s/out/stage/bin/aienos' sh tests/report.sh '/dev/shm/hive/Hardening170/s/report' +PASS report written (rc=0) +PASS gzip integrity +PASS member list +PASS doc: member list +FAIL doc: fields missing from output: model: +PASS no canary in archive +PASS home path redacted +PASS allowed engine line kept +PASS home written as ~ +PASS checksums +PASS driver string +PASS no socket or connect call +PASS existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=14 fail=1 diff --git a/evidence/dra-170/logs/installer_tests_report.sh.neg.log b/evidence/dra-170/logs/installer_tests_report.sh.neg.log new file mode 100644 index 0000000..c9fa549 --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_report.sh.neg.log @@ -0,0 +1,77 @@ +$ AIENOS=/bin/true sh tests/report.sh '/dev/shm/hive/Hardening170/s/report-neg' # tamper: aienos replaced by /bin/true (exits 0, writes nothing) +FAIL report written (rc=0) +FAIL gzip integrity +tar (child): /dev/shm/hive/Hardening170/s/report-neg/out/report.tar.gz: Cannot open: No such file or directory +tar (child): Error is not recoverable: exiting now +tar: Child returned status 2 +tar: Error is not recoverable: exiting now +FAIL member list: +tar (child): /dev/shm/hive/Hardening170/s/report-neg/out/report.tar.gz: Cannot open: No such file or directory +tar (child): Error is not recoverable: exiting now +tar: Child returned status 2 +tar: Error is not recoverable: exiting now +PASS doc: member list +FAIL doc: fields missing from output: aienos doctor --report: +Never included: +Sovereign Intelligence alpha-20261029.1: +engine: + evidence: +GPU path: +model: +evidence: + this installer's GB10 install and first token, and the 3x physical qualification: +signature: +release folder: +kernel: +kernel release: +/etc/os-release: +/etc/os-release: +/etc/dgx-release: +/etc/dgx-release: +/etc/dgx-release: +NVIDIA kernel module (/sys/module/nvidia/version): +NVIDIA driver (/proc/driver/nvidia/version): +CUDA toolkit (/usr/local/cuda/version.json; not part of AienOS): +/proc/meminfo: +/proc/meminfo: +/proc/meminfo: +/proc/meminfo: +/proc/meminfo: +/proc/meminfo: +free disk in the home folder (df -B1 --output=avail): +[ info ] AienOS installed: +verdict: +release folder: +bundle sha256 recorded by install.sh (.bundle-sha256): +files: +model manifest (share/aienos/model.manifest): +autostart: +engine: +engine address: +lending program: +lending key: +lending: +lending paused: +lending log ~/.local/share/aienos/lend/lend.log: +curl: +aien-serve-http: +aien-serve-http: +lines copied: +lines left out: +gzip: /dev/shm/hive/Hardening170/s/report-neg/out/report.tar.gz: No such file or directory +PASS no canary in archive +gzip: /dev/shm/hive/Hardening170/s/report-neg/out/report.tar.gz: No such file or directory +PASS home path redacted +grep: /dev/shm/hive/Hardening170/s/report-neg/x/aienos-report/logs.txt: No such file or directory +FAIL allowed engine line kept +grep: /dev/shm/hive/Hardening170/s/report-neg/x/aienos-report/logs.txt: No such file or directory +FAIL home written as ~ +grep: /dev/shm/hive/Hardening170/s/report-neg/x/aienos-report/checksums.txt: No such file or directory +FAIL checksums +grep: /dev/shm/hive/Hardening170/s/report-neg/x/aienos-report/system.txt: No such file or directory +FAIL driver string +PASS no socket or connect call +FAIL existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=6 fail=9 diff --git a/evidence/dra-170/logs/installer_tests_run.sh.gate.log b/evidence/dra-170/logs/installer_tests_run.sh.gate.log new file mode 100644 index 0000000..373deb3 --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_run.sh.gate.log @@ -0,0 +1,108 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s/out/dist' STAGE='/dev/shm/hive/Hardening170/s/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s/run' +NOTE DIST is unsigned: section A uses a test-key signature; the release-key signature check is NOT_RUN +PASS bootstrap-refuses-darwin +PASS bootstrap-refuses-x86 +PASS bootstrap-refuses-nogpu +PASS bootstrap-refuses-othergpu +PASS bootstrap-refuses-olddrv +PASS bootstrap-installs +PASS bootstrap-reports-driver +PASS desktop-entry-points-at-wizard +PASS omega-verify-installed-release +PASS bootstrap-idempotent +PASS tampered-bundle-refused +PASS rewritten-sums-refused +PASS missing-signature-refused +PASS install-log-written +PASS report-has-install-log +PASS uninstall-leaves-no-files +PASS wizard-happy-path +PASS wizard-first-chat +PASS wizard-zero-cuda-maps +PASS wizard-lend-skipped-by-default +PASS engine-stops +PASS chat-command +PASS omega-verify-detects-change +PASS tampered-model-refused +PASS bootstrap-nogpu-installs-nothing +PASS wizard-refuses-nogpu +PASS doctor-says-no-nogpu +PASS wizard-refuses-othergpu +PASS doctor-says-no-othergpu +PASS wizard-refuses-olddrv +PASS doctor-says-no-olddrv +PASS busy-gpu-starts-no-engine +PASS rollback +PASS uninstall-keep-model +PASS uninstall-asks-first +PASS uninstall-everything +FAIL lend-wizard-skip-changes-nothing: condition false (see /dev/shm/hive/Hardening170/s/run/lend) +FAIL lend-wizard-yes-without-program: condition false (see /dev/shm/hive/Hardening170/s/run/lend) +PASS lend-start-without-program-refuses +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=1 fail=2 notrun=12 scratch=/dev/shm/hive/Hardening170/s/run/lend +FAIL lend-suite: condition false (see /dev/shm/hive/Hardening170/s/run) +PASS report written (rc=0) +PASS gzip integrity +PASS member list +PASS doc: member list +FAIL doc: fields missing from output: model: +PASS no canary in archive +PASS home path redacted +PASS allowed engine line kept +PASS home written as ~ +PASS checksums +PASS driver string +PASS no socket or connect call +PASS existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=14 fail=1 +FAIL report-suite: condition false (see /dev/shm/hive/Hardening170/s/run) +PASS token-plan-lists-file +stat: cannot statx '/dev/shm/hive/Hardening170/s/run/token/home-w1/.local/share/aienos/auth': No such file or directory +FAIL token-file-0600-dir-0700: condition false (see /dev/shm/hive/Hardening170/s/run/token) +/dev/shm/hive/Hardening170/s/base/installer/tests/token.sh: 103: cannot open /dev/shm/hive/Hardening170/s/run/token/home-w1/.local/share/aienos/auth/bearer-token: No such file +FAIL token-64-hex-one-line: condition false (see /dev/shm/hive/Hardening170/s/run/token) +FAIL token-wizard-chat-authorized: condition false (see /dev/shm/hive/Hardening170/s/run/token) +head: cannot open '/dev/shm/hive/Hardening170/s/run/token/home-w1/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +FAIL token-not-in-logs-or-output: condition false (see /dev/shm/hive/Hardening170/s/run/token) +FAIL token-in-engine-env-not-argv: condition false (see /dev/shm/hive/Hardening170/s/run/token) +PASS token-kept-across-starts +PASS control-wrong-token-401 +PASS control-missing-header-401 +PASS token-chat-command-authorized +PASS control-engine-without-token-refuses +FAIL token-header-in-every-request: condition false (see /dev/shm/hive/Hardening170/s/run/token) +PASS control-capture-sees-missing-header +PASS token-from-getrandom-32-bytes +PASS control-existing-token-not-redrawn +PASS token-differs-per-install +PASS control-file-0644-refused +PASS control-dir-0755-refused +PASS control-symlink-refused +PASS control-non-hex-refused +PASS control-short-token-refused +PASS token-restored-starts +PASS token-remade-after-removal +FAIL control-wizard-refuses-open-folder: condition false (see /dev/shm/hive/Hardening170/s/run/token) +PASS token-removed-by-uninstall +NOT_RUN core-refuses-without-token: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-matrix-401-401-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-chat-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-wrong-token-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-missing-header-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +AIENOS-TOKEN-TESTS pass=18 fail=7 notrun=5 scratch=/dev/shm/hive/Hardening170/s/run/token +FAIL token-suite: condition false (see /dev/shm/hive/Hardening170/s/run) +AIENOS-TESTS pass=36 fail=3 scratch=/dev/shm/hive/Hardening170/s/run diff --git a/evidence/dra-170/logs/installer_tests_run.sh.neg.log b/evidence/dra-170/logs/installer_tests_run.sh.neg.log new file mode 100644 index 0000000..06b4801 --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_run.sh.neg.log @@ -0,0 +1,110 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s/dist-neg' STAGE='/dev/shm/hive/Hardening170/s/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s/run-neg' # tamper: one byte appended to the bundle +NOTE DIST is unsigned: section A uses a test-key signature; the release-key signature check is NOT_RUN +PASS bootstrap-refuses-darwin +PASS bootstrap-refuses-x86 +PASS bootstrap-refuses-nogpu +PASS bootstrap-refuses-othergpu +PASS bootstrap-refuses-olddrv +FAIL bootstrap-installs: condition false (see /dev/shm/hive/Hardening170/s/run-neg) +PASS bootstrap-reports-driver +grep: /dev/shm/hive/Hardening170/s/run-neg/home-a2/.local/share/applications/aienos.desktop: No such file or directory +FAIL desktop-entry-points-at-wizard: condition false (see /dev/shm/hive/Hardening170/s/run-neg) +FAIL omega-verify-installed-release: condition false (see /dev/shm/hive/Hardening170/s/run-neg) +tests/run.sh: 110: cd: can't cd to /dev/shm/hive/Hardening170/s/run-neg/home-a2/.local/share/aienos/current/ +FAIL bootstrap-idempotent: condition false (see /dev/shm/hive/Hardening170/s/run-neg) +PASS tampered-bundle-refused +PASS rewritten-sums-refused +PASS missing-signature-refused +PASS install-log-written +FAIL report-has-install-log: condition false (see /dev/shm/hive/Hardening170/s/run-neg) +FAIL uninstall-leaves-no-files: condition false (see /dev/shm/hive/Hardening170/s/run-neg) +PASS wizard-happy-path +PASS wizard-first-chat +PASS wizard-zero-cuda-maps +PASS wizard-lend-skipped-by-default +PASS engine-stops +PASS chat-command +PASS omega-verify-detects-change +PASS tampered-model-refused +PASS bootstrap-nogpu-installs-nothing +PASS wizard-refuses-nogpu +PASS doctor-says-no-nogpu +PASS wizard-refuses-othergpu +PASS doctor-says-no-othergpu +PASS wizard-refuses-olddrv +PASS doctor-says-no-olddrv +PASS busy-gpu-starts-no-engine +PASS rollback +PASS uninstall-keep-model +PASS uninstall-asks-first +PASS uninstall-everything +FAIL lend-wizard-skip-changes-nothing: condition false (see /dev/shm/hive/Hardening170/s/run-neg/lend) +FAIL lend-wizard-yes-without-program: condition false (see /dev/shm/hive/Hardening170/s/run-neg/lend) +PASS lend-start-without-program-refuses +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=1 fail=2 notrun=12 scratch=/dev/shm/hive/Hardening170/s/run-neg/lend +FAIL lend-suite: condition false (see /dev/shm/hive/Hardening170/s/run-neg) +PASS report written (rc=0) +PASS gzip integrity +PASS member list +PASS doc: member list +FAIL doc: fields missing from output: model: +PASS no canary in archive +PASS home path redacted +PASS allowed engine line kept +PASS home written as ~ +PASS checksums +PASS driver string +PASS no socket or connect call +PASS existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=14 fail=1 +FAIL report-suite: condition false (see /dev/shm/hive/Hardening170/s/run-neg) +PASS token-plan-lists-file +stat: cannot statx '/dev/shm/hive/Hardening170/s/run-neg/token/home-w1/.local/share/aienos/auth': No such file or directory +FAIL token-file-0600-dir-0700: condition false (see /dev/shm/hive/Hardening170/s/run-neg/token) +/dev/shm/hive/Hardening170/s/base/installer/tests/token.sh: 103: cannot open /dev/shm/hive/Hardening170/s/run-neg/token/home-w1/.local/share/aienos/auth/bearer-token: No such file +FAIL token-64-hex-one-line: condition false (see /dev/shm/hive/Hardening170/s/run-neg/token) +FAIL token-wizard-chat-authorized: condition false (see /dev/shm/hive/Hardening170/s/run-neg/token) +head: cannot open '/dev/shm/hive/Hardening170/s/run-neg/token/home-w1/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +FAIL token-not-in-logs-or-output: condition false (see /dev/shm/hive/Hardening170/s/run-neg/token) +FAIL token-in-engine-env-not-argv: condition false (see /dev/shm/hive/Hardening170/s/run-neg/token) +PASS token-kept-across-starts +PASS control-wrong-token-401 +PASS control-missing-header-401 +PASS token-chat-command-authorized +PASS control-engine-without-token-refuses +FAIL token-header-in-every-request: condition false (see /dev/shm/hive/Hardening170/s/run-neg/token) +PASS control-capture-sees-missing-header +PASS token-from-getrandom-32-bytes +PASS control-existing-token-not-redrawn +PASS token-differs-per-install +PASS control-file-0644-refused +PASS control-dir-0755-refused +PASS control-symlink-refused +PASS control-non-hex-refused +PASS control-short-token-refused +PASS token-restored-starts +PASS token-remade-after-removal +FAIL control-wizard-refuses-open-folder: condition false (see /dev/shm/hive/Hardening170/s/run-neg/token) +PASS token-removed-by-uninstall +NOT_RUN core-refuses-without-token: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-matrix-401-401-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-chat-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-wrong-token-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-missing-header-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +AIENOS-TOKEN-TESTS pass=18 fail=7 notrun=5 scratch=/dev/shm/hive/Hardening170/s/run-neg/token +FAIL token-suite: condition false (see /dev/shm/hive/Hardening170/s/run-neg) +AIENOS-TESTS pass=30 fail=9 scratch=/dev/shm/hive/Hardening170/s/run-neg diff --git a/evidence/dra-170/logs/installer_tests_token.sh.gate.log b/evidence/dra-170/logs/installer_tests_token.sh.gate.log new file mode 100644 index 0000000..1eab877 --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_token.sh.gate.log @@ -0,0 +1,35 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s/out/stage' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token' +PASS token-plan-lists-file +stat: cannot statx '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token/home-w1/.local/share/aienos/auth': No such file or directory +FAIL token-file-0600-dir-0700: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token) +tests/token.sh: 103: cannot open /home/drakestapleton/work/hive/Hardening170/.scratch/s/token/home-w1/.local/share/aienos/auth/bearer-token: No such file +FAIL token-64-hex-one-line: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token) +FAIL token-wizard-chat-authorized: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token) +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token/home-w1/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +FAIL token-not-in-logs-or-output: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token) +FAIL token-in-engine-env-not-argv: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token) +PASS token-kept-across-starts +PASS control-wrong-token-401 +PASS control-missing-header-401 +PASS token-chat-command-authorized +PASS control-engine-without-token-refuses +FAIL token-header-in-every-request: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token) +PASS control-capture-sees-missing-header +PASS token-from-getrandom-32-bytes +PASS control-existing-token-not-redrawn +PASS token-differs-per-install +PASS control-file-0644-refused +PASS control-dir-0755-refused +PASS control-symlink-refused +PASS control-non-hex-refused +PASS control-short-token-refused +PASS token-restored-starts +PASS token-remade-after-removal +FAIL control-wizard-refuses-open-folder: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token) +PASS token-removed-by-uninstall +PASS core-refuses-without-token +PASS core-matrix-401-401-200 +PASS core-wizard-chat-200 +PASS core-wizard-wrong-token-401 +PASS core-wizard-missing-header-401 +AIENOS-TOKEN-TESTS pass=23 fail=7 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s/token diff --git a/evidence/dra-170/logs/installer_tests_token.sh.neg.log b/evidence/dra-170/logs/installer_tests_token.sh.neg.log new file mode 100644 index 0000000..7ce63ed --- /dev/null +++ b/evidence/dra-170/logs/installer_tests_token.sh.neg.log @@ -0,0 +1,56 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s/stage-neg' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg' # tamper: bin/aienos replaced by /bin/true +FAIL token-plan-lists-file: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +stat: cannot statx '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w1/.local/share/aienos/auth': No such file or directory +FAIL token-file-0600-dir-0700: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +tests/token.sh: 103: cannot open /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w1/.local/share/aienos/auth/bearer-token: No such file +FAIL token-64-hex-one-line: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +FAIL token-wizard-chat-authorized: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w1/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +FAIL token-not-in-logs-or-output: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +FAIL token-in-engine-env-not-argv: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +tests/token.sh: 118: cannot open /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w1/.local/share/aienos/auth/bearer-token: No such file +tests/token.sh: 121: cannot open /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w1/.local/share/aienos/auth/bearer-token: No such file +PASS token-kept-across-starts +cp: cannot stat '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w1/.local/share/aienos/auth/bearer-token': No such file or directory +tests/token.sh: 124: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w1/.local/share/aienos/auth/bearer-token: Directory nonexistent +FAIL control-wrong-token-401: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +tests/token.sh: 128: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w1/.local/share/aienos/auth/bearer-token: Directory nonexistent +PASS control-missing-header-401 +FAIL token-chat-command-authorized: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +FAIL control-engine-without-token-refuses: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +FAIL token-header-in-every-request: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +FAIL control-capture-sees-missing-header: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +FAIL token-from-getrandom-32-bytes: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +PASS control-existing-token-not-redrawn +FAIL token-differs-per-install: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +chmod: cannot access '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +FAIL control-file-0644-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +chmod: cannot access '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +chmod: cannot access '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth': No such file or directory +FAIL control-dir-0755-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +chmod: cannot access '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth': No such file or directory +mv: cannot stat '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +ln: failed to create symbolic link '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +FAIL control-symlink-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +rm: cannot remove '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +mv: cannot stat '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/w2.tok': No such file or directory +cp: cannot stat '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +FAIL control-non-hex-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +tests/token.sh: 238: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token: Directory nonexistent +tests/token.sh: 238: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token: Directory nonexistent +FAIL control-short-token-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +tests/token.sh: 241: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token: Directory nonexistent +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/w2.tok' for reading: No such file or directory +PASS token-restored-starts +stat: cannot statx '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +FAIL token-remade-after-removal: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +FAIL control-wizard-refuses-open-folder: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +FAIL token-removed-by-uninstall: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg) +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/home-core/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +PASS core-refuses-without-token +FAIL core-matrix-401-401-200: engine did not start (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/core1.log) +FAIL core-wizard-chat-200: engine did not start on 18100 (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/core2.log) +FAIL core-wizard-wrong-token-401: engine did not start on 18100 (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/core2.log) +FAIL core-wizard-missing-header-401: engine did not start on 18100 (see /home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg/core2.log) +AIENOS-TOKEN-TESTS pass=5 fail=25 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s/token-neg diff --git a/evidence/dra-170/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log b/evidence/dra-170/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log new file mode 100644 index 0000000..703685b --- /dev/null +++ b/evidence/dra-170/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy +LEARN-CHECK PASS runners=0 diff --git a/evidence/dra-170/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log b/evidence/dra-170/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log new file mode 100644 index 0000000..c33aff2 --- /dev/null +++ b/evidence/dra-170/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy # tamper: docs/learn/run.sh added +LEARN-CHECK FAIL +docs/learn/run.sh ext diff --git a/evidence/dra-170/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log b/evidence/dra-170/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log new file mode 100644 index 0000000..93b87d2 --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log @@ -0,0 +1,3 @@ +$ rm -rf '/dev/shm/hive/Hardening170/s/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170' '/dev/shm/hive/Hardening170/s/inv' && git -C '/dev/shm/hive/Hardening170/s/inv' checkout -q 2b90bdf82cde11ced998e9463db77487ad041dfc && cd '/dev/shm/hive/Hardening170/s/inv' && python3 notes/rc2/verify_inventory.py --self-test +OK 41 verifications match the locks at the recorded SHAs +MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000 diff --git a/evidence/dra-170/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log b/evidence/dra-170/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log new file mode 100644 index 0000000..7d9da99 --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit +FAIL 1 +pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60 diff --git a/evidence/dra-170/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log b/evidence/dra-170/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log new file mode 100644 index 0000000..0190b87 --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) +PASS 18/18 diff --git a/evidence/dra-170/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log b/evidence/dra-170/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log new file mode 100644 index 0000000..c2bafe9 --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) # tamper: f=$(ls installer/tests/ansi-txt/*.txt | head -n 1); sed -i "1s/^/X/" "$f" +FAIL basic.100x34 rc=0 +FAIL bad=1 of 18 diff --git a/evidence/dra-170/logs/verify.yml_verify_Compile_the_wizard_twice.gate.log b/evidence/dra-170/logs/verify.yml_verify_Compile_the_wizard_twice.gate.log new file mode 100644 index 0000000..224e09c --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Compile_the_wizard_twice.gate.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Compile the wizard twice +72a40e2b06401d054200bb511d6a3caf77397a93b285b22ebb8ac3c0d4354c99 /dev/shm/hive/Hardening170/s/rt-verify/aienos.om +725b284298610df5886ba33ba1da75ebcdcd67a21ab059b8688616fe1a2487ba /dev/shm/hive/Hardening170/s/rt-verify/a1 diff --git a/evidence/dra-170/logs/verify.yml_verify_Compile_the_wizard_twice.neg.log b/evidence/dra-170/logs/verify.yml_verify_Compile_the_wizard_twice.neg.log new file mode 100644 index 0000000..fe716ea --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Compile_the_wizard_twice.neg.log @@ -0,0 +1 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf "fn broken(\n" >> installer/wizard/report.om diff --git a/evidence/dra-170/logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log b/evidence/dra-170/logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log new file mode 100644 index 0000000..ed754b6 --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log @@ -0,0 +1,43 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Doctor on fake hardware +[ ok ] CPU arm64 (aarch64), Linux +[ ok ] GPU NVIDIA GB10 found (PCI 10de:2e12), device nodes present +[ ok ] Driver kernel driver 580.173.02 (the version this alpha was built and tested against) +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 50.5 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +doctor gb10 rc=0 want=0 +[ ok ] CPU arm64 (aarch64), Linux +[ no ] GPU no NVIDIA GB10 found: this alpha runs only on a DGX Spark (GB10) +[ no ] Driver no NVIDIA kernel module loaded (/sys/module/nvidia/version missing) +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 50.5 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +This alpha runs on Linux arm64 with an NVIDIA GB10 (DGX Spark) only. +Here is what is coming: https://www.aienos.com/alpha/ +doctor nogpu rc=1 want=1 +[ ok ] CPU arm64 (aarch64), Linux +[ no ] GPU no NVIDIA GB10 found: this alpha runs only on a DGX Spark (GB10) +[ ok ] Driver kernel driver 580.173.02 (the version this alpha was built and tested against) +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 50.5 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +This alpha runs on Linux arm64 with an NVIDIA GB10 (DGX Spark) only. +Here is what is coming: https://www.aienos.com/alpha/ +doctor othergpu rc=1 want=1 +[ ok ] CPU arm64 (aarch64), Linux +[ ok ] GPU NVIDIA GB10 found (PCI 10de:2e12), device nodes present +[ no ] Driver kernel driver 570.86.10 found; this alpha only knows 580.173.02, so it stops here +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 50.5 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +This alpha runs on Linux arm64 with an NVIDIA GB10 (DGX Spark) only. +Here is what is coming: https://www.aienos.com/alpha/ +doctor olddrv rc=1 want=1 diff --git a/evidence/dra-170/logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log b/evidence/dra-170/logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log new file mode 100644 index 0000000..bac840b --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log @@ -0,0 +1,12 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Doctor on fake hardware # tamper: sed -i "s/gb10|gb10-busy) gpu 0x2e12 580.173.02/gb10|gb10-busy) gpu 0x2e12 570.86.10/" installer/tests/fake-root.sh +[ ok ] CPU arm64 (aarch64), Linux +[ ok ] GPU NVIDIA GB10 found (PCI 10de:2e12), device nodes present +[ no ] Driver kernel driver 570.86.10 found; this alpha only knows 580.173.02, so it stops here +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 50.5 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +This alpha runs on Linux arm64 with an NVIDIA GB10 (DGX Spark) only. +Here is what is coming: https://www.aienos.com/alpha/ +doctor gb10 rc=1 want=0 diff --git a/evidence/dra-170/logs/verify.yml_verify_Pinned_omega-mv.gate.log b/evidence/dra-170/logs/verify.yml_verify_Pinned_omega-mv.gate.log new file mode 100644 index 0000000..b34db37 --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Pinned_omega-mv.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Pinned omega-mv +/dev/shm/hive/Hardening170/s/rt-verify/omega/seed/out/omc: OK diff --git a/evidence/dra-170/logs/verify.yml_verify_Pinned_omega-mv.neg.log b/evidence/dra-170/logs/verify.yml_verify_Pinned_omega-mv.neg.log new file mode 100644 index 0000000..bf05f3b --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Pinned_omega-mv.neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Pinned omega-mv # tamper: printf x >> "$RT/omega/seed/out/omc" +/dev/shm/hive/Hardening170/s/rt-neg/omega/seed/out/omc: FAILED +sha256sum: WARNING: 1 computed checksum did NOT match diff --git a/evidence/dra-170/logs/verify.yml_verify_Shell_syntax.gate.log b/evidence/dra-170/logs/verify.yml_verify_Shell_syntax.gate.log new file mode 100644 index 0000000..6001a61 --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Shell_syntax.gate.log @@ -0,0 +1 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Shell syntax diff --git a/evidence/dra-170/logs/verify.yml_verify_Shell_syntax.neg.log b/evidence/dra-170/logs/verify.yml_verify_Shell_syntax.neg.log new file mode 100644 index 0000000..1d309dc --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Shell_syntax.neg.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Shell syntax # tamper: printf "if then\n" >> installer/tests/lend.sh +installer/tests/lend.sh: 170: Syntax error: "then" unexpected diff --git a/evidence/dra-170/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log b/evidence/dra-170/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log new file mode 100644 index 0000000..e0abb63 --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) +port 18100: only in const PORT diff --git a/evidence/dra-170/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log b/evidence/dra-170/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log new file mode 100644 index 0000000..918c082 --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) # tamper: p=$(sed -n "s/^const PORT ulong \([0-9][0-9]*\)\$/\1/p" installer/wizard/engine.om); printf "// fallback port %s\n" "$p" >> installer/wizard/lib.om +installer/wizard/lib.om:641:// fallback port 18100 +::error::the wizard writes port 18100 outside const PORT; print it from PORT (eaddr, pladdr, pkaddr) diff --git a/evidence/dra-170/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log b/evidence/dra-170/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log new file mode 100644 index 0000000..cccc45c --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log @@ -0,0 +1 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's diff --git a/evidence/dra-170/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log b/evidence/dra-170/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log new file mode 100644 index 0000000..c9d9180 --- /dev/null +++ b/evidence/dra-170/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's # tamper: sed -i "\$s/\$/ /" installer/wizard/sha256.om +- /dev/shm/hive/Hardening170/s/rt-neg/sha.body differ: byte 9555, line 344 diff --git a/evidence/dra-170/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log b/evidence/dra-170/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log new file mode 100644 index 0000000..5257235 --- /dev/null +++ b/evidence/dra-170/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log @@ -0,0 +1,16 @@ +$ cd '/dev/shm/hive/Hardening170/s/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls +OK /dev/shm/hive/Hardening170/s/base/.github/workflows/index-sync.yml +OK /dev/shm/hive/Hardening170/s/base/.github/workflows/index.yml +OK /dev/shm/hive/Hardening170/s/base/.github/workflows/installer-verify-path.yml +OK /dev/shm/hive/Hardening170/s/base/.github/workflows/learn.yml +OK /dev/shm/hive/Hardening170/s/base/.github/workflows/release-verify.yml +OK /dev/shm/hive/Hardening170/s/base/.github/workflows/sbom.yml +OK /dev/shm/hive/Hardening170/s/base/.github/workflows/verify.yml +OK /dev/shm/hive/Hardening170/s/base/.github/workflows/workflow-yaml.yml +CONTROL good plain.yml: accepted +NEGATIVE-CONTROL conflict-markers.yml: rejected as expected (/dev/shm/hive/Hardening170/s/base/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml: while scanning a simple key in "/dev/shm/hive/Hardening170/s/base/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml", line 12, column 1 could not find expected ':' in "/dev/shm/hive/Hardening170/s/base/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml", line 13, column 13) +NEGATIVE-CONTROL duplicate-key.yml: rejected as expected (/dev/shm/hive/Hardening170/s/base/installer/tests/fixtures/workflow-yaml/bad/duplicate-key.yml: duplicate key 'permissions' in "/dev/shm/hive/Hardening170/s/base/installer/tests/fixtures/workflow-yaml/bad/duplicate-key.yml", line 6, column 1) +NEGATIVE-CONTROL empty.yml: rejected as expected (/dev/shm/hive/Hardening170/s/base/installer/tests/fixtures/workflow-yaml/bad/empty.yml: not a workflow mapping with an on: key) +NEGATIVE-CONTROL no-jobs.yml: rejected as expected (/dev/shm/hive/Hardening170/s/base/installer/tests/fixtures/workflow-yaml/bad/no-jobs.yml: no jobs mapping) +NEGATIVE-CONTROL tab-indent.yml: rejected as expected (/dev/shm/hive/Hardening170/s/base/installer/tests/fixtures/workflow-yaml/bad/tab-indent.yml: while scanning for the next token found character ' ' that cannot start any token in "/dev/shm/hive/Hardening170/s/base/installer/tests/fixtures/workflow-yaml/bad/tab-indent.yml", line 11, column 1) +WORKFLOW-YAML PASS files=8 negative-controls=5 diff --git a/evidence/dra-170/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log b/evidence/dra-170/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log new file mode 100644 index 0000000..76e73ae --- /dev/null +++ b/evidence/dra-170/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log @@ -0,0 +1,17 @@ +$ cd '/dev/shm/hive/Hardening170/s/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls # tamper: conflict marker appended to .github/workflows/sbom.yml +OK /dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/index-sync.yml +OK /dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/index.yml +OK /dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/installer-verify-path.yml +OK /dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/learn.yml +OK /dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/release-verify.yml +/dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/sbom.yml: while scanning a simple key in "/dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/sbom.yml", line 24, column 1 could not find expected ':' in "/dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/sbom.yml", line 25, column 1 +FAIL /dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/sbom.yml +OK /dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/verify.yml +OK /dev/shm/hive/Hardening170/s/neg-tree/.github/workflows/workflow-yaml.yml +CONTROL good plain.yml: accepted +NEGATIVE-CONTROL conflict-markers.yml: rejected as expected (/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml: while scanning a simple key in "/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml", line 12, column 1 could not find expected ':' in "/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml", line 13, column 13) +NEGATIVE-CONTROL duplicate-key.yml: rejected as expected (/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/fixtures/workflow-yaml/bad/duplicate-key.yml: duplicate key 'permissions' in "/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/fixtures/workflow-yaml/bad/duplicate-key.yml", line 6, column 1) +NEGATIVE-CONTROL empty.yml: rejected as expected (/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/fixtures/workflow-yaml/bad/empty.yml: not a workflow mapping with an on: key) +NEGATIVE-CONTROL no-jobs.yml: rejected as expected (/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/fixtures/workflow-yaml/bad/no-jobs.yml: no jobs mapping) +NEGATIVE-CONTROL tab-indent.yml: rejected as expected (/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/fixtures/workflow-yaml/bad/tab-indent.yml: while scanning for the next token found character ' ' that cannot start any token in "/dev/shm/hive/Hardening170/s/neg-tree/installer/tests/fixtures/workflow-yaml/bad/tab-indent.yml", line 11, column 1) +WORKFLOW-YAML FAIL diff --git a/evidence/dra-170/main-2554682/gates_run.json b/evidence/dra-170/main-2554682/gates_run.json new file mode 100644 index 0000000..31daa71 --- /dev/null +++ b/evidence/dra-170/main-2554682/gates_run.json @@ -0,0 +1,531 @@ +{ + "issue": "DRA-170", + "repo": "aien-dev/sovereign-intelligence", + "candidate": "2554682006aef0a6926841c5db217c02dd4a02ce", + "scope": "host only (Spark CPU cores 0-2, bwrap); not hardware qualification", + "counts": { + "PASS": 22, + "FAIL": 0, + "INCONCLUSIVE": 2, + "NOT_RUN": 8 + }, + "gates": [ + { + "gate": "verify.yml/verify/Shell syntax", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Shell syntax", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Shell syntax", + "log": "logs/verify.yml_verify_Shell_syntax.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Shell syntax # tamper: printf \"if then\\n\" >> installer/tests/lend.sh", + "rc": 2, + "last_line": "installer/tests/lend.sh: 175: Syntax error: \"then\" unexpected", + "log": "logs/verify.yml_verify_Shell_syntax.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Pinned omega-mv", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Pinned omega-mv", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "/dev/shm/hive/Hardening170/s2/rt-verify/omega/seed/out/omc: OK", + "log": "logs/verify.yml_verify_Pinned_omega-mv.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Pinned omega-mv # tamper: printf x >> \"$RT/omega/seed/out/omc\"", + "rc": 1, + "last_line": "sha256sum: WARNING: 1 computed checksum did NOT match", + "log": "logs/verify.yml_verify_Pinned_omega-mv.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Vendored SHA-256 unit is the derivation of omega-mv's", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's", + "log": "logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's # tamper: sed -i \"\\$s/\\$/ /\" installer/wizard/sha256.om", + "rc": 1, + "last_line": "- /dev/shm/hive/Hardening170/s2/rt-neg/sha.body differ: byte 9555, line 344", + "log": "logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Compile the wizard twice", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Compile the wizard twice", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "725b284298610df5886ba33ba1da75ebcdcd67a21ab059b8688616fe1a2487ba /dev/shm/hive/Hardening170/s2/rt-verify/a1", + "log": "logs/verify.yml_verify_Compile_the_wizard_twice.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf \"fn broken(\\n\" >> installer/wizard/report.om", + "rc": 16, + "last_line": "$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf \"fn broken(\\n\" >> installer/wizard/report.om", + "log": "logs/verify.yml_verify_Compile_the_wizard_twice.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Capture text frames in Omega match the recorded outputs (#31)", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31)", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "PASS 18/18", + "log": "logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) # tamper: f=$(ls installer/tests/ansi-txt/*.txt | head -n 1); sed -i \"1s/^/X/\" \"$f\"", + "rc": 1, + "last_line": "FAIL bad=1 of 18", + "log": "logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/The engine port is written once, in PORT (#34)", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34)", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "port 18100: only in const PORT", + "log": "logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) # tamper: p=$(sed -n \"s/^const PORT ulong \\([0-9][0-9]*\\)\\$/\\1/p\" installer/wizard/engine.om); printf \"// fallback port %s\\n\" \"$p\" >> installer/wizard/lib.om", + "rc": 1, + "last_line": "::error::the wizard writes port 18100 outside const PORT; print it from PORT (eaddr, pladdr, pkaddr)", + "log": "logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Doctor on fake hardware", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Doctor on fake hardware", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "doctor olddrv rc=1 want=1", + "log": "logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Doctor on fake hardware # tamper: sed -i \"s/gb10|gb10-busy) gpu 0x2e12 580.173.02/gb10|gb10-busy) gpu 0x2e12 570.86.10/\" installer/tests/fake-root.sh", + "rc": 1, + "last_line": "doctor gb10 rc=1 want=0", + "log": "logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "index.yml/index-check/Pinned omega-mv", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Pinned omega-mv", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "/dev/shm/hive/Hardening170/s2/rt-index/omega/seed/out/omc: OK", + "log": "logs/index.yml_index-check_Pinned_omega-mv.gate.log", + "negative_control": null, + "label": "INCONCLUSIVE" + }, + { + "gate": "index.yml/index-check/Compile the generator twice", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Compile the generator twice", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "e52ec0ac64ac3bd55771a8ff1424e2bf575a1c5e823abf982c1021d3bfd59b05 /dev/shm/hive/Hardening170/s2/rt-index/index", + "log": "logs/index.yml_index-check_Compile_the_generator_twice.gate.log", + "negative_control": null, + "label": "INCONCLUSIVE" + }, + { + "gate": "index.yml/index-check/Index, curated entries and README agree", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "index: 90 repositories, curated and rendered", + "log": "logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree # tamper: last entry removed from index/repos.json", + "rc": 1, + "last_line": "remove them (a private repository must never be named here)", + "log": "logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "index.yml/index-check/Negative control, an uncurated public repository fails", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "negative control rc=1 want=1", + "log": "logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails # tamper: fixture repository fake-uncurated-repo renamed to sovereign-intelligence (curated)", + "rc": 1, + "last_line": "negative control rc=1 want=1", + "log": "logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer-verify-path.yml/verify-path/Verification path with negative controls", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-vp' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "verify-path.sh exit 0", + "log": "logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-vp-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls # tamper: install.sh signature check disabled (if false && ! openssl pkeyutl -verify)", + "rc": 1, + "last_line": "verify-path.sh exit 1", + "log": "logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "workflow-yaml.yml/parse/Parse every workflow and the negative controls", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "WORKFLOW-YAML PASS files=8 negative-controls=5", + "log": "logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls # tamper: conflict marker appended to .github/workflows/sbom.yml", + "rc": 1, + "last_line": "WORKFLOW-YAML FAIL", + "log": "logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "learn.yml/learn-check/No first-party runners under docs/learn or docs/academy", + "command": "cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "LEARN-CHECK PASS runners=0", + "log": "logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy # tamper: docs/learn/run.sh added", + "rc": 1, + "last_line": "docs/learn/run.sh ext", + "log": "logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/build.sh", + "command": "OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/engine' sh build.sh '/dev/shm/hive/Hardening170/s2/out'", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a release.pub.pem", + "log": "logs/installer_build.sh.gate.log", + "negative_control": { + "command": "OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/s2/engine.tampered' sh build.sh '/dev/shm/hive/Hardening170/s2/out-neg' # tamper: one byte appended to the engine", + "rc": 7, + "last_line": "build.sh: /dev/shm/hive/Hardening170/s2/engine.tampered sha256 8b98af59860bdf8aa76e3982ae0baf93803ccd45e7346487889c2d951d2f1a7a, want 6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9", + "log": "logs/installer_build.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/tests/report.sh", + "command": "AIENOS='/dev/shm/hive/Hardening170/s2/out/stage/bin/aienos' sh tests/report.sh '/dev/shm/hive/Hardening170/s2/report'", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "REPORT-TESTS pass=15 fail=0", + "log": "logs/installer_tests_report.sh.gate.log", + "negative_control": { + "command": "AIENOS=/bin/true sh tests/report.sh '/dev/shm/hive/Hardening170/s2/report-neg' # tamper: aienos replaced by /bin/true (exits 0, writes nothing)", + "rc": 1, + "last_line": "REPORT-TESTS pass=6 fail=9", + "log": "logs/installer_tests_report.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/tests/run.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s2/out/dist' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s2/run'", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "AIENOS-TESTS pass=39 fail=0 scratch=/dev/shm/hive/Hardening170/s2/run", + "log": "logs/installer_tests_run.sh.gate.log", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s2/dist-neg' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s2/run-neg' # tamper: one byte appended to the bundle", + "rc": 1, + "last_line": "AIENOS-TESTS pass=33 fail=6 scratch=/dev/shm/hive/Hardening170/s2/run-neg", + "log": "logs/installer_tests_run.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS", + "not_run_subcases": [ + "NOTE DIST is unsigned: section A uses a test-key signature; the release-key signature check is NOT_RUN", + "NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set", + "NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set", + "NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set", + "NOT_RUN lend-start: OH_VOLUNTEER not set", + "NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set", + "NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set", + "NOT_RUN lend-start-twice: OH_VOLUNTEER not set", + "NOT_RUN lend-status: OH_VOLUNTEER not set", + "NOT_RUN lend-pause-resume: OH_VOLUNTEER not set", + "NOT_RUN lend-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set", + "NOT_RUN core-refuses-without-token: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-matrix-401-401-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-wizard-chat-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-wizard-wrong-token-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-wizard-missing-header-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap" + ] + }, + { + "gate": "installer/tests/token.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token'", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "AIENOS-TOKEN-TESTS pass=30 fail=0 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token", + "log": "logs/installer_tests_token.sh.gate.log", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/stage-neg' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg' # tamper: bin/aienos replaced by /bin/true", + "rc": 1, + "last_line": "AIENOS-TOKEN-TESTS pass=5 fail=25 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg", + "log": "logs/installer_tests_token.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/tests/lend.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' sh tests/lend.sh '/dev/shm/hive/Hardening170/s2/lend'", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/s2/lend", + "log": "logs/installer_tests_lend.sh.gate.log", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/stage-neg' sh tests/lend.sh '/dev/shm/hive/Hardening170/s2/lend-neg' # tamper: bin/aienos replaced by /bin/true", + "rc": 1, + "last_line": "AIENOS-LEND-TESTS pass=0 fail=3 notrun=12 scratch=/dev/shm/hive/Hardening170/s2/lend-neg", + "log": "logs/installer_tests_lend.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS", + "not_run_subcases": [ + "NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set", + "NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set", + "NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set", + "NOT_RUN lend-start: OH_VOLUNTEER not set", + "NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set", + "NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set", + "NOT_RUN lend-start-twice: OH_VOLUNTEER not set", + "NOT_RUN lend-status: OH_VOLUNTEER not set", + "NOT_RUN lend-pause-resume: OH_VOLUNTEER not set", + "NOT_RUN lend-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set" + ] + }, + { + "gate": "installer/tests/failure-paths/run.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s2/fp'", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "SUMMARY pass=11 fail=0 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s2/fp", + "log": "logs/installer_tests_failure-paths_run.sh.gate.log", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' sh '/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/failure-paths/run.sh' '/dev/shm/hive/Hardening170/s2/fp-neg' # tamper: install.sh signature check disabled", + "rc": 1, + "last_line": "SUMMARY pass=10 fail=1 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s2/fp-neg", + "log": "logs/installer_tests_failure-paths_run.sh.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/tests/failure-paths/run.sh (unavailable omc)", + "command": "OMC='/dev/shm/hive/Hardening170/s2/omc.tampered' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s2/fp-omc'", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 3, + "last_line": "SUMMARY pass=0 fail=0 not_run=11 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s2/fp-omc", + "log": "logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log", + "negative_control": { + "note": "this row is itself the negative control of the runner's pin check" + }, + "expected": "a wrong omc makes every path NOT_RUN and the runner must not exit 0 (acceptance: an unavailable gate never reads as success)", + "label": "PASS", + "not_run_subcases": [ + "NOT_RUN disk-full omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN no-network omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN wrong-gpu-driver omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN interrupted-install omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN bad-signature omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN port-in-use omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN uninstall-partial omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN model-resume omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN model-corrupt omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN rollback-clean omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN stale-tmp omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b" + ] + }, + { + "gate": "installer/tests/container.sh", + "command": null, + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "needs the host docker daemon (a shared service outside the bwrap --unshare-net sandbox); not run by this lane", + "negative_control": null + }, + { + "gate": "installer/tests/onboarding.sh", + "command": null, + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "needs the host docker daemon with a bridge network (outside the bwrap --unshare-net sandbox); not run by this lane", + "negative_control": null + }, + { + "gate": "installer/tests/host-untouched.sh", + "command": null, + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "records dpkg/NVIDIA package state of the host; this lane stays off NVIDIA state; run.sh ran separately under bwrap", + "negative_control": null + }, + { + "gate": "release-verify.yml (published release)", + "command": null, + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "candidate TAG alpha-20261029.1 has no published release (gh release list: alpha-20261026.2, .1 only); signing needs the TPM-bound release key", + "negative_control": null + }, + { + "gate": "release-key signature over the candidate DIST", + "command": null, + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "tools/sign.sh needs AIENOS_RELEASE_ED25519_SEED from the TPM-bound atlas-vault; run.sh section A used a test key", + "negative_control": null + }, + { + "gate": "DRA-52 GPU golden-token merge gate", + "command": null, + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "needs the GPU window (GB10); not authorized for this lane", + "negative_control": null + }, + { + "gate": "DRA-56 bearer auth on the shipped engine serving a real model", + "command": null, + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "real-model serving needs the GPU window; only the --engine stub path (token.sh core-* cases) ran on the host", + "negative_control": null + }, + { + "gate": "DRA-53 failure paths on a stock DGX Spark", + "command": null, + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "real Spark gate; only host results here", + "negative_control": null + }, + { + "gate": "verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant)", + "command": "rm -rf '/dev/shm/hive/Hardening170/s2/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170/.scratch/wt' '/dev/shm/hive/Hardening170/s2/inv' && git -C '/dev/shm/hive/Hardening170/s2/inv' checkout -q 2554682006aef0a6926841c5db217c02dd4a02ce && cd '/dev/shm/hive/Hardening170/s2/inv' && python3 notes/rc2/verify_inventory.py --self-test", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000", + "log": "logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s2/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit", + "rc": 1, + "last_line": "pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60", + "log": "logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "github/private-vulnerability-reporting", + "command": "gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting && test \"$(gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting --jq .enabled)\" = true && echo enabled=true", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "{\"enabled\":true}enabled=true", + "log": "logs/github_private-vulnerability-reporting.gate.log", + "negative_control": { + "command": "gh api repos/aien-dev/aien-rig/private-vulnerability-reporting && test \"$(gh api repos/aien-dev/aien-rig/private-vulnerability-reporting --jq .enabled)\" = true && echo enabled=true # tamper: same check against aien-dev/aien-rig, whose reporting is off", + "rc": 1, + "last_line": "{\"enabled\":false}", + "log": "logs/github_private-vulnerability-reporting.neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "github/secret-scanning (enabled, push protection, zero open alerts)", + "command": "gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning.status) && echo secret_scanning=$s && test \"$s\" = enabled && n=$(gh api \"repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open\" --jq length) && echo open_alerts=$n && test \"$n\" = 0 && test \"$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_push_protection.status)\" = enabled && echo push_protection=enabled", + "head": "2554682006aef0a6926841c5db217c02dd4a02ce", + "rc": 0, + "last_line": "push_protection=enabled", + "log": "logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log", + "negative_control": { + "command": "gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_non_provider_patterns.status) && echo secret_scanning_non_provider_patterns=$s && test \"$s\" = enabled && n=$(gh api \"repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open\" --jq length) && echo open_alerts=$n && test \"$n\" = 0 # tamper: same check against security_and_analysis.secret_scanning_non_provider_patterns, which is disabled", + "rc": 1, + "last_line": "secret_scanning_non_provider_patterns=disabled", + "log": "logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log", + "expected": "rc != 0", + "result": "FAIL as expected" + }, + "label": "PASS" + } + ] +} \ No newline at end of file diff --git a/evidence/dra-170/main-2554682/logs/github_private-vulnerability-reporting.gate.log b/evidence/dra-170/main-2554682/logs/github_private-vulnerability-reporting.gate.log new file mode 100644 index 0000000..4467ecd --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/github_private-vulnerability-reporting.gate.log @@ -0,0 +1,2 @@ +$ gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting && test "$(gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting --jq .enabled)" = true && echo enabled=true +{"enabled":true}enabled=true diff --git a/evidence/dra-170/main-2554682/logs/github_private-vulnerability-reporting.neg.log b/evidence/dra-170/main-2554682/logs/github_private-vulnerability-reporting.neg.log new file mode 100644 index 0000000..da3b0e0 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/github_private-vulnerability-reporting.neg.log @@ -0,0 +1,2 @@ +$ gh api repos/aien-dev/aien-rig/private-vulnerability-reporting && test "$(gh api repos/aien-dev/aien-rig/private-vulnerability-reporting --jq .enabled)" = true && echo enabled=true # tamper: same check against aien-dev/aien-rig, whose reporting is off +{"enabled":false} \ No newline at end of file diff --git a/evidence/dra-170/main-2554682/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log b/evidence/dra-170/main-2554682/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log new file mode 100644 index 0000000..82e24b3 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log @@ -0,0 +1,5 @@ +$ gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning.status) && echo secret_scanning=$s && test "$s" = enabled && n=$(gh api "repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0 && test "$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_push_protection.status)" = enabled && echo push_protection=enabled +{"dependabot_security_updates":{"status":"enabled"},"secret_scanning":{"status":"enabled"},"secret_scanning_non_provider_patterns":{"status":"disabled"},"secret_scanning_push_protection":{"status":"enabled"},"secret_scanning_validity_checks":{"status":"disabled"}} +secret_scanning=enabled +open_alerts=0 +push_protection=enabled diff --git a/evidence/dra-170/main-2554682/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log b/evidence/dra-170/main-2554682/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log new file mode 100644 index 0000000..de490f0 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log @@ -0,0 +1,3 @@ +$ gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_non_provider_patterns.status) && echo secret_scanning_non_provider_patterns=$s && test "$s" = enabled && n=$(gh api "repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0 # tamper: same check against security_and_analysis.secret_scanning_non_provider_patterns, which is disabled +{"dependabot_security_updates":{"status":"enabled"},"secret_scanning":{"status":"enabled"},"secret_scanning_non_provider_patterns":{"status":"disabled"},"secret_scanning_push_protection":{"status":"enabled"},"secret_scanning_validity_checks":{"status":"disabled"}} +secret_scanning_non_provider_patterns=disabled diff --git a/evidence/dra-170/main-2554682/logs/index.yml_index-check_Compile_the_generator_twice.gate.log b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Compile_the_generator_twice.gate.log new file mode 100644 index 0000000..cdc599f --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Compile_the_generator_twice.gate.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Compile the generator twice +f62357e4717f7a7e7f291f7c67ab7a66b272f3500186b59196acc4c131f56011 index/gen/index.om +e52ec0ac64ac3bd55771a8ff1424e2bf575a1c5e823abf982c1021d3bfd59b05 /dev/shm/hive/Hardening170/s2/rt-index/index diff --git a/evidence/dra-170/main-2554682/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log new file mode 100644 index 0000000..7fd8910 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree +index: 90 repositories, curated and rendered diff --git a/evidence/dra-170/main-2554682/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log new file mode 100644 index 0000000..7320a31 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log @@ -0,0 +1,4 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree # tamper: last entry removed from index/repos.json +gen_index: index/curated.yml names repositories that are not public in aien-dev: + - vscode-omega +remove them (a private repository must never be named here) diff --git a/evidence/dra-170/main-2554682/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log new file mode 100644 index 0000000..de059b8 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log @@ -0,0 +1,96 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails +gen_index: public repositories with no entry in index/curated.yml: + - fake-uncurated-repo +add each one (layer, evidence, purpose) in the same change +gen_index: index/curated.yml names repositories that are not public in aien-dev: + - arm-trusted-firmware + - atlas + - edk2 + - edk2-non-osi + - edk2-platforms + - rpi5-uefi + - omega-gpu-driver + - aienix + - AienOS-nv + - aienux + - rtl8127-omega + - CUDApp + - physics-mv + - babel + - compiler-explorer + - ggml-omega + - homebrew-omega + - infra + - omega-blas + - omega-bridge + - omega-bridge-kit + - omega-dnn + - omega-harness + - omega-kernel-template + - omega-lift + - omega-mcp + - omega-mv + - omega-packages + - omega-rosetta + - omega-seed-challenge + - omnet + - omtex + - tree-sitter-omega + - vscode-omega + - aegis-runtime-mv + - aien-harness + - aien-local-stack + - aien-receipts + - aien-sovereign-core-mv + - aien-train + - aien-yardsticks + - BabelStream + - benchmarks-mv + - gpu-head-to-head + - harvester + - MojoLlama + - omega-gpu-bench + - openaccel-lab + - spark-adapters + - spark-debugger + - spark-hive + - spark-inquisitor + - spark-rsi-mv + - spark-supervisor + - cortex + - cortex-rs + - crumb-spec-mv + - spark-crumbs-mv + - spark-dream + - aien + - omega-projects + - agent-archive + - aien-edge + - aien-rig + - aien-translate + - aienos.com + - encounter + - mobhub + - odysseus + - open-humanity + - pi-register + - readings-window + - spark-connector + - t3code + - translate + - .github + - aien-architecture-mv + - aien-protocols-mv + - hive-not-swarm + - interplane-mv + - interplane.io + - physics0 + - rad-id-sync + - synapse + - synapse-board + - synapse-claims + - synapse-map + - synapse-mcp + - synapse-pulse +remove them (a private repository must never be named here) +negative control rc=1 want=1 diff --git a/evidence/dra-170/main-2554682/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log new file mode 100644 index 0000000..d333a71 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log @@ -0,0 +1,93 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails # tamper: fixture repository fake-uncurated-repo renamed to sovereign-intelligence (curated) +gen_index: index/curated.yml names repositories that are not public in aien-dev: + - arm-trusted-firmware + - atlas + - edk2 + - edk2-non-osi + - edk2-platforms + - rpi5-uefi + - omega-gpu-driver + - aienix + - AienOS-nv + - aienux + - rtl8127-omega + - CUDApp + - physics-mv + - babel + - compiler-explorer + - ggml-omega + - homebrew-omega + - infra + - omega-blas + - omega-bridge + - omega-bridge-kit + - omega-dnn + - omega-harness + - omega-kernel-template + - omega-lift + - omega-mcp + - omega-mv + - omega-packages + - omega-rosetta + - omega-seed-challenge + - omnet + - omtex + - tree-sitter-omega + - vscode-omega + - aegis-runtime-mv + - aien-harness + - aien-local-stack + - aien-receipts + - aien-sovereign-core-mv + - aien-train + - aien-yardsticks + - BabelStream + - benchmarks-mv + - gpu-head-to-head + - harvester + - MojoLlama + - omega-gpu-bench + - openaccel-lab + - spark-adapters + - spark-debugger + - spark-hive + - spark-inquisitor + - spark-rsi-mv + - spark-supervisor + - cortex + - cortex-rs + - crumb-spec-mv + - spark-crumbs-mv + - spark-dream + - aien + - omega-projects + - agent-archive + - aien-edge + - aien-rig + - aien-translate + - aienos.com + - encounter + - mobhub + - odysseus + - open-humanity + - pi-register + - readings-window + - spark-connector + - t3code + - translate + - .github + - aien-architecture-mv + - aien-protocols-mv + - hive-not-swarm + - interplane-mv + - interplane.io + - physics0 + - rad-id-sync + - synapse + - synapse-board + - synapse-claims + - synapse-map + - synapse-mcp + - synapse-pulse +remove them (a private repository must never be named here) +negative control rc=1 want=1 diff --git a/evidence/dra-170/main-2554682/logs/index.yml_index-check_Pinned_omega-mv.gate.log b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Pinned_omega-mv.gate.log new file mode 100644 index 0000000..47f1f04 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/index.yml_index-check_Pinned_omega-mv.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Pinned omega-mv +/dev/shm/hive/Hardening170/s2/rt-index/omega/seed/out/omc: OK diff --git a/evidence/dra-170/main-2554682/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log b/evidence/dra-170/main-2554682/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log new file mode 100644 index 0000000..566907c --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log @@ -0,0 +1,114 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-vp' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls +PASS key-swap-only +PASS good-release-installs +PASS bad-signature-other-key +PASS bad-signature-corrupted +PASS rewritten-sums-unsigned +PASS tampered-bundle +PASS bundle-not-in-signed-list +PASS unsafe-path-in-bundle +PASS tampered-file-inside-bundle +PASS missing-signature +PASS selfcheck-signature-removed-is-caught +PASS selfcheck-bundle-hash-removed-is-caught +PASS selfcheck-unsafe-path-removed-is-caught +PASS selfcheck-per-file-removed-is-caught +VERIFY-PATH pass=14 fail=0 expected=14 scratch=/dev/shm/hive/Hardening170/s2/rt-vp/vp +---- installer output per case (refusals are expected for every case but good) ---- +== 1-good.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 56b69280ad28f483c43a72832f312ea0edfccf4a208d43acee8a37a752ebbe16). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s2/rt-vp/vp/home/1-good/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s2/rt-vp/vp/home/1-good/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 2-bad-signature-other-key.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The signature on SHA256SUMS does not match the AienOS release key. +Nothing was installed. +exit 1 +== 3-bad-signature-corrupted.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The signature on SHA256SUMS does not match the AienOS release key. +Nothing was installed. +exit 1 +== 4-rewritten-sums-unsigned.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The signature on SHA256SUMS does not match the AienOS release key. +Nothing was installed. +exit 1 +== 5-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected 631fdadaac05bcec2abae62df3fc9705141954dcf95f36ccc72ced8eb107a6a4, got 3632d41c711558a14dcfdf99f133762d7e6120af545aee1997f24318d843751a). +Nothing was installed. +exit 1 +== 6-bundle-not-in-signed-list.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected none, got 631fdadaac05bcec2abae62df3fc9705141954dcf95f36ccc72ced8eb107a6a4). +Nothing was installed. +exit 1 +== 7-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 56b69280ad28f483c43a72832f312ea0edfccf4a208d43acee8a37a752ebbe16). +tar: Removing leading `../' from member names +The bundle contains an unsafe path. Nothing was installed. +exit 1 +== 8-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 56b69280ad28f483c43a72832f312ea0edfccf4a208d43acee8a37a752ebbe16). +A file inside the bundle does not match its SHA-256. Nothing was installed. +exit 1 +== 9-missing-signature.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +curl: (22) The requested URL returned error: 404 +Could not download https://127.0.0.1:32993/missing-signature/SHA256SUMS.sig +exit 2 +== 10-bad-signature-other-key.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 56b69280ad28f483c43a72832f312ea0edfccf4a208d43acee8a37a752ebbe16). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s2/rt-vp/vp/home/10-bad-signature-other-key/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s2/rt-vp/vp/home/10-bad-signature-other-key/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 11-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 56b69280ad28f483c43a72832f312ea0edfccf4a208d43acee8a37a752ebbe16). + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now +Could not unpack the bundle into /dev/shm/hive/Hardening170/s2/rt-vp/vp/home/11-tampered-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 12-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 56b69280ad28f483c43a72832f312ea0edfccf4a208d43acee8a37a752ebbe16). +tar: Removing leading `../' from member names +tar: ../escape.txt: Member name contains '..' +tar: Exiting with failure status due to previous errors +Could not unpack the bundle into /dev/shm/hive/Hardening170/s2/rt-vp/vp/home/12-unsafe-path-in-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 13-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 56b69280ad28f483c43a72832f312ea0edfccf4a208d43acee8a37a752ebbe16). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s2/rt-vp/vp/home/13-tampered-file-inside-bundle/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s2/rt-vp/vp/home/13-tampered-file-inside-bundle/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +verify-path.sh exit 0 diff --git a/evidence/dra-170/main-2554682/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log b/evidence/dra-170/main-2554682/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log new file mode 100644 index 0000000..09db77f --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log @@ -0,0 +1,118 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-vp-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls # tamper: install.sh signature check disabled (if false && ! openssl pkeyutl -verify) +PASS key-swap-only +PASS good-release-installs +FAIL bad-signature-other-key: exit 0, want 1; reason missing: The signature on SHA256SUMS does not match the AienOS release key.; something was installed +FAIL bad-signature-corrupted: exit 0, want 1; reason missing: The signature on SHA256SUMS does not match the AienOS release key.; something was installed +FAIL rewritten-sums-unsigned: exit 2, want 1; reason missing: The signature on SHA256SUMS does not match the AienOS release key. +PASS tampered-bundle +PASS bundle-not-in-signed-list +PASS unsafe-path-in-bundle +PASS tampered-file-inside-bundle +PASS missing-signature +FAIL selfcheck-signature-removed-is-caught: mutation signature did not apply: line not found in install.sh +PASS selfcheck-bundle-hash-removed-is-caught +PASS selfcheck-unsafe-path-removed-is-caught +PASS selfcheck-per-file-removed-is-caught +VERIFY-PATH pass=10 fail=4 expected=14 scratch=/dev/shm/hive/Hardening170/s2/rt-vp-neg/vp +---- installer output per case (refusals are expected for every case but good) ---- +== 1-good.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 65a8832dc4170af237dc3a56658016defd3c70a6e3a9bce0449a1af37ef6c021). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/1-good/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/1-good/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 2-bad-signature-other-key.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 65a8832dc4170af237dc3a56658016defd3c70a6e3a9bce0449a1af37ef6c021). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/2-bad-signature-other-key/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/2-bad-signature-other-key/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 3-bad-signature-corrupted.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 65a8832dc4170af237dc3a56658016defd3c70a6e3a9bce0449a1af37ef6c021). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/3-bad-signature-corrupted/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/3-bad-signature-corrupted/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 4-rewritten-sums-unsigned.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 65a8832dc4170af237dc3a56658016defd3c70a6e3a9bce0449a1af37ef6c021). + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now +Could not unpack the bundle into /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/4-rewritten-sums-unsigned/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 5-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected 15d285fe757c8266b003252178eba42557f09b68e1a836952b7d579b9f749de5, got afb81710066d0a52212de90102a4e79a0874071691becb5031176bfaa26ed21d). +Nothing was installed. +exit 1 +== 6-bundle-not-in-signed-list.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected none, got 15d285fe757c8266b003252178eba42557f09b68e1a836952b7d579b9f749de5). +Nothing was installed. +exit 1 +== 7-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 65a8832dc4170af237dc3a56658016defd3c70a6e3a9bce0449a1af37ef6c021). +tar: Removing leading `../' from member names +The bundle contains an unsafe path. Nothing was installed. +exit 1 +== 8-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 65a8832dc4170af237dc3a56658016defd3c70a6e3a9bce0449a1af37ef6c021). +A file inside the bundle does not match its SHA-256. Nothing was installed. +exit 1 +== 9-missing-signature.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +curl: (22) The requested URL returned error: 404 +Could not download https://127.0.0.1:44413/missing-signature/SHA256SUMS.sig +exit 2 +== 10-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 65a8832dc4170af237dc3a56658016defd3c70a6e3a9bce0449a1af37ef6c021). + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now +Could not unpack the bundle into /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/10-tampered-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 11-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 65a8832dc4170af237dc3a56658016defd3c70a6e3a9bce0449a1af37ef6c021). +tar: Removing leading `../' from member names +tar: ../escape.txt: Member name contains '..' +tar: Exiting with failure status due to previous errors +Could not unpack the bundle into /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/11-unsafe-path-in-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 12-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 65a8832dc4170af237dc3a56658016defd3c70a6e3a9bce0449a1af37ef6c021). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/12-tampered-file-inside-bundle/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s2/rt-vp-neg/vp/home/12-tampered-file-inside-bundle/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +verify-path.sh exit 1 diff --git a/evidence/dra-170/main-2554682/logs/installer_build.sh.gate.log b/evidence/dra-170/main-2554682/logs/installer_build.sh.gate.log new file mode 100644 index 0000000..ca758c0 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_build.sh.gate.log @@ -0,0 +1,7 @@ +$ OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/engine' sh build.sh '/dev/shm/hive/Hardening170/s2/out' +built /dev/shm/hive/Hardening170/s2/out/dist/aienos-alpha-20261029.1-linux-arm64.tar.gz +ce9da242da029bfcb5865adcd6450f77d15d3e0020bd3a2df9fc0b2163f16c44 aienos-alpha-20261029.1-linux-arm64.tar.gz +caae664628cbe4bd596cd4d0f56973727e3755dcbc92a1a6b0ca9ef7487f32bd install.sh +72a40e2b06401d054200bb511d6a3caf77397a93b285b22ebb8ac3c0d4354c99 aienos.om +2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 release.pub +23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a release.pub.pem diff --git a/evidence/dra-170/main-2554682/logs/installer_build.sh.neg.log b/evidence/dra-170/main-2554682/logs/installer_build.sh.neg.log new file mode 100644 index 0000000..61f6873 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_build.sh.neg.log @@ -0,0 +1,2 @@ +$ OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/s2/engine.tampered' sh build.sh '/dev/shm/hive/Hardening170/s2/out-neg' # tamper: one byte appended to the engine +build.sh: /dev/shm/hive/Hardening170/s2/engine.tampered sha256 8b98af59860bdf8aa76e3982ae0baf93803ccd45e7346487889c2d951d2f1a7a, want 6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_failure-paths_run.sh.gate.log b/evidence/dra-170/main-2554682/logs/installer_tests_failure-paths_run.sh.gate.log new file mode 100644 index 0000000..cbb914d --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_failure-paths_run.sh.gate.log @@ -0,0 +1,13 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s2/fp' +PASS disk-full EXERCISED(host, EFBIG stand-in for ENOSPC) cases=install,model control=opposite/opposite spark=NOT_RUN +PASS no-network EXERCISED(host) cases=refused,nobundle,cut,wizard-model control=opposite/opposite spark=NOT_RUN +PASS wrong-gpu-driver EXERCISED(host, fake probe roots) cases=nogpu,othergpu,olddrv,newdrv control=opposite spark=NOT_RUN +PASS interrupted-install EXERCISED(host) cases=download/KILL,download/INT,unpack/KILL,unpack/INT,moved/KILL,linked/KILL,listed/KILL control=opposite spark=NOT_RUN +PASS bad-signature EXERCISED(host) cases=otherkey,badsig,tampered control=opposite spark=NOT_RUN +PASS port-in-use EXERCISED(host, test build on port 49821) cases=tcp,http control=opposite spark=NOT_RUN +PASS uninstall-partial EXERCISED(host) cases=moved,linked,listed control=opposite spark=NOT_RUN +PASS model-resume EXERCISED(host, 5 MB test model, loopback Range server) cases=stop/KILL,stop/INT,cut1,cut2 control=opposite spark=NOT_RUN +PASS model-corrupt EXERCISED(host, 5 MB test model, loopback server) cases=served,on-disk,after control=opposite spark=NOT_RUN +PASS rollback-clean EXERCISED(host, fake GB10 root) cases=bare,used control=opposite spark=NOT_RUN +PASS stale-tmp EXERCISED(host) cases=kill-rerun,live,young,badpid,old,symlink,other-user,other-prefix control=opposite spark=NOT_RUN +SUMMARY pass=11 fail=0 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s2/fp diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_failure-paths_run.sh.neg.log b/evidence/dra-170/main-2554682/logs/installer_tests_failure-paths_run.sh.neg.log new file mode 100644 index 0000000..0b7405d --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_failure-paths_run.sh.neg.log @@ -0,0 +1,13 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' sh '/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/failure-paths/run.sh' '/dev/shm/hive/Hardening170/s2/fp-neg' # tamper: install.sh signature check disabled +PASS disk-full EXERCISED(host, EFBIG stand-in for ENOSPC) cases=install,model control=opposite/opposite spark=NOT_RUN +PASS no-network EXERCISED(host) cases=refused,nobundle,cut,wizard-model control=opposite/opposite spark=NOT_RUN +PASS wrong-gpu-driver EXERCISED(host, fake probe roots) cases=nogpu,othergpu,olddrv,newdrv control=opposite spark=NOT_RUN +PASS interrupted-install EXERCISED(host) cases=download/KILL,download/INT,unpack/KILL,unpack/INT,moved/KILL,linked/KILL,listed/KILL control=opposite spark=NOT_RUN +FAIL bad-signature EXERCISED(host) cases=otherkey,badsig,tampered control=opposite spark=NOT_RUN bad=8 scratch=/dev/shm/hive/Hardening170/s2/fp-neg/bad-signature +PASS port-in-use EXERCISED(host, test build on port 48653) cases=tcp,http control=opposite spark=NOT_RUN +PASS uninstall-partial EXERCISED(host) cases=moved,linked,listed control=opposite spark=NOT_RUN +PASS model-resume EXERCISED(host, 5 MB test model, loopback Range server) cases=stop/KILL,stop/INT,cut1,cut2 control=opposite spark=NOT_RUN +PASS model-corrupt EXERCISED(host, 5 MB test model, loopback server) cases=served,on-disk,after control=opposite spark=NOT_RUN +PASS rollback-clean EXERCISED(host, fake GB10 root) cases=bare,used control=opposite spark=NOT_RUN +PASS stale-tmp EXERCISED(host) cases=kill-rerun,live,young,badpid,old,symlink,other-user,other-prefix control=opposite spark=NOT_RUN +SUMMARY pass=10 fail=1 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s2/fp-neg diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log b/evidence/dra-170/main-2554682/logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log new file mode 100644 index 0000000..9d3c17a --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log @@ -0,0 +1,13 @@ +$ OMC='/dev/shm/hive/Hardening170/s2/omc.tampered' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s2/fp-omc' +NOT_RUN disk-full omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN no-network omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN wrong-gpu-driver omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN interrupted-install omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN bad-signature omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN port-in-use omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN uninstall-partial omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN model-resume omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN model-corrupt omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN rollback-clean omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +NOT_RUN stale-tmp omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b +SUMMARY pass=0 fail=0 not_run=11 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s2/fp-omc diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_lend.sh.gate.log b/evidence/dra-170/main-2554682/logs/installer_tests_lend.sh.gate.log new file mode 100644 index 0000000..55053d5 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_lend.sh.gate.log @@ -0,0 +1,17 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' sh tests/lend.sh '/dev/shm/hive/Hardening170/s2/lend' +PASS lend-wizard-skip-changes-nothing +PASS lend-wizard-yes-without-program +PASS lend-start-without-program-refuses +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/s2/lend diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_lend.sh.neg.log b/evidence/dra-170/main-2554682/logs/installer_tests_lend.sh.neg.log new file mode 100644 index 0000000..151b063 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_lend.sh.neg.log @@ -0,0 +1,17 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/stage-neg' sh tests/lend.sh '/dev/shm/hive/Hardening170/s2/lend-neg' # tamper: bin/aienos replaced by /bin/true +FAIL lend-wizard-skip-changes-nothing: condition false (see /dev/shm/hive/Hardening170/s2/lend-neg) +FAIL lend-wizard-yes-without-program: condition false (see /dev/shm/hive/Hardening170/s2/lend-neg) +FAIL lend-start-without-program-refuses: condition false (see /dev/shm/hive/Hardening170/s2/lend-neg) +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=0 fail=3 notrun=12 scratch=/dev/shm/hive/Hardening170/s2/lend-neg diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_report.sh.gate.log b/evidence/dra-170/main-2554682/logs/installer_tests_report.sh.gate.log new file mode 100644 index 0000000..ff2d985 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_report.sh.gate.log @@ -0,0 +1,17 @@ +$ AIENOS='/dev/shm/hive/Hardening170/s2/out/stage/bin/aienos' sh tests/report.sh '/dev/shm/hive/Hardening170/s2/report' +PASS report written (rc=0) +PASS gzip integrity +PASS member list +PASS doc: member list +PASS doc: documented fields in real output +PASS no canary in archive +PASS home path redacted +PASS allowed engine line kept +PASS home written as ~ +PASS checksums +PASS driver string +PASS no socket or connect call +PASS existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=15 fail=0 diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_report.sh.neg.log b/evidence/dra-170/main-2554682/logs/installer_tests_report.sh.neg.log new file mode 100644 index 0000000..539f653 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_report.sh.neg.log @@ -0,0 +1,77 @@ +$ AIENOS=/bin/true sh tests/report.sh '/dev/shm/hive/Hardening170/s2/report-neg' # tamper: aienos replaced by /bin/true (exits 0, writes nothing) +FAIL report written (rc=0) +FAIL gzip integrity +tar (child): /dev/shm/hive/Hardening170/s2/report-neg/out/report.tar.gz: Cannot open: No such file or directory +tar (child): Error is not recoverable: exiting now +tar: Child returned status 2 +tar: Error is not recoverable: exiting now +FAIL member list: +tar (child): /dev/shm/hive/Hardening170/s2/report-neg/out/report.tar.gz: Cannot open: No such file or directory +tar (child): Error is not recoverable: exiting now +tar: Child returned status 2 +tar: Error is not recoverable: exiting now +PASS doc: member list +FAIL doc: fields missing from output: aienos doctor --report: +Never included: +Sovereign Intelligence alpha-20261029.1: +engine: + evidence: +GPU path: +models: +evidence: + this installer's GB10 install and first token, and the 3x physical qualification: +signature: +release folder: +kernel: +kernel release: +/etc/os-release: +/etc/os-release: +/etc/dgx-release: +/etc/dgx-release: +/etc/dgx-release: +NVIDIA kernel module (/sys/module/nvidia/version): +NVIDIA driver (/proc/driver/nvidia/version): +CUDA toolkit (/usr/local/cuda/version.json; not part of AienOS): +/proc/meminfo: +/proc/meminfo: +/proc/meminfo: +/proc/meminfo: +/proc/meminfo: +/proc/meminfo: +free disk in the home folder (df -B1 --output=avail): +[ info ] AienOS installed: +verdict: +release folder: +bundle sha256 recorded by install.sh (.bundle-sha256): +files: +model manifest (share/aienos/model.manifest): +autostart: +engine: +engine address: +lending program: +lending key: +lending: +lending paused: +lending log ~/.local/share/aienos/lend/lend.log: +curl: +aien-serve-http: +aien-serve-http: +lines copied: +lines left out: +gzip: /dev/shm/hive/Hardening170/s2/report-neg/out/report.tar.gz: No such file or directory +PASS no canary in archive +gzip: /dev/shm/hive/Hardening170/s2/report-neg/out/report.tar.gz: No such file or directory +PASS home path redacted +grep: /dev/shm/hive/Hardening170/s2/report-neg/x/aienos-report/logs.txt: No such file or directory +FAIL allowed engine line kept +grep: /dev/shm/hive/Hardening170/s2/report-neg/x/aienos-report/logs.txt: No such file or directory +FAIL home written as ~ +grep: /dev/shm/hive/Hardening170/s2/report-neg/x/aienos-report/checksums.txt: No such file or directory +FAIL checksums +grep: /dev/shm/hive/Hardening170/s2/report-neg/x/aienos-report/system.txt: No such file or directory +FAIL driver string +PASS no socket or connect call +FAIL existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=6 fail=9 diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_run.sh.gate.log b/evidence/dra-170/main-2554682/logs/installer_tests_run.sh.gate.log new file mode 100644 index 0000000..379f3a4 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_run.sh.gate.log @@ -0,0 +1,105 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s2/out/dist' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s2/run' +NOTE DIST is unsigned: section A uses a test-key signature; the release-key signature check is NOT_RUN +PASS bootstrap-refuses-darwin +PASS bootstrap-refuses-x86 +PASS bootstrap-refuses-nogpu +PASS bootstrap-refuses-othergpu +PASS bootstrap-refuses-olddrv +PASS bootstrap-installs +PASS bootstrap-reports-driver +PASS desktop-entry-points-at-wizard +PASS omega-verify-installed-release +PASS bootstrap-idempotent +PASS tampered-bundle-refused +PASS rewritten-sums-refused +PASS missing-signature-refused +PASS install-log-written +PASS report-has-install-log +PASS uninstall-leaves-no-files +PASS wizard-happy-path +PASS wizard-first-chat +PASS wizard-zero-cuda-maps +PASS wizard-lend-skipped-by-default +PASS engine-stops +PASS chat-command +PASS omega-verify-detects-change +PASS tampered-model-refused +PASS bootstrap-nogpu-installs-nothing +PASS wizard-refuses-nogpu +PASS doctor-says-no-nogpu +PASS wizard-refuses-othergpu +PASS doctor-says-no-othergpu +PASS wizard-refuses-olddrv +PASS doctor-says-no-olddrv +PASS busy-gpu-starts-no-engine +PASS rollback +PASS uninstall-keep-model +PASS uninstall-asks-first +PASS uninstall-everything +PASS lend-wizard-skip-changes-nothing +PASS lend-wizard-yes-without-program +PASS lend-start-without-program-refuses +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/s2/run/lend +PASS lend-suite +PASS report written (rc=0) +PASS gzip integrity +PASS member list +PASS doc: member list +PASS doc: documented fields in real output +PASS no canary in archive +PASS home path redacted +PASS allowed engine line kept +PASS home written as ~ +PASS checksums +PASS driver string +PASS no socket or connect call +PASS existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=15 fail=0 +PASS report-suite +PASS token-plan-lists-file +PASS token-file-0600-dir-0700 +PASS token-64-hex-one-line +PASS token-wizard-chat-authorized +PASS token-not-in-logs-or-output +PASS token-in-engine-env-not-argv +PASS token-kept-across-starts +PASS control-wrong-token-401 +PASS control-missing-header-401 +PASS token-chat-command-authorized +PASS control-engine-without-token-refuses +PASS token-header-in-every-request +PASS control-capture-sees-missing-header +PASS token-from-getrandom-32-bytes +PASS control-existing-token-not-redrawn +PASS token-differs-per-install +PASS control-file-0644-refused +PASS control-dir-0755-refused +PASS control-symlink-refused +PASS control-non-hex-refused +PASS control-short-token-refused +PASS token-restored-starts +PASS token-remade-after-removal +PASS control-wizard-refuses-open-folder +PASS token-removed-by-uninstall +NOT_RUN core-refuses-without-token: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-matrix-401-401-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-chat-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-wrong-token-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-missing-header-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +AIENOS-TOKEN-TESTS pass=25 fail=0 notrun=5 scratch=/dev/shm/hive/Hardening170/s2/run/token +PASS token-suite +AIENOS-TESTS pass=39 fail=0 scratch=/dev/shm/hive/Hardening170/s2/run diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_run.sh.neg.log b/evidence/dra-170/main-2554682/logs/installer_tests_run.sh.neg.log new file mode 100644 index 0000000..5b20083 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_run.sh.neg.log @@ -0,0 +1,107 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s2/dist-neg' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s2/run-neg' # tamper: one byte appended to the bundle +NOTE DIST is unsigned: section A uses a test-key signature; the release-key signature check is NOT_RUN +PASS bootstrap-refuses-darwin +PASS bootstrap-refuses-x86 +PASS bootstrap-refuses-nogpu +PASS bootstrap-refuses-othergpu +PASS bootstrap-refuses-olddrv +FAIL bootstrap-installs: condition false (see /dev/shm/hive/Hardening170/s2/run-neg) +PASS bootstrap-reports-driver +grep: /dev/shm/hive/Hardening170/s2/run-neg/home-a2/.local/share/applications/aienos.desktop: No such file or directory +FAIL desktop-entry-points-at-wizard: condition false (see /dev/shm/hive/Hardening170/s2/run-neg) +FAIL omega-verify-installed-release: condition false (see /dev/shm/hive/Hardening170/s2/run-neg) +tests/run.sh: 110: cd: can't cd to /dev/shm/hive/Hardening170/s2/run-neg/home-a2/.local/share/aienos/current/ +FAIL bootstrap-idempotent: condition false (see /dev/shm/hive/Hardening170/s2/run-neg) +PASS tampered-bundle-refused +PASS rewritten-sums-refused +PASS missing-signature-refused +PASS install-log-written +FAIL report-has-install-log: condition false (see /dev/shm/hive/Hardening170/s2/run-neg) +FAIL uninstall-leaves-no-files: condition false (see /dev/shm/hive/Hardening170/s2/run-neg) +PASS wizard-happy-path +PASS wizard-first-chat +PASS wizard-zero-cuda-maps +PASS wizard-lend-skipped-by-default +PASS engine-stops +PASS chat-command +PASS omega-verify-detects-change +PASS tampered-model-refused +PASS bootstrap-nogpu-installs-nothing +PASS wizard-refuses-nogpu +PASS doctor-says-no-nogpu +PASS wizard-refuses-othergpu +PASS doctor-says-no-othergpu +PASS wizard-refuses-olddrv +PASS doctor-says-no-olddrv +PASS busy-gpu-starts-no-engine +PASS rollback +PASS uninstall-keep-model +PASS uninstall-asks-first +PASS uninstall-everything +PASS lend-wizard-skip-changes-nothing +PASS lend-wizard-yes-without-program +PASS lend-start-without-program-refuses +NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set +NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set +NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set +NOT_RUN lend-start: OH_VOLUNTEER not set +NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set +NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set +NOT_RUN lend-start-twice: OH_VOLUNTEER not set +NOT_RUN lend-status: OH_VOLUNTEER not set +NOT_RUN lend-pause-resume: OH_VOLUNTEER not set +NOT_RUN lend-quit: OH_VOLUNTEER not set +NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set +NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set +AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/s2/run-neg/lend +PASS lend-suite +PASS report written (rc=0) +PASS gzip integrity +PASS member list +PASS doc: member list +PASS doc: documented fields in real output +PASS no canary in archive +PASS home path redacted +PASS allowed engine line kept +PASS home written as ~ +PASS checksums +PASS driver string +PASS no socket or connect call +PASS existing file refused +PASS control: plain tar of the prefix holds the canaries (9) +PASS control: strace counts curl's socket calls (6) +REPORT-TESTS pass=15 fail=0 +PASS report-suite +PASS token-plan-lists-file +PASS token-file-0600-dir-0700 +PASS token-64-hex-one-line +PASS token-wizard-chat-authorized +PASS token-not-in-logs-or-output +PASS token-in-engine-env-not-argv +PASS token-kept-across-starts +PASS control-wrong-token-401 +PASS control-missing-header-401 +PASS token-chat-command-authorized +PASS control-engine-without-token-refuses +PASS token-header-in-every-request +PASS control-capture-sees-missing-header +PASS token-from-getrandom-32-bytes +PASS control-existing-token-not-redrawn +PASS token-differs-per-install +PASS control-file-0644-refused +PASS control-dir-0755-refused +PASS control-symlink-refused +PASS control-non-hex-refused +PASS control-short-token-refused +PASS token-restored-starts +PASS token-remade-after-removal +PASS control-wizard-refuses-open-folder +PASS token-removed-by-uninstall +NOT_RUN core-refuses-without-token: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-matrix-401-401-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-chat-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-wrong-token-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +NOT_RUN core-wizard-missing-header-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap +AIENOS-TOKEN-TESTS pass=25 fail=0 notrun=5 scratch=/dev/shm/hive/Hardening170/s2/run-neg/token +PASS token-suite +AIENOS-TESTS pass=33 fail=6 scratch=/dev/shm/hive/Hardening170/s2/run-neg diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_token.sh.gate.log b/evidence/dra-170/main-2554682/logs/installer_tests_token.sh.gate.log new file mode 100644 index 0000000..5be34ee --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_token.sh.gate.log @@ -0,0 +1,32 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token' +PASS token-plan-lists-file +PASS token-file-0600-dir-0700 +PASS token-64-hex-one-line +PASS token-wizard-chat-authorized +PASS token-not-in-logs-or-output +PASS token-in-engine-env-not-argv +PASS token-kept-across-starts +PASS control-wrong-token-401 +PASS control-missing-header-401 +PASS token-chat-command-authorized +PASS control-engine-without-token-refuses +PASS token-header-in-every-request +PASS control-capture-sees-missing-header +PASS token-from-getrandom-32-bytes +PASS control-existing-token-not-redrawn +PASS token-differs-per-install +PASS control-file-0644-refused +PASS control-dir-0755-refused +PASS control-symlink-refused +PASS control-non-hex-refused +PASS control-short-token-refused +PASS token-restored-starts +PASS token-remade-after-removal +PASS control-wizard-refuses-open-folder +PASS token-removed-by-uninstall +PASS core-refuses-without-token +PASS core-matrix-401-401-200 +PASS core-wizard-chat-200 +PASS core-wizard-wrong-token-401 +PASS core-wizard-missing-header-401 +AIENOS-TOKEN-TESTS pass=30 fail=0 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token diff --git a/evidence/dra-170/main-2554682/logs/installer_tests_token.sh.neg.log b/evidence/dra-170/main-2554682/logs/installer_tests_token.sh.neg.log new file mode 100644 index 0000000..ccd2ebc --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/installer_tests_token.sh.neg.log @@ -0,0 +1,56 @@ +$ OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/stage-neg' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg' # tamper: bin/aienos replaced by /bin/true +FAIL token-plan-lists-file: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +stat: cannot statx '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w1/.local/share/aienos/auth': No such file or directory +FAIL token-file-0600-dir-0700: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +tests/token.sh: 108: cannot open /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w1/.local/share/aienos/auth/bearer-token: No such file +FAIL token-64-hex-one-line: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +FAIL token-wizard-chat-authorized: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w1/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +FAIL token-not-in-logs-or-output: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +FAIL token-in-engine-env-not-argv: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +tests/token.sh: 123: cannot open /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w1/.local/share/aienos/auth/bearer-token: No such file +tests/token.sh: 126: cannot open /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w1/.local/share/aienos/auth/bearer-token: No such file +PASS token-kept-across-starts +cp: cannot stat '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w1/.local/share/aienos/auth/bearer-token': No such file or directory +tests/token.sh: 129: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w1/.local/share/aienos/auth/bearer-token: Directory nonexistent +FAIL control-wrong-token-401: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +tests/token.sh: 133: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w1/.local/share/aienos/auth/bearer-token: Directory nonexistent +PASS control-missing-header-401 +FAIL token-chat-command-authorized: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +FAIL control-engine-without-token-refuses: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +FAIL token-header-in-every-request: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +FAIL control-capture-sees-missing-header: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +FAIL token-from-getrandom-32-bytes: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +PASS control-existing-token-not-redrawn +FAIL token-differs-per-install: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +chmod: cannot access '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +FAIL control-file-0644-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +chmod: cannot access '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +chmod: cannot access '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth': No such file or directory +FAIL control-dir-0755-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +chmod: cannot access '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth': No such file or directory +mv: cannot stat '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +ln: failed to create symbolic link '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +FAIL control-symlink-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +rm: cannot remove '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +mv: cannot stat '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/w2.tok': No such file or directory +cp: cannot stat '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +FAIL control-non-hex-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +tests/token.sh: 243: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token: Directory nonexistent +tests/token.sh: 243: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token: Directory nonexistent +FAIL control-short-token-refused: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +tests/token.sh: 246: cannot create /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token: Directory nonexistent +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/w2.tok' for reading: No such file or directory +PASS token-restored-starts +stat: cannot statx '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-w2/.local/share/aienos/auth/bearer-token': No such file or directory +FAIL token-remade-after-removal: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +FAIL control-wizard-refuses-open-folder: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +FAIL token-removed-by-uninstall: condition false (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg) +head: cannot open '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/home-core/.local/share/aienos/auth/bearer-token' for reading: No such file or directory +PASS core-refuses-without-token +FAIL core-matrix-401-401-200: engine did not start (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/core1.log) +FAIL core-wizard-chat-200: engine did not start on 18100 (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/core2.log) +FAIL core-wizard-wrong-token-401: engine did not start on 18100 (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/core2.log) +FAIL core-wizard-missing-header-401: engine did not start on 18100 (see /home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg/core2.log) +AIENOS-TOKEN-TESTS pass=5 fail=25 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg diff --git a/evidence/dra-170/main-2554682/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log b/evidence/dra-170/main-2554682/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log new file mode 100644 index 0000000..80c3b0d --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy +LEARN-CHECK PASS runners=0 diff --git a/evidence/dra-170/main-2554682/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log b/evidence/dra-170/main-2554682/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log new file mode 100644 index 0000000..f39df97 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy # tamper: docs/learn/run.sh added +LEARN-CHECK FAIL +docs/learn/run.sh ext diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log b/evidence/dra-170/main-2554682/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log new file mode 100644 index 0000000..f527313 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log @@ -0,0 +1,20 @@ +$ rm -rf '/dev/shm/hive/Hardening170/s2/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170/.scratch/wt' '/dev/shm/hive/Hardening170/s2/inv' && git -C '/dev/shm/hive/Hardening170/s2/inv' checkout -q 2554682006aef0a6926841c5db217c02dd4a02ce && cd '/dev/shm/hive/Hardening170/s2/inv' && python3 notes/rc2/verify_inventory.py --self-test +Note: switching to '2554682006aef0a6926841c5db217c02dd4a02ce'. + +You are in 'detached HEAD' state. You can look around, make experimental +changes and commit them, and you can discard any commits you make in this +state without impacting any branches by switching back to a branch. + +If you want to create a new branch to retain commits you create, you may +do so (now or later) by using -c with the switch command. Example: + + git switch -c + +Or undo this operation with: + + git switch - + +Turn off this advice by setting config variable advice.detachedHead to false + +OK 41 verifications match the locks at the recorded SHAs +MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000 diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log b/evidence/dra-170/main-2554682/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log new file mode 100644 index 0000000..9a64059 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s2/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit +FAIL 1 +pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60 diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log new file mode 100644 index 0000000..3630e08 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) +PASS 18/18 diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log new file mode 100644 index 0000000..fa7e0f9 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) # tamper: f=$(ls installer/tests/ansi-txt/*.txt | head -n 1); sed -i "1s/^/X/" "$f" +FAIL basic.100x34 rc=0 +FAIL bad=1 of 18 diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Compile_the_wizard_twice.gate.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Compile_the_wizard_twice.gate.log new file mode 100644 index 0000000..c45ca15 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Compile_the_wizard_twice.gate.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Compile the wizard twice +72a40e2b06401d054200bb511d6a3caf77397a93b285b22ebb8ac3c0d4354c99 /dev/shm/hive/Hardening170/s2/rt-verify/aienos.om +725b284298610df5886ba33ba1da75ebcdcd67a21ab059b8688616fe1a2487ba /dev/shm/hive/Hardening170/s2/rt-verify/a1 diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Compile_the_wizard_twice.neg.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Compile_the_wizard_twice.neg.log new file mode 100644 index 0000000..3f1a5d1 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Compile_the_wizard_twice.neg.log @@ -0,0 +1 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf "fn broken(\n" >> installer/wizard/report.om diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log new file mode 100644 index 0000000..4e6fcaf --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log @@ -0,0 +1,43 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Doctor on fake hardware +[ ok ] CPU arm64 (aarch64), Linux +[ ok ] GPU NVIDIA GB10 found (PCI 10de:2e12), device nodes present +[ ok ] Driver kernel driver 580.173.02 (the version this alpha was built and tested against) +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 50.0 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +doctor gb10 rc=0 want=0 +[ ok ] CPU arm64 (aarch64), Linux +[ no ] GPU no NVIDIA GB10 found: this alpha runs only on a DGX Spark (GB10) +[ no ] Driver no NVIDIA kernel module loaded (/sys/module/nvidia/version missing) +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 50.0 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +This alpha runs on Linux arm64 with an NVIDIA GB10 (DGX Spark) only. +Here is what is coming: https://www.aienos.com/alpha/ +doctor nogpu rc=1 want=1 +[ ok ] CPU arm64 (aarch64), Linux +[ no ] GPU no NVIDIA GB10 found: this alpha runs only on a DGX Spark (GB10) +[ ok ] Driver kernel driver 580.173.02 (the version this alpha was built and tested against) +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 50.0 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +This alpha runs on Linux arm64 with an NVIDIA GB10 (DGX Spark) only. +Here is what is coming: https://www.aienos.com/alpha/ +doctor othergpu rc=1 want=1 +[ ok ] CPU arm64 (aarch64), Linux +[ ok ] GPU NVIDIA GB10 found (PCI 10de:2e12), device nodes present +[ no ] Driver kernel driver 570.86.10 found; this alpha only knows 580.173.02, so it stops here +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 50.0 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +This alpha runs on Linux arm64 with an NVIDIA GB10 (DGX Spark) only. +Here is what is coming: https://www.aienos.com/alpha/ +doctor olddrv rc=1 want=1 diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log new file mode 100644 index 0000000..5f4d9c0 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log @@ -0,0 +1,12 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Doctor on fake hardware # tamper: sed -i "s/gb10|gb10-busy) gpu 0x2e12 580.173.02/gb10|gb10-busy) gpu 0x2e12 570.86.10/" installer/tests/fake-root.sh +[ ok ] CPU arm64 (aarch64), Linux +[ ok ] GPU NVIDIA GB10 found (PCI 10de:2e12), device nodes present +[ no ] Driver kernel driver 570.86.10 found; this alpha only knows 580.173.02, so it stops here +[ ok ] Memory 130 GB memory, 122 GB free for a model +[ ok ] Disk 50.0 GB free in your home +[ info ] AienOS not installed yet +[ ok ] GPU lock the GB10 lock (/tmp/aien-gb10.lock) is not held right now +[ info ] NVIDIA no NVIDIA user-space libraries found; AienOS does not need them +This alpha runs on Linux arm64 with an NVIDIA GB10 (DGX Spark) only. +Here is what is coming: https://www.aienos.com/alpha/ +doctor gb10 rc=1 want=0 diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Pinned_omega-mv.gate.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Pinned_omega-mv.gate.log new file mode 100644 index 0000000..fd7221c --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Pinned_omega-mv.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Pinned omega-mv +/dev/shm/hive/Hardening170/s2/rt-verify/omega/seed/out/omc: OK diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Pinned_omega-mv.neg.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Pinned_omega-mv.neg.log new file mode 100644 index 0000000..bc0b0ac --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Pinned_omega-mv.neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Pinned omega-mv # tamper: printf x >> "$RT/omega/seed/out/omc" +/dev/shm/hive/Hardening170/s2/rt-neg/omega/seed/out/omc: FAILED +sha256sum: WARNING: 1 computed checksum did NOT match diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Shell_syntax.gate.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Shell_syntax.gate.log new file mode 100644 index 0000000..d5ff408 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Shell_syntax.gate.log @@ -0,0 +1 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Shell syntax diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Shell_syntax.neg.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Shell_syntax.neg.log new file mode 100644 index 0000000..e27b954 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Shell_syntax.neg.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Shell syntax # tamper: printf "if then\n" >> installer/tests/lend.sh +installer/tests/lend.sh: 175: Syntax error: "then" unexpected diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log new file mode 100644 index 0000000..50fcff5 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) +port 18100: only in const PORT diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log new file mode 100644 index 0000000..986badb --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) # tamper: p=$(sed -n "s/^const PORT ulong \([0-9][0-9]*\)\$/\1/p" installer/wizard/engine.om); printf "// fallback port %s\n" "$p" >> installer/wizard/lib.om +installer/wizard/lib.om:641:// fallback port 18100 +::error::the wizard writes port 18100 outside const PORT; print it from PORT (eaddr, pladdr, pkaddr) diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log new file mode 100644 index 0000000..616e6b4 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log @@ -0,0 +1 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's diff --git a/evidence/dra-170/main-2554682/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log new file mode 100644 index 0000000..e7659cb --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's # tamper: sed -i "\$s/\$/ /" installer/wizard/sha256.om +- /dev/shm/hive/Hardening170/s2/rt-neg/sha.body differ: byte 9555, line 344 diff --git a/evidence/dra-170/main-2554682/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log b/evidence/dra-170/main-2554682/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log new file mode 100644 index 0000000..3f1ec64 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log @@ -0,0 +1,16 @@ +$ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls +OK /dev/shm/hive/Hardening170/s2/base/.github/workflows/index-sync.yml +OK /dev/shm/hive/Hardening170/s2/base/.github/workflows/index.yml +OK /dev/shm/hive/Hardening170/s2/base/.github/workflows/installer-verify-path.yml +OK /dev/shm/hive/Hardening170/s2/base/.github/workflows/learn.yml +OK /dev/shm/hive/Hardening170/s2/base/.github/workflows/release-verify.yml +OK /dev/shm/hive/Hardening170/s2/base/.github/workflows/sbom.yml +OK /dev/shm/hive/Hardening170/s2/base/.github/workflows/verify.yml +OK /dev/shm/hive/Hardening170/s2/base/.github/workflows/workflow-yaml.yml +CONTROL good plain.yml: accepted +NEGATIVE-CONTROL conflict-markers.yml: rejected as expected (/dev/shm/hive/Hardening170/s2/base/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml: while scanning a simple key in "/dev/shm/hive/Hardening170/s2/base/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml", line 12, column 1 could not find expected ':' in "/dev/shm/hive/Hardening170/s2/base/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml", line 13, column 13) +NEGATIVE-CONTROL duplicate-key.yml: rejected as expected (/dev/shm/hive/Hardening170/s2/base/installer/tests/fixtures/workflow-yaml/bad/duplicate-key.yml: duplicate key 'permissions' in "/dev/shm/hive/Hardening170/s2/base/installer/tests/fixtures/workflow-yaml/bad/duplicate-key.yml", line 6, column 1) +NEGATIVE-CONTROL empty.yml: rejected as expected (/dev/shm/hive/Hardening170/s2/base/installer/tests/fixtures/workflow-yaml/bad/empty.yml: not a workflow mapping with an on: key) +NEGATIVE-CONTROL no-jobs.yml: rejected as expected (/dev/shm/hive/Hardening170/s2/base/installer/tests/fixtures/workflow-yaml/bad/no-jobs.yml: no jobs mapping) +NEGATIVE-CONTROL tab-indent.yml: rejected as expected (/dev/shm/hive/Hardening170/s2/base/installer/tests/fixtures/workflow-yaml/bad/tab-indent.yml: while scanning for the next token found character ' ' that cannot start any token in "/dev/shm/hive/Hardening170/s2/base/installer/tests/fixtures/workflow-yaml/bad/tab-indent.yml", line 11, column 1) +WORKFLOW-YAML PASS files=8 negative-controls=5 diff --git a/evidence/dra-170/main-2554682/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log b/evidence/dra-170/main-2554682/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log new file mode 100644 index 0000000..2d3ff31 --- /dev/null +++ b/evidence/dra-170/main-2554682/logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log @@ -0,0 +1,17 @@ +$ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls # tamper: conflict marker appended to .github/workflows/sbom.yml +OK /dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/index-sync.yml +OK /dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/index.yml +OK /dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/installer-verify-path.yml +OK /dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/learn.yml +OK /dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/release-verify.yml +/dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/sbom.yml: while scanning a simple key in "/dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/sbom.yml", line 24, column 1 could not find expected ':' in "/dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/sbom.yml", line 25, column 1 +FAIL /dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/sbom.yml +OK /dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/verify.yml +OK /dev/shm/hive/Hardening170/s2/neg-tree/.github/workflows/workflow-yaml.yml +CONTROL good plain.yml: accepted +NEGATIVE-CONTROL conflict-markers.yml: rejected as expected (/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml: while scanning a simple key in "/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml", line 12, column 1 could not find expected ':' in "/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/fixtures/workflow-yaml/bad/conflict-markers.yml", line 13, column 13) +NEGATIVE-CONTROL duplicate-key.yml: rejected as expected (/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/fixtures/workflow-yaml/bad/duplicate-key.yml: duplicate key 'permissions' in "/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/fixtures/workflow-yaml/bad/duplicate-key.yml", line 6, column 1) +NEGATIVE-CONTROL empty.yml: rejected as expected (/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/fixtures/workflow-yaml/bad/empty.yml: not a workflow mapping with an on: key) +NEGATIVE-CONTROL no-jobs.yml: rejected as expected (/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/fixtures/workflow-yaml/bad/no-jobs.yml: no jobs mapping) +NEGATIVE-CONTROL tab-indent.yml: rejected as expected (/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/fixtures/workflow-yaml/bad/tab-indent.yml: while scanning for the next token found character ' ' that cannot start any token in "/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/fixtures/workflow-yaml/bad/tab-indent.yml", line 11, column 1) +WORKFLOW-YAML FAIL diff --git a/evidence/dra-170/main-2554682/rows.tsv b/evidence/dra-170/main-2554682/rows.tsv new file mode 100644 index 0000000..e607bf5 --- /dev/null +++ b/evidence/dra-170/main-2554682/rows.tsv @@ -0,0 +1,53 @@ +verify.yml/verify/Shell syntax gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Shell syntax 0 $ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Shell syntax logs/verify.yml_verify_Shell_syntax.gate.log +verify.yml/verify/Pinned omega-mv gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Pinned omega-mv 0 /dev/shm/hive/Hardening170/s2/rt-verify/omega/seed/out/omc: OK logs/verify.yml_verify_Pinned_omega-mv.gate.log +verify.yml/verify/Vendored SHA-256 unit is the derivation of omega-mv's gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's 0 $ cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log +verify.yml/verify/Compile the wizard twice gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Compile the wizard twice 0 725b284298610df5886ba33ba1da75ebcdcd67a21ab059b8688616fe1a2487ba /dev/shm/hive/Hardening170/s2/rt-verify/a1 logs/verify.yml_verify_Compile_the_wizard_twice.gate.log +verify.yml/verify/Capture text frames in Omega match the recorded outputs (#31) gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) 0 PASS 18/18 logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log +verify.yml/verify/The engine port is written once, in PORT (#34) gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) 0 port 18100: only in const PORT logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log +verify.yml/verify/Doctor on fake hardware gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Doctor on fake hardware 0 doctor olddrv rc=1 want=1 logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log +verify.yml/verify/Shell syntax neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Shell syntax # tamper: printf "if then\n" >> installer/tests/lend.sh 2 installer/tests/lend.sh: 175: Syntax error: "then" unexpected logs/verify.yml_verify_Shell_syntax.neg.log +verify.yml/verify/Pinned omega-mv neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Pinned omega-mv # tamper: printf x >> "$RT/omega/seed/out/omc" 1 sha256sum: WARNING: 1 computed checksum did NOT match logs/verify.yml_verify_Pinned_omega-mv.neg.log +verify.yml/verify/Vendored SHA-256 unit is the derivation of omega-mv's neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's # tamper: sed -i "\$s/\$/ /" installer/wizard/sha256.om 1 - /dev/shm/hive/Hardening170/s2/rt-neg/sha.body differ: byte 9555, line 344 logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log +verify.yml/verify/Compile the wizard twice neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf "fn broken(\n" >> installer/wizard/report.om 16 $ cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf "fn broken(\n" >> installer/wizard/report.om logs/verify.yml_verify_Compile_the_wizard_twice.neg.log +verify.yml/verify/Capture text frames in Omega match the recorded outputs (#31) neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) # tamper: f=$(ls installer/tests/ansi-txt/*.txt | head -n 1); sed -i "1s/^/X/" "$f" 1 FAIL bad=1 of 18 logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log +verify.yml/verify/The engine port is written once, in PORT (#34) neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) # tamper: p=$(sed -n "s/^const PORT ulong \([0-9][0-9]*\)\$/\1/p" installer/wizard/engine.om); printf "// fallback port %s\n" "$p" >> installer/wizard/lib.om 1 ::error::the wizard writes port 18100 outside const PORT; print it from PORT (eaddr, pladdr, pkaddr) logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log +verify.yml/verify/Doctor on fake hardware neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # verify.yml job verify step: Doctor on fake hardware # tamper: sed -i "s/gb10|gb10-busy) gpu 0x2e12 580.173.02/gb10|gb10-busy) gpu 0x2e12 570.86.10/" installer/tests/fake-root.sh 1 doctor gb10 rc=1 want=0 logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log +index.yml/index-check/Pinned omega-mv gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Pinned omega-mv 0 /dev/shm/hive/Hardening170/s2/rt-index/omega/seed/out/omc: OK logs/index.yml_index-check_Pinned_omega-mv.gate.log +index.yml/index-check/Compile the generator twice gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Compile the generator twice 0 e52ec0ac64ac3bd55771a8ff1424e2bf575a1c5e823abf982c1021d3bfd59b05 /dev/shm/hive/Hardening170/s2/rt-index/index logs/index.yml_index-check_Compile_the_generator_twice.gate.log +index.yml/index-check/Index, curated entries and README agree gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree 0 index: 90 repositories, curated and rendered logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log +index.yml/index-check/Negative control, an uncurated public repository fails gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails 0 negative control rc=1 want=1 logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log +index.yml/index-check/Index, curated entries and README agree neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree # tamper: last entry removed from index/repos.json 1 remove them (a private repository must never be named here) logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log +index.yml/index-check/Negative control, an uncurated public repository fails neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails # tamper: fixture repository fake-uncurated-repo renamed to sovereign-intelligence (curated) 1 negative control rc=1 want=1 logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log +installer-verify-path.yml/verify-path/Verification path with negative controls gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-vp' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls 0 verify-path.sh exit 0 logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log +installer-verify-path.yml/verify-path/Verification path with negative controls neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2/rt-vp-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls # tamper: install.sh signature check disabled (if false && ! openssl pkeyutl -verify) 1 verify-path.sh exit 1 logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log +workflow-yaml.yml/parse/Parse every workflow and the negative controls gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls 0 WORKFLOW-YAML PASS files=8 negative-controls=5 logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log +workflow-yaml.yml/parse/Parse every workflow and the negative controls neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls # tamper: conflict marker appended to .github/workflows/sbom.yml 1 WORKFLOW-YAML FAIL logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log +learn.yml/learn-check/No first-party runners under docs/learn or docs/academy gate 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy 0 LEARN-CHECK PASS runners=0 logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log +learn.yml/learn-check/No first-party runners under docs/learn or docs/academy neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s2' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s2/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s2/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy # tamper: docs/learn/run.sh added 1 docs/learn/run.sh ext logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log +installer/build.sh gate 2554682006aef0a6926841c5db217c02dd4a02ce OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/engine' sh build.sh '/dev/shm/hive/Hardening170/s2/out' 0 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a release.pub.pem logs/installer_build.sh.gate.log +installer/build.sh neg 2554682006aef0a6926841c5db217c02dd4a02ce OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/s2/engine.tampered' sh build.sh '/dev/shm/hive/Hardening170/s2/out-neg' # tamper: one byte appended to the engine 7 build.sh: /dev/shm/hive/Hardening170/s2/engine.tampered sha256 8b98af59860bdf8aa76e3982ae0baf93803ccd45e7346487889c2d951d2f1a7a, want 6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 logs/installer_build.sh.neg.log +installer/tests/report.sh gate 2554682006aef0a6926841c5db217c02dd4a02ce AIENOS='/dev/shm/hive/Hardening170/s2/out/stage/bin/aienos' sh tests/report.sh '/dev/shm/hive/Hardening170/s2/report' 0 REPORT-TESTS pass=15 fail=0 logs/installer_tests_report.sh.gate.log +installer/tests/report.sh neg 2554682006aef0a6926841c5db217c02dd4a02ce AIENOS=/bin/true sh tests/report.sh '/dev/shm/hive/Hardening170/s2/report-neg' # tamper: aienos replaced by /bin/true (exits 0, writes nothing) 1 REPORT-TESTS pass=6 fail=9 logs/installer_tests_report.sh.neg.log +installer/tests/run.sh gate 2554682006aef0a6926841c5db217c02dd4a02ce OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s2/out/dist' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s2/run' 0 AIENOS-TESTS pass=39 fail=0 scratch=/dev/shm/hive/Hardening170/s2/run logs/installer_tests_run.sh.gate.log +installer/tests/run.sh neg 2554682006aef0a6926841c5db217c02dd4a02ce OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s2/dist-neg' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s2/run-neg' # tamper: one byte appended to the bundle 1 AIENOS-TESTS pass=33 fail=6 scratch=/dev/shm/hive/Hardening170/s2/run-neg logs/installer_tests_run.sh.neg.log +installer/tests/token.sh gate 2554682006aef0a6926841c5db217c02dd4a02ce OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token' 0 AIENOS-TOKEN-TESTS pass=30 fail=0 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token logs/installer_tests_token.sh.gate.log +installer/tests/token.sh neg 2554682006aef0a6926841c5db217c02dd4a02ce OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/stage-neg' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg' # tamper: bin/aienos replaced by /bin/true 1 AIENOS-TOKEN-TESTS pass=5 fail=25 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s2/token-neg logs/installer_tests_token.sh.neg.log +installer/tests/lend.sh gate 2554682006aef0a6926841c5db217c02dd4a02ce OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/out/stage' sh tests/lend.sh '/dev/shm/hive/Hardening170/s2/lend' 0 AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/s2/lend logs/installer_tests_lend.sh.gate.log +installer/tests/lend.sh neg 2554682006aef0a6926841c5db217c02dd4a02ce OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s2/stage-neg' sh tests/lend.sh '/dev/shm/hive/Hardening170/s2/lend-neg' # tamper: bin/aienos replaced by /bin/true 1 AIENOS-LEND-TESTS pass=0 fail=3 notrun=12 scratch=/dev/shm/hive/Hardening170/s2/lend-neg logs/installer_tests_lend.sh.neg.log +installer/tests/failure-paths/run.sh gate 2554682006aef0a6926841c5db217c02dd4a02ce OMC='/dev/shm/hive/Hardening170/omc' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s2/fp' 0 SUMMARY pass=11 fail=0 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s2/fp logs/installer_tests_failure-paths_run.sh.gate.log +installer/tests/failure-paths/run.sh neg 2554682006aef0a6926841c5db217c02dd4a02ce OMC='/dev/shm/hive/Hardening170/omc' sh '/dev/shm/hive/Hardening170/s2/neg-tree/installer/tests/failure-paths/run.sh' '/dev/shm/hive/Hardening170/s2/fp-neg' # tamper: install.sh signature check disabled 1 SUMMARY pass=10 fail=1 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s2/fp-neg logs/installer_tests_failure-paths_run.sh.neg.log +installer/tests/failure-paths/run.sh (unavailable omc) gate 2554682006aef0a6926841c5db217c02dd4a02ce OMC='/dev/shm/hive/Hardening170/s2/omc.tampered' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s2/fp-omc' 3 SUMMARY pass=0 fail=0 not_run=11 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s2/fp-omc logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log +installer/tests/container.sh notrun 2554682006aef0a6926841c5db217c02dd4a02ce needs the host docker daemon (a shared service outside the bwrap --unshare-net sandbox); not run by this lane +installer/tests/onboarding.sh notrun 2554682006aef0a6926841c5db217c02dd4a02ce needs the host docker daemon with a bridge network (outside the bwrap --unshare-net sandbox); not run by this lane +installer/tests/host-untouched.sh notrun 2554682006aef0a6926841c5db217c02dd4a02ce records dpkg/NVIDIA package state of the host; this lane stays off NVIDIA state; run.sh ran separately under bwrap +release-verify.yml (published release) notrun 2554682006aef0a6926841c5db217c02dd4a02ce candidate TAG alpha-20261029.1 has no published release (gh release list: alpha-20261026.2, .1 only); signing needs the TPM-bound release key +release-key signature over the candidate DIST notrun 2554682006aef0a6926841c5db217c02dd4a02ce tools/sign.sh needs AIENOS_RELEASE_ED25519_SEED from the TPM-bound atlas-vault; run.sh section A used a test key +DRA-52 GPU golden-token merge gate notrun 2554682006aef0a6926841c5db217c02dd4a02ce needs the GPU window (GB10); not authorized for this lane +DRA-56 bearer auth on the shipped engine serving a real model notrun 2554682006aef0a6926841c5db217c02dd4a02ce real-model serving needs the GPU window; only the --engine stub path (token.sh core-* cases) ran on the host +DRA-53 failure paths on a stock DGX Spark notrun 2554682006aef0a6926841c5db217c02dd4a02ce real Spark gate; only host results here +verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant) gate 2554682006aef0a6926841c5db217c02dd4a02ce rm -rf '/dev/shm/hive/Hardening170/s2/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170/.scratch/wt' '/dev/shm/hive/Hardening170/s2/inv' && git -C '/dev/shm/hive/Hardening170/s2/inv' checkout -q 2554682006aef0a6926841c5db217c02dd4a02ce && cd '/dev/shm/hive/Hardening170/s2/inv' && python3 notes/rc2/verify_inventory.py --self-test 0 MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000 logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log +verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant) neg 2554682006aef0a6926841c5db217c02dd4a02ce cd '/dev/shm/hive/Hardening170/s2/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit 1 pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60 logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log +github/private-vulnerability-reporting gate 2554682006aef0a6926841c5db217c02dd4a02ce gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting && test "$(gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting --jq .enabled)" = true && echo enabled=true 0 {"enabled":true}enabled=true logs/github_private-vulnerability-reporting.gate.log +github/private-vulnerability-reporting neg 2554682006aef0a6926841c5db217c02dd4a02ce gh api repos/aien-dev/aien-rig/private-vulnerability-reporting && test "$(gh api repos/aien-dev/aien-rig/private-vulnerability-reporting --jq .enabled)" = true && echo enabled=true # tamper: same check against aien-dev/aien-rig, whose reporting is off 1 {"enabled":false} logs/github_private-vulnerability-reporting.neg.log +github/secret-scanning (enabled, push protection, zero open alerts) gate 2554682006aef0a6926841c5db217c02dd4a02ce gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning.status) && echo secret_scanning=$s && test "$s" = enabled && n=$(gh api "repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0 && test "$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_push_protection.status)" = enabled && echo push_protection=enabled 0 push_protection=enabled logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log +github/secret-scanning (enabled, push protection, zero open alerts) neg 2554682006aef0a6926841c5db217c02dd4a02ce gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_non_provider_patterns.status) && echo secret_scanning_non_provider_patterns=$s && test "$s" = enabled && n=$(gh api "repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0 # tamper: same check against security_and_analysis.secret_scanning_non_provider_patterns, which is disabled 1 secret_scanning_non_provider_patterns=disabled logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log diff --git a/evidence/dra-170/main-27ee8a4/affinity-control/control.txt b/evidence/dra-170/main-27ee8a4/affinity-control/control.txt new file mode 100644 index 0000000..4086208 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/affinity-control/control.txt @@ -0,0 +1,6 @@ +$ CANDIDATE=27ee8a4ee29b11d268fc675180b499b4a90a9e28 PHASE=network taskset -c 1 nice -n 10 bwrap --dev-bind / / --dev /dev --bind /dev/shm/hive/Hardening170 /dev/shm/hive/Hardening170 --proc /proc --unshare-pid --die-with-parent -- sh tests/gates/candidate_verification.sh evidence/dra-170/main-27ee8a4/affinity-control /dev/shm/hive/Hardening170/c-affinity +network rc=0 +/home/drakestapleton/work/hive/Hardening170/evidence/dra-170/main-27ee8a4/affinity-control/gates_run.json gates=2 PASS=2 FAIL=0 INCONCLUSIVE=0 NOT_RUN=0 +json rc=0 +scope: host only (CPU cores 1; sandbox: bwrap); not hardware qualification +cpus_allowed_measured: ['1'] diff --git a/evidence/dra-170/main-27ee8a4/affinity-control/gates_run.json b/evidence/dra-170/main-27ee8a4/affinity-control/gates_run.json new file mode 100644 index 0000000..71bcb7d --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/affinity-control/gates_run.json @@ -0,0 +1,70 @@ +{ + "issue": "DRA-170", + "repo": "aien-dev/sovereign-intelligence", + "candidate": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "scope": "host only (CPU cores 1; sandbox: bwrap); not hardware qualification", + "cpus_allowed_measured": [ + "1" + ], + "sandbox_measured": [ + "bwrap" + ], + "counts": { + "PASS": 2, + "FAIL": 0, + "INCONCLUSIVE": 0, + "NOT_RUN": 0 + }, + "gates": [ + { + "gate": "verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant)", + "command": "rm -rf '/dev/shm/hive/Hardening170/c-affinity/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170' '/dev/shm/hive/Hardening170/c-affinity/inv' && git -C '/dev/shm/hive/Hardening170/c-affinity/inv' checkout -q 27ee8a4ee29b11d268fc675180b499b4a90a9e28 && cd '/dev/shm/hive/Hardening170/c-affinity/inv' && python3 notes/rc2/verify_inventory.py --self-test", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000", + "log": "logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log", + "cpus_allowed": "1", + "sandbox": "bwrap", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/c-affinity/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit", + "rc": 1, + "last_line": "pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60", + "log": "logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log", + "expected": "rc != 0", + "cpus_allowed": "1", + "sandbox": "bwrap", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "tests/verify_dra169_build_audit.sh", + "command": "cd '/dev/shm/hive/Hardening170/c-affinity/inv' && sh tests/verify_dra169_build_audit.sh", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "ALL AUDIT RECORD CHECKS PASSED.", + "log": "logs/tests_verify_dra169_build_audit.sh.gate.log", + "cpus_allowed": "1", + "sandbox": "bwrap", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/c-affinity/inv' && sh '/dev/shm/hive/Hardening170/c-affinity/assert_fail.sh' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/want.txt' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/dra-169-build-audit-2b90bdf.json' # tamper: alpha_key.raw_public_key_hex changed in its last digit, record kept at its real file name", + "rc": 1, + "last_line": "CONTROL-ASSERT PASS rc=1, exactly the 3 expected FAIL lines", + "log": "logs/tests_verify_dra169_build_audit.sh.neg.log", + "expected": "rc != 0", + "cpus_allowed": "1", + "sandbox": "bwrap", + "result": "FAIL as expected" + }, + "meta_control": { + "command": "cd '/dev/shm/hive/Hardening170/c-affinity/inv' && sh '/dev/shm/hive/Hardening170/c-affinity/assert_fail.sh' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/want.txt' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/dra-169-build-audit-2b90bdf.json'", + "rc": 0, + "last_line": "CONTROL-ASSERT FAIL rc=0, FAIL lines differ from /dev/shm/hive/Hardening170/c-affinity/audit-neg/want.txt", + "log": "logs/tests_verify_dra169_build_audit.sh.meta.log", + "expected": "rc 0 and CONTROL-ASSERT FAIL rc=0 (untampered input passes)", + "result": "as expected" + }, + "label": "PASS" + } + ] +} \ No newline at end of file diff --git a/evidence/dra-170/main-27ee8a4/affinity-control/logs/tests_verify_dra169_build_audit.sh.gate.log b/evidence/dra-170/main-27ee8a4/affinity-control/logs/tests_verify_dra169_build_audit.sh.gate.log new file mode 100644 index 0000000..a6e1ce8 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/affinity-control/logs/tests_verify_dra169_build_audit.sh.gate.log @@ -0,0 +1,108 @@ +$ cd '/dev/shm/hive/Hardening170/c-affinity/inv' && sh tests/verify_dra169_build_audit.sh +=== 1. Structure, labels and pinned commit === + OK top-level key schema + OK top-level key record + OK top-level key pinned_commit + OK top-level key acceptance + OK top-level key named_tag + OK top-level key alpha_key + OK top-level key candidates + OK top-level key installation_at_pinned_commit + OK top-level key models + OK top-level key host_dependencies + OK top-level key governance_issues + OK pinned_commit is a full sha 2b90bdf82cde11ced998e9463db77487ad041dfc + OK pinned commit 2b90bdf82cde11ced998e9463db77487ad041dfc present + OK record file name carries the pinned commit + OK exactly the six public-alpha exits + OK exit fresh_dgx_install NOT_RUN + OK exit ed25519_verified_download NOT_RUN + OK exit first_chat_token_served NOT_RUN + OK exit physical_qualification_3x NOT_RUN + OK exit clean_uninstall NOT_RUN + OK exit clean_rollback NOT_RUN + OK signing status NOT_RUN + OK qwen3.6-35b-a3b-fp8 qualification NOT_RUN + OK qwen3-30b-a3b-instruct-2507-fp8 qualification NOT_RUN +=== 2. Pinned tree file digests at 2b90bdf8 === + OK 2b90bdf8:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 2b90bdf8:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 2b90bdf8:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 2b90bdf8:installer/install.sh caae664628cbe4bd596cd4d0f56973727e3755dcbc92a1a6b0ca9ef7487f32bd + OK 2b90bdf8:installer/HOST-DEPENDENCIES.md 0f69144ae41daca344165956e4b9c84990cd985d95d826f58ed9ebb477b60d83 + OK 2b90bdf8:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:installer/share/model-30b.manifest 5c4e06f758be3d2175a92f7bd098f9310d97a9759abb072bcfe65363c76d7bf7 + OK 2b90bdf8:installer/share/models.registry 8303c9615585a1645ce1c9ad8f6b428f5ba28e92af2da10e35e22e3871788dd0 + OK 2b90bdf8:AUDIT_SCOPE.md d5f278ffc9be83bb6e1726dec198aa5ea71cf5079243f7cc54925febd929716f + OK 2b90bdf8:NOTICE fbe3826b46beaedcc1f727101f5cb74d9d35db8e53f8bf22c86852be4fa03b8d + OK 2b90bdf8:LICENSE c4cdd93ac70fe25b664c71dff5380032ad3d6b0b4474c43ad4d0edf7c7881fb2 +=== 3. Pinned tree pins at 2b90bdf8 === + OK installer/build.sh TAG=alpha-20261029.1 + OK installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK installer/build.sh CORE_REV=d3dec0eb18818808212bdf99db5c8612bcfcb9ef + OK installer/build.sh ENGINE_SHA256=6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 + OK installer/install.sh TAG=alpha-20261029.1 + OK pinned tree TAG equals named_tag.tag +=== 4. Signed build (git objects at its source commit) === + OK commit 3c68592afa91de6c9a11e84400a8a71ef0e0711b present + OK 3c68592a is an ancestor of 2b90bdf8 + OK 3c68592a:installer/build.sh TAG=alpha-20261029.1 + OK 3c68592a:installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK 3c68592a:installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK 3c68592a:installer/build.sh CORE_REV=59b05a71a33e4a2f1324db2f2b6407ee82b8c2c3 + OK 3c68592a:installer/build.sh ENGINE_SHA256=19173f9ec3b609fe79af644f84741d8808b92ea8eb3ecec4bc945af6f22b3aeb + OK signed build TAG equals named_tag.tag + OK 3c68592a:installer/install.sh f1d47e4c217c8bd7e0d4f4c3843d90888a33a1011ca0ca38e6b15fc6889dcc14 + OK 3c68592a:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 3c68592a:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 3c68592a:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 3c68592a:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:evidence/alpha-20261029.1/SHA256SUMS.tested a525f856696f5155a0a43b63e565e7dc9f73e4f7ebbad5a7e76379e19b836e48 + OK tested sums list (5 entries) equals record + OK tested sums name aienos-alpha-20261029.1-linux-arm64.tar.gz + OK signed install.sh equals installer/install.sh at the source commit + OK signed release.pub equals keys/release.pub + OK signed release.pub.pem equals keys/release.pub.pem +=== 5. Alpha key at 2b90bdf8 === + OK KEYS digest matches pinned tree + OK keys/release.pub digest matches pinned tree + OK keys/release.pub.pem digest matches pinned tree + OK KEYS names the raw key + OK keys/release.pub is the raw key + OK keys/release.pub.pem is the Ed25519 SPKI of the raw key +=== 6. Models and registry at 2b90bdf8 === + OK pinned tree model qwen3.6-35b-a3b-fp8 described + OK pinned tree model qwen3-30b-a3b-instruct-2507-fp8 described + OK signed build model qwen3.6-35b-a3b-fp8 described + OK registry lists ['qwen3-30b-a3b-instruct-2507-fp8', 'qwen3.6-35b-a3b-fp8'] + OK installer/share/model.manifest digest pinned in pinned_tree.files + OK qwen3.6-35b-a3b-fp8 header (name, url, bytes, files) + OK qwen3.6-35b-a3b-fp8 entries are 'sha256 size path' + OK qwen3.6-35b-a3b-fp8 file count 56 + OK qwen3.6-35b-a3b-fp8 byte total 37493015668 + OK qwen3.6-35b-a3b-fp8 registry title + OK qwen3.6-35b-a3b-fp8 registry repo + OK qwen3.6-35b-a3b-fp8 registry args + OK qwen3.6-35b-a3b-fp8 registry memkb + OK qwen3.6-35b-a3b-fp8 registry manifest file + OK installer/share/model-30b.manifest digest pinned in pinned_tree.files + OK qwen3-30b-a3b-instruct-2507-fp8 header (name, url, bytes, files) + OK qwen3-30b-a3b-instruct-2507-fp8 entries are 'sha256 size path' + OK qwen3-30b-a3b-instruct-2507-fp8 file count 14 + OK qwen3-30b-a3b-instruct-2507-fp8 byte total 31195094809 + OK qwen3-30b-a3b-instruct-2507-fp8 registry title + OK qwen3-30b-a3b-instruct-2507-fp8 registry repo + OK qwen3-30b-a3b-instruct-2507-fp8 registry args + OK qwen3-30b-a3b-instruct-2507-fp8 registry memkb + OK qwen3-30b-a3b-instruct-2507-fp8 registry manifest file +=== 7. Installation references at 2b90bdf8 === + OK clone command names named_tag.tag + OK absent tag recorded as absent, clone command FAIL + OK 2b90bdf8:installer/tests/failure-paths/rollback-clean.sh exists + OK install.sh uses curl + OK install.sh uses sha256sum + OK install.sh uses tar + OK install.sh uses openssl + OK install.sh uses mktemp +ALL AUDIT RECORD CHECKS PASSED. diff --git a/evidence/dra-170/main-27ee8a4/affinity-control/logs/tests_verify_dra169_build_audit.sh.meta.log b/evidence/dra-170/main-27ee8a4/affinity-control/logs/tests_verify_dra169_build_audit.sh.meta.log new file mode 100644 index 0000000..23be2a7 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/affinity-control/logs/tests_verify_dra169_build_audit.sh.meta.log @@ -0,0 +1,109 @@ +$ cd '/dev/shm/hive/Hardening170/c-affinity/inv' && sh '/dev/shm/hive/Hardening170/c-affinity/assert_fail.sh' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/want.txt' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/dra-169-build-audit-2b90bdf.json' +=== 1. Structure, labels and pinned commit === + OK top-level key schema + OK top-level key record + OK top-level key pinned_commit + OK top-level key acceptance + OK top-level key named_tag + OK top-level key alpha_key + OK top-level key candidates + OK top-level key installation_at_pinned_commit + OK top-level key models + OK top-level key host_dependencies + OK top-level key governance_issues + OK pinned_commit is a full sha 2b90bdf82cde11ced998e9463db77487ad041dfc + OK pinned commit 2b90bdf82cde11ced998e9463db77487ad041dfc present + OK record file name carries the pinned commit + OK exactly the six public-alpha exits + OK exit fresh_dgx_install NOT_RUN + OK exit ed25519_verified_download NOT_RUN + OK exit first_chat_token_served NOT_RUN + OK exit physical_qualification_3x NOT_RUN + OK exit clean_uninstall NOT_RUN + OK exit clean_rollback NOT_RUN + OK signing status NOT_RUN + OK qwen3.6-35b-a3b-fp8 qualification NOT_RUN + OK qwen3-30b-a3b-instruct-2507-fp8 qualification NOT_RUN +=== 2. Pinned tree file digests at 2b90bdf8 === + OK 2b90bdf8:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 2b90bdf8:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 2b90bdf8:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 2b90bdf8:installer/install.sh caae664628cbe4bd596cd4d0f56973727e3755dcbc92a1a6b0ca9ef7487f32bd + OK 2b90bdf8:installer/HOST-DEPENDENCIES.md 0f69144ae41daca344165956e4b9c84990cd985d95d826f58ed9ebb477b60d83 + OK 2b90bdf8:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:installer/share/model-30b.manifest 5c4e06f758be3d2175a92f7bd098f9310d97a9759abb072bcfe65363c76d7bf7 + OK 2b90bdf8:installer/share/models.registry 8303c9615585a1645ce1c9ad8f6b428f5ba28e92af2da10e35e22e3871788dd0 + OK 2b90bdf8:AUDIT_SCOPE.md d5f278ffc9be83bb6e1726dec198aa5ea71cf5079243f7cc54925febd929716f + OK 2b90bdf8:NOTICE fbe3826b46beaedcc1f727101f5cb74d9d35db8e53f8bf22c86852be4fa03b8d + OK 2b90bdf8:LICENSE c4cdd93ac70fe25b664c71dff5380032ad3d6b0b4474c43ad4d0edf7c7881fb2 +=== 3. Pinned tree pins at 2b90bdf8 === + OK installer/build.sh TAG=alpha-20261029.1 + OK installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK installer/build.sh CORE_REV=d3dec0eb18818808212bdf99db5c8612bcfcb9ef + OK installer/build.sh ENGINE_SHA256=6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 + OK installer/install.sh TAG=alpha-20261029.1 + OK pinned tree TAG equals named_tag.tag +=== 4. Signed build (git objects at its source commit) === + OK commit 3c68592afa91de6c9a11e84400a8a71ef0e0711b present + OK 3c68592a is an ancestor of 2b90bdf8 + OK 3c68592a:installer/build.sh TAG=alpha-20261029.1 + OK 3c68592a:installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK 3c68592a:installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK 3c68592a:installer/build.sh CORE_REV=59b05a71a33e4a2f1324db2f2b6407ee82b8c2c3 + OK 3c68592a:installer/build.sh ENGINE_SHA256=19173f9ec3b609fe79af644f84741d8808b92ea8eb3ecec4bc945af6f22b3aeb + OK signed build TAG equals named_tag.tag + OK 3c68592a:installer/install.sh f1d47e4c217c8bd7e0d4f4c3843d90888a33a1011ca0ca38e6b15fc6889dcc14 + OK 3c68592a:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 3c68592a:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 3c68592a:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 3c68592a:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:evidence/alpha-20261029.1/SHA256SUMS.tested a525f856696f5155a0a43b63e565e7dc9f73e4f7ebbad5a7e76379e19b836e48 + OK tested sums list (5 entries) equals record + OK tested sums name aienos-alpha-20261029.1-linux-arm64.tar.gz + OK signed install.sh equals installer/install.sh at the source commit + OK signed release.pub equals keys/release.pub + OK signed release.pub.pem equals keys/release.pub.pem +=== 5. Alpha key at 2b90bdf8 === + OK KEYS digest matches pinned tree + OK keys/release.pub digest matches pinned tree + OK keys/release.pub.pem digest matches pinned tree + OK KEYS names the raw key + OK keys/release.pub is the raw key + OK keys/release.pub.pem is the Ed25519 SPKI of the raw key +=== 6. Models and registry at 2b90bdf8 === + OK pinned tree model qwen3.6-35b-a3b-fp8 described + OK pinned tree model qwen3-30b-a3b-instruct-2507-fp8 described + OK signed build model qwen3.6-35b-a3b-fp8 described + OK registry lists ['qwen3-30b-a3b-instruct-2507-fp8', 'qwen3.6-35b-a3b-fp8'] + OK installer/share/model.manifest digest pinned in pinned_tree.files + OK qwen3.6-35b-a3b-fp8 header (name, url, bytes, files) + OK qwen3.6-35b-a3b-fp8 entries are 'sha256 size path' + OK qwen3.6-35b-a3b-fp8 file count 56 + OK qwen3.6-35b-a3b-fp8 byte total 37493015668 + OK qwen3.6-35b-a3b-fp8 registry title + OK qwen3.6-35b-a3b-fp8 registry repo + OK qwen3.6-35b-a3b-fp8 registry args + OK qwen3.6-35b-a3b-fp8 registry memkb + OK qwen3.6-35b-a3b-fp8 registry manifest file + OK installer/share/model-30b.manifest digest pinned in pinned_tree.files + OK qwen3-30b-a3b-instruct-2507-fp8 header (name, url, bytes, files) + OK qwen3-30b-a3b-instruct-2507-fp8 entries are 'sha256 size path' + OK qwen3-30b-a3b-instruct-2507-fp8 file count 14 + OK qwen3-30b-a3b-instruct-2507-fp8 byte total 31195094809 + OK qwen3-30b-a3b-instruct-2507-fp8 registry title + OK qwen3-30b-a3b-instruct-2507-fp8 registry repo + OK qwen3-30b-a3b-instruct-2507-fp8 registry args + OK qwen3-30b-a3b-instruct-2507-fp8 registry memkb + OK qwen3-30b-a3b-instruct-2507-fp8 registry manifest file +=== 7. Installation references at 2b90bdf8 === + OK clone command names named_tag.tag + OK absent tag recorded as absent, clone command FAIL + OK 2b90bdf8:installer/tests/failure-paths/rollback-clean.sh exists + OK install.sh uses curl + OK install.sh uses sha256sum + OK install.sh uses tar + OK install.sh uses openssl + OK install.sh uses mktemp +ALL AUDIT RECORD CHECKS PASSED. +CONTROL-ASSERT FAIL rc=0, FAIL lines differ from /dev/shm/hive/Hardening170/c-affinity/audit-neg/want.txt diff --git a/evidence/dra-170/main-27ee8a4/affinity-control/logs/tests_verify_dra169_build_audit.sh.neg.log b/evidence/dra-170/main-27ee8a4/affinity-control/logs/tests_verify_dra169_build_audit.sh.neg.log new file mode 100644 index 0000000..fb24005 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/affinity-control/logs/tests_verify_dra169_build_audit.sh.neg.log @@ -0,0 +1,109 @@ +$ cd '/dev/shm/hive/Hardening170/c-affinity/inv' && sh '/dev/shm/hive/Hardening170/c-affinity/assert_fail.sh' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/want.txt' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/dra-169-build-audit-2b90bdf.json' # tamper: alpha_key.raw_public_key_hex changed in its last digit, record kept at its real file name +=== 1. Structure, labels and pinned commit === + OK top-level key schema + OK top-level key record + OK top-level key pinned_commit + OK top-level key acceptance + OK top-level key named_tag + OK top-level key alpha_key + OK top-level key candidates + OK top-level key installation_at_pinned_commit + OK top-level key models + OK top-level key host_dependencies + OK top-level key governance_issues + OK pinned_commit is a full sha 2b90bdf82cde11ced998e9463db77487ad041dfc + OK pinned commit 2b90bdf82cde11ced998e9463db77487ad041dfc present + OK record file name carries the pinned commit + OK exactly the six public-alpha exits + OK exit fresh_dgx_install NOT_RUN + OK exit ed25519_verified_download NOT_RUN + OK exit first_chat_token_served NOT_RUN + OK exit physical_qualification_3x NOT_RUN + OK exit clean_uninstall NOT_RUN + OK exit clean_rollback NOT_RUN + OK signing status NOT_RUN + OK qwen3.6-35b-a3b-fp8 qualification NOT_RUN + OK qwen3-30b-a3b-instruct-2507-fp8 qualification NOT_RUN +=== 2. Pinned tree file digests at 2b90bdf8 === + OK 2b90bdf8:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 2b90bdf8:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 2b90bdf8:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 2b90bdf8:installer/install.sh caae664628cbe4bd596cd4d0f56973727e3755dcbc92a1a6b0ca9ef7487f32bd + OK 2b90bdf8:installer/HOST-DEPENDENCIES.md 0f69144ae41daca344165956e4b9c84990cd985d95d826f58ed9ebb477b60d83 + OK 2b90bdf8:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:installer/share/model-30b.manifest 5c4e06f758be3d2175a92f7bd098f9310d97a9759abb072bcfe65363c76d7bf7 + OK 2b90bdf8:installer/share/models.registry 8303c9615585a1645ce1c9ad8f6b428f5ba28e92af2da10e35e22e3871788dd0 + OK 2b90bdf8:AUDIT_SCOPE.md d5f278ffc9be83bb6e1726dec198aa5ea71cf5079243f7cc54925febd929716f + OK 2b90bdf8:NOTICE fbe3826b46beaedcc1f727101f5cb74d9d35db8e53f8bf22c86852be4fa03b8d + OK 2b90bdf8:LICENSE c4cdd93ac70fe25b664c71dff5380032ad3d6b0b4474c43ad4d0edf7c7881fb2 +=== 3. Pinned tree pins at 2b90bdf8 === + OK installer/build.sh TAG=alpha-20261029.1 + OK installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK installer/build.sh CORE_REV=d3dec0eb18818808212bdf99db5c8612bcfcb9ef + OK installer/build.sh ENGINE_SHA256=6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9 + OK installer/install.sh TAG=alpha-20261029.1 + OK pinned tree TAG equals named_tag.tag +=== 4. Signed build (git objects at its source commit) === + OK commit 3c68592afa91de6c9a11e84400a8a71ef0e0711b present + OK 3c68592a is an ancestor of 2b90bdf8 + OK 3c68592a:installer/build.sh TAG=alpha-20261029.1 + OK 3c68592a:installer/build.sh OMEGA_REV=bf54b19fa590e8ae925c0e80815516dbf41e7326 + OK 3c68592a:installer/build.sh OMC_PIN=62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b + OK 3c68592a:installer/build.sh CORE_REV=59b05a71a33e4a2f1324db2f2b6407ee82b8c2c3 + OK 3c68592a:installer/build.sh ENGINE_SHA256=19173f9ec3b609fe79af644f84741d8808b92ea8eb3ecec4bc945af6f22b3aeb + OK signed build TAG equals named_tag.tag + OK 3c68592a:installer/install.sh f1d47e4c217c8bd7e0d4f4c3843d90888a33a1011ca0ca38e6b15fc6889dcc14 + OK 3c68592a:keys/release.pub 2cbc0bfd3b92121ad480e09703c758b56792d38fb19bc971f003482c9e5c8077 + OK 3c68592a:keys/release.pub.pem 23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a + OK 3c68592a:KEYS 4da4ffb8de76115f6f426fb3410d1ba9a152d5abba6ec16a072fcb6d4e219af4 + OK 3c68592a:installer/share/model.manifest cfdc1f53a65e4b8b9b6fc87667af7c1e528b71597a766d1f7664d5a40e0064a1 + OK 2b90bdf8:evidence/alpha-20261029.1/SHA256SUMS.tested a525f856696f5155a0a43b63e565e7dc9f73e4f7ebbad5a7e76379e19b836e48 + OK tested sums list (5 entries) equals record + OK tested sums name aienos-alpha-20261029.1-linux-arm64.tar.gz + OK signed install.sh equals installer/install.sh at the source commit + OK signed release.pub equals keys/release.pub + OK signed release.pub.pem equals keys/release.pub.pem +=== 5. Alpha key at 2b90bdf8 === + OK KEYS digest matches pinned tree + OK keys/release.pub digest matches pinned tree + OK keys/release.pub.pem digest matches pinned tree + FAIL KEYS does not name the raw key + FAIL keys/release.pub is ff949504b427680039d53c33c85c448546b57d590eb1ecee3bb2ed6c2eaaf54a + FAIL keys/release.pub.pem does not encode the raw key +=== 6. Models and registry at 2b90bdf8 === + OK pinned tree model qwen3.6-35b-a3b-fp8 described + OK pinned tree model qwen3-30b-a3b-instruct-2507-fp8 described + OK signed build model qwen3.6-35b-a3b-fp8 described + OK registry lists ['qwen3-30b-a3b-instruct-2507-fp8', 'qwen3.6-35b-a3b-fp8'] + OK installer/share/model.manifest digest pinned in pinned_tree.files + OK qwen3.6-35b-a3b-fp8 header (name, url, bytes, files) + OK qwen3.6-35b-a3b-fp8 entries are 'sha256 size path' + OK qwen3.6-35b-a3b-fp8 file count 56 + OK qwen3.6-35b-a3b-fp8 byte total 37493015668 + OK qwen3.6-35b-a3b-fp8 registry title + OK qwen3.6-35b-a3b-fp8 registry repo + OK qwen3.6-35b-a3b-fp8 registry args + OK qwen3.6-35b-a3b-fp8 registry memkb + OK qwen3.6-35b-a3b-fp8 registry manifest file + OK installer/share/model-30b.manifest digest pinned in pinned_tree.files + OK qwen3-30b-a3b-instruct-2507-fp8 header (name, url, bytes, files) + OK qwen3-30b-a3b-instruct-2507-fp8 entries are 'sha256 size path' + OK qwen3-30b-a3b-instruct-2507-fp8 file count 14 + OK qwen3-30b-a3b-instruct-2507-fp8 byte total 31195094809 + OK qwen3-30b-a3b-instruct-2507-fp8 registry title + OK qwen3-30b-a3b-instruct-2507-fp8 registry repo + OK qwen3-30b-a3b-instruct-2507-fp8 registry args + OK qwen3-30b-a3b-instruct-2507-fp8 registry memkb + OK qwen3-30b-a3b-instruct-2507-fp8 registry manifest file +=== 7. Installation references at 2b90bdf8 === + OK clone command names named_tag.tag + OK absent tag recorded as absent, clone command FAIL + OK 2b90bdf8:installer/tests/failure-paths/rollback-clean.sh exists + OK install.sh uses curl + OK install.sh uses sha256sum + OK install.sh uses tar + OK install.sh uses openssl + OK install.sh uses mktemp +AUDIT RECORD CHECK FAILED: 3 failure(s). +CONTROL-ASSERT PASS rc=1, exactly the 3 expected FAIL lines diff --git a/evidence/dra-170/main-27ee8a4/affinity-control/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log b/evidence/dra-170/main-27ee8a4/affinity-control/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log new file mode 100644 index 0000000..c2848c6 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/affinity-control/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log @@ -0,0 +1,3 @@ +$ rm -rf '/dev/shm/hive/Hardening170/c-affinity/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170' '/dev/shm/hive/Hardening170/c-affinity/inv' && git -C '/dev/shm/hive/Hardening170/c-affinity/inv' checkout -q 27ee8a4ee29b11d268fc675180b499b4a90a9e28 && cd '/dev/shm/hive/Hardening170/c-affinity/inv' && python3 notes/rc2/verify_inventory.py --self-test +OK 41 verifications match the locks at the recorded SHAs +MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000 diff --git a/evidence/dra-170/main-27ee8a4/affinity-control/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log b/evidence/dra-170/main-27ee8a4/affinity-control/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log new file mode 100644 index 0000000..d5d0f6c --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/affinity-control/logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/c-affinity/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit +FAIL 1 +pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60 diff --git a/evidence/dra-170/main-27ee8a4/affinity-control/rows.tsv b/evidence/dra-170/main-27ee8a4/affinity-control/rows.tsv new file mode 100644 index 0000000..e5d6b6b --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/affinity-control/rows.tsv @@ -0,0 +1,5 @@ +verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant) gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 rm -rf '/dev/shm/hive/Hardening170/c-affinity/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170' '/dev/shm/hive/Hardening170/c-affinity/inv' && git -C '/dev/shm/hive/Hardening170/c-affinity/inv' checkout -q 27ee8a4ee29b11d268fc675180b499b4a90a9e28 && cd '/dev/shm/hive/Hardening170/c-affinity/inv' && python3 notes/rc2/verify_inventory.py --self-test 0 MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000 logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log 1 bwrap +verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant) neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/c-affinity/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit 1 pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60 logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log 1 bwrap +tests/verify_dra169_build_audit.sh gate 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/c-affinity/inv' && sh tests/verify_dra169_build_audit.sh 0 ALL AUDIT RECORD CHECKS PASSED. logs/tests_verify_dra169_build_audit.sh.gate.log 1 bwrap +tests/verify_dra169_build_audit.sh meta 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/c-affinity/inv' && sh '/dev/shm/hive/Hardening170/c-affinity/assert_fail.sh' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/want.txt' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/dra-169-build-audit-2b90bdf.json' 0 CONTROL-ASSERT FAIL rc=0, FAIL lines differ from /dev/shm/hive/Hardening170/c-affinity/audit-neg/want.txt logs/tests_verify_dra169_build_audit.sh.meta.log 1 bwrap +tests/verify_dra169_build_audit.sh neg 27ee8a4ee29b11d268fc675180b499b4a90a9e28 cd '/dev/shm/hive/Hardening170/c-affinity/inv' && sh '/dev/shm/hive/Hardening170/c-affinity/assert_fail.sh' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/want.txt' '/dev/shm/hive/Hardening170/c-affinity/audit-neg/dra-169-build-audit-2b90bdf.json' # tamper: alpha_key.raw_public_key_hex changed in its last digit, record kept at its real file name 1 CONTROL-ASSERT PASS rc=1, exactly the 3 expected FAIL lines logs/tests_verify_dra169_build_audit.sh.neg.log 1 bwrap diff --git a/evidence/dra-170/main-27ee8a4/audit-control/assert-control.txt b/evidence/dra-170/main-27ee8a4/audit-control/assert-control.txt new file mode 100644 index 0000000..a1ad352 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/audit-control/assert-control.txt @@ -0,0 +1,26 @@ +# Assertion control: the tampered record under the OLD wrong file name (/dev/shm/hive/Hardening170/s6/audit-neg.json). +# It must NOT count as the expected catch: the name check adds a 4th FAIL line. +$ sh /dev/shm/hive/Hardening170/s6/assert_fail.sh /dev/shm/hive/Hardening170/s6/audit-neg/want.txt /dev/shm/hive/Hardening170/s6/audit-neg.json + FAIL record file name does not carry the pinned commit + FAIL KEYS does not name the raw key + FAIL keys/release.pub is ff949504b427680039d53c33c85c448546b57d590eb1ecee3bb2ed6c2eaaf54a + FAIL keys/release.pub.pem does not encode the raw key + OK absent tag recorded as absent, clone command FAIL +AUDIT RECORD CHECK FAILED: 4 failure(s). +CONTROL-ASSERT FAIL rc=1, FAIL lines differ from /dev/shm/hive/Hardening170/s6/audit-neg/want.txt +wrapper rc=0 (0 = not counted as caught; gates_run.json then labels the gate FAIL) + +# want.txt (expected FAIL lines): +KEYS does not name the raw key +keys/release.pub is ff949504b427680039d53c33c85c448546b57d590eb1ecee3bb2ed6c2eaaf54a +keys/release.pub.pem does not encode the raw key + +# assert_fail.sh: +want=$1 record=$2 +out=$(RECORD="$record" sh tests/verify_dra169_build_audit.sh 2>&1); rc=$? +printf '%s\n' "$out" +got=$(printf '%s\n' "$out" | sed -n 's/^ FAIL //p') +if [ "$rc" = 1 ] && [ "$got" = "$(cat "$want")" ]; then + echo "CONTROL-ASSERT PASS rc=1, exactly the $(grep -c . "$want") expected FAIL lines"; exit 1 +fi +echo "CONTROL-ASSERT FAIL rc=$rc, FAIL lines differ from $want"; exit 0 diff --git a/evidence/dra-170/main-27ee8a4/gates_run.json b/evidence/dra-170/main-27ee8a4/gates_run.json new file mode 100644 index 0000000..0ccfc29 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/gates_run.json @@ -0,0 +1,734 @@ +{ + "issue": "DRA-170", + "repo": "aien-dev/sovereign-intelligence", + "candidate": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "scope": "host only (CPU cores 0-2; sandbox: bwrap, bwrap without network); not hardware qualification", + "cpus_allowed_measured": [ + "0-2" + ], + "sandbox_measured": [ + "bwrap", + "bwrap without network" + ], + "unmeasured_gates": [ + "github/private-vulnerability-reporting", + "github/secret-scanning (enabled, push protection, zero open alerts)" + ], + "counts": { + "PASS": 26, + "FAIL": 0, + "INCONCLUSIVE": 2, + "NOT_RUN": 9 + }, + "gates": [ + { + "gate": "verify.yml/verify/Shell syntax", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Shell syntax", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Shell syntax", + "log": "logs/verify.yml_verify_Shell_syntax.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Shell syntax # tamper: printf \"if then\\n\" >> installer/tests/lend.sh", + "rc": 2, + "last_line": "installer/tests/lend.sh: 175: Syntax error: \"then\" unexpected", + "log": "logs/verify.yml_verify_Shell_syntax.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Pinned omega-mv", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Pinned omega-mv", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "/dev/shm/hive/Hardening170/s6/rt-verify/omega/seed/out/omc: OK", + "log": "logs/verify.yml_verify_Pinned_omega-mv.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Pinned omega-mv # tamper: printf x >> \"$RT/omega/seed/out/omc\"", + "rc": 1, + "last_line": "sha256sum: WARNING: 1 computed checksum did NOT match", + "log": "logs/verify.yml_verify_Pinned_omega-mv.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Vendored SHA-256 unit is the derivation of omega-mv's", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's", + "log": "logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Vendored SHA-256 unit is the derivation of omega-mv's # tamper: sed -i \"\\$s/\\$/ /\" installer/wizard/sha256.om", + "rc": 1, + "last_line": "- /dev/shm/hive/Hardening170/s6/rt-neg/sha.body differ: byte 9555, line 344", + "log": "logs/verify.yml_verify_Vendored_SHA-256_unit_is_the_derivation_of_omega-mv's.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Compile the wizard twice", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Compile the wizard twice", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "725b284298610df5886ba33ba1da75ebcdcd67a21ab059b8688616fe1a2487ba /dev/shm/hive/Hardening170/s6/rt-verify/a1", + "log": "logs/verify.yml_verify_Compile_the_wizard_twice.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf \"fn broken(\\n\" >> installer/wizard/report.om", + "rc": 16, + "last_line": "$ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Compile the wizard twice # tamper: printf \"fn broken(\\n\" >> installer/wizard/report.om", + "log": "logs/verify.yml_verify_Compile_the_wizard_twice.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Capture text frames in Omega match the recorded outputs (#31)", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31)", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "PASS 18/18", + "log": "logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Capture text frames in Omega match the recorded outputs (#31) # tamper: f=$(ls installer/tests/ansi-txt/*.txt | head -n 1); sed -i \"1s/^/X/\" \"$f\"", + "rc": 1, + "last_line": "FAIL bad=1 of 18", + "log": "logs/verify.yml_verify_Capture_text_frames_in_Omega_match_the_recorded_outputs_(#31).neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/The engine port is written once, in PORT (#34)", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34)", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "port 18100: only in const PORT", + "log": "logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: The engine port is written once, in PORT (#34) # tamper: p=$(sed -n \"s/^const PORT ulong \\([0-9][0-9]*\\)\\$/\\1/p\" installer/wizard/engine.om); printf \"// fallback port %s\\n\" \"$p\" >> installer/wizard/lib.om", + "rc": 1, + "last_line": "::error::the wizard writes port 18100 outside const PORT; print it from PORT (eaddr, pladdr, pkaddr)", + "log": "logs/verify.yml_verify_The_engine_port_is_written_once,_in_PORT_(#34).neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "verify.yml/verify/Doctor on fake hardware", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-verify' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Doctor on fake hardware", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "doctor olddrv rc=1 want=1", + "log": "logs/verify.yml_verify_Doctor_on_fake_hardware.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # verify.yml job verify step: Doctor on fake hardware # tamper: sed -i \"s/gb10|gb10-busy) gpu 0x2e12 580.173.02/gb10|gb10-busy) gpu 0x2e12 570.86.10/\" installer/tests/fake-root.sh", + "rc": 1, + "last_line": "doctor gb10 rc=1 want=0", + "log": "logs/verify.yml_verify_Doctor_on_fake_hardware.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "index.yml/index-check/Pinned omega-mv", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Pinned omega-mv", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "/dev/shm/hive/Hardening170/s6/rt-index/omega/seed/out/omc: OK", + "log": "logs/index.yml_index-check_Pinned_omega-mv.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": null, + "label": "INCONCLUSIVE" + }, + { + "gate": "index.yml/index-check/Compile the generator twice", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Compile the generator twice", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "e52ec0ac64ac3bd55771a8ff1424e2bf575a1c5e823abf982c1021d3bfd59b05 /dev/shm/hive/Hardening170/s6/rt-index/index", + "log": "logs/index.yml_index-check_Compile_the_generator_twice.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": null, + "label": "INCONCLUSIVE" + }, + { + "gate": "index.yml/index-check/Index, curated entries and README agree", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "index: 90 repositories, curated and rendered", + "log": "logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree # tamper: last entry removed from index/repos.json", + "rc": 1, + "last_line": "remove them (a private repository must never be named here)", + "log": "logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "index.yml/index-check/Negative control, an uncurated public repository fails", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "negative control rc=1 want=1", + "log": "logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails # tamper: fixture repository fake-uncurated-repo renamed to sovereign-intelligence (curated)", + "rc": 1, + "last_line": "negative control rc=1 want=1", + "log": "logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer-verify-path.yml/verify-path/Verification path with negative controls", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-vp' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "verify-path.sh exit 0", + "log": "logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-vp-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls # tamper: install.sh signature check disabled (if false && ! openssl pkeyutl -verify)", + "rc": 1, + "last_line": "verify-path.sh exit 1", + "log": "logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "workflow-yaml.yml/parse/Parse every workflow and the negative controls", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "WORKFLOW-YAML PASS files=10 negative-controls=5", + "log": "logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # workflow-yaml.yml job parse step: Parse every workflow and the negative controls # tamper: conflict marker appended to .github/workflows/sbom.yml", + "rc": 1, + "last_line": "WORKFLOW-YAML FAIL", + "log": "logs/workflow-yaml.yml_parse_Parse_every_workflow_and_the_negative_controls.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "learn.yml/learn-check/No first-party runners under docs/learn or docs/academy", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "LEARN-CHECK PASS runners=0", + "log": "logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # learn.yml job learn-check step: No first-party runners under docs/learn or docs/academy # tamper: docs/learn/run.sh added", + "rc": 1, + "last_line": "docs/learn/run.sh ext", + "log": "logs/learn.yml_learn-check_No_first-party_runners_under_docs_learn_or_docs_academy.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "rig-check.yml/rig/Pinned omega-mv", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-rig' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: Pinned omega-mv", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "/dev/shm/hive/Hardening170/s6/rt-rig/omega/seed/out/omc: OK", + "log": "logs/rig-check.yml_rig_Pinned_omega-mv.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: Pinned omega-mv # tamper: one byte appended to the omc", + "rc": 1, + "last_line": "sha256sum: WARNING: 1 computed checksum did NOT match", + "log": "logs/rig-check.yml_rig_Pinned_omega-mv.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "rig-check.yml/rig/Workflow trigger guard and negative controls", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-rig' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: Workflow trigger guard and negative controls", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "RIG TEST PASS negative-controls=27", + "log": "logs/rig-check.yml_rig_Workflow_trigger_guard_and_negative_controls.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: Workflow trigger guard and negative controls # tamper: bad fixture pull-request.yml copied into .github/workflows (a pull request reaching a self-hosted runner)", + "rc": 1, + "last_line": "RIG TEST FAIL", + "log": "logs/rig-check.yml_rig_Workflow_trigger_guard_and_negative_controls.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "rig-check.yml/rig/E2E harness FAKE arms and evcheck negative controls", + "command": "cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-rig' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: E2E harness FAKE arms and evcheck negative controls", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "E2E HOST TEST PASS (FAKE only; REAL NOT_RUN)", + "log": "logs/rig-check.yml_rig_E2E_harness_FAKE_arms_and_evcheck_negative_controls.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # rig-check.yml job rig step: E2E harness FAKE arms and evcheck negative controls # tamper: newline appended to installer/rig/vendor/json.om", + "rc": 1, + "last_line": "E2E HOST TEST FAIL", + "log": "logs/rig-check.yml_rig_E2E_harness_FAKE_arms_and_evcheck_negative_controls.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/build.sh", + "command": "OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/engine' sh build.sh '/dev/shm/hive/Hardening170/s6/out'", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "23d0e59de3c2cd6cf52ac8f22a586b00c84397b6bf191617c1b3a6d5794b0d5a release.pub.pem", + "log": "logs/installer_build.sh.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "OMEGA_SRC='/home/drakestapleton/work/si-alpha/Lane4TesterTools/omega-mv' ENGINE='/dev/shm/hive/Hardening170/s6/engine.tampered' sh build.sh '/dev/shm/hive/Hardening170/s6/out-neg' # tamper: one byte appended to the engine", + "rc": 7, + "last_line": "build.sh: /dev/shm/hive/Hardening170/s6/engine.tampered sha256 8b98af59860bdf8aa76e3982ae0baf93803ccd45e7346487889c2d951d2f1a7a, want 6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9", + "log": "logs/installer_build.sh.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/tests/report.sh", + "command": "AIENOS='/dev/shm/hive/Hardening170/s6/out/stage/bin/aienos' sh tests/report.sh '/dev/shm/hive/Hardening170/s6/report'", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "REPORT-TESTS pass=15 fail=0", + "log": "logs/installer_tests_report.sh.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "AIENOS=/bin/true sh tests/report.sh '/dev/shm/hive/Hardening170/s6/report-neg' # tamper: aienos replaced by /bin/true (exits 0, writes nothing)", + "rc": 1, + "last_line": "REPORT-TESTS pass=6 fail=9", + "log": "logs/installer_tests_report.sh.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/tests/run.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s6/out/dist' STAGE='/dev/shm/hive/Hardening170/s6/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s6/run'", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "AIENOS-TESTS pass=39 fail=0 scratch=/dev/shm/hive/Hardening170/s6/run", + "log": "logs/installer_tests_run.sh.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' DIST='/dev/shm/hive/Hardening170/s6/dist-neg' STAGE='/dev/shm/hive/Hardening170/s6/out/stage' sh tests/run.sh '/dev/shm/hive/Hardening170/s6/run-neg' # tamper: one byte appended to the bundle", + "rc": 1, + "last_line": "AIENOS-TESTS pass=33 fail=6 scratch=/dev/shm/hive/Hardening170/s6/run-neg", + "log": "logs/installer_tests_run.sh.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS", + "not_run_subcases": [ + "NOTE DIST is unsigned: section A uses a test-key signature; the release-key signature check is NOT_RUN", + "NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set", + "NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set", + "NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set", + "NOT_RUN lend-start: OH_VOLUNTEER not set", + "NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set", + "NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set", + "NOT_RUN lend-start-twice: OH_VOLUNTEER not set", + "NOT_RUN lend-status: OH_VOLUNTEER not set", + "NOT_RUN lend-pause-resume: OH_VOLUNTEER not set", + "NOT_RUN lend-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set", + "NOT_RUN core-refuses-without-token: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-matrix-401-401-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-wizard-chat-200: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-wizard-wrong-token-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap", + "NOT_RUN core-wizard-missing-header-401: set CORE_ENGINE (Core main aien-serve-http) and install bwrap" + ] + }, + { + "gate": "installer/tests/token.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s6/out/stage' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token'", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "AIENOS-TOKEN-TESTS pass=30 fail=0 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token", + "log": "logs/installer_tests_token.sh.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s6/stage-neg' CORE_ENGINE='/dev/shm/hive/Hardening170/engine' CUDA_VISIBLE_DEVICES= sh tests/token.sh '/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg' # tamper: bin/aienos replaced by /bin/true", + "rc": 1, + "last_line": "AIENOS-TOKEN-TESTS pass=5 fail=25 notrun=0 scratch=/home/drakestapleton/work/hive/Hardening170/.scratch/s6/token-neg", + "log": "logs/installer_tests_token.sh.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/tests/lend.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s6/out/stage' sh tests/lend.sh '/dev/shm/hive/Hardening170/s6/lend'", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "AIENOS-LEND-TESTS pass=3 fail=0 notrun=12 scratch=/dev/shm/hive/Hardening170/s6/lend", + "log": "logs/installer_tests_lend.sh.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' STAGE='/dev/shm/hive/Hardening170/s6/stage-neg' sh tests/lend.sh '/dev/shm/hive/Hardening170/s6/lend-neg' # tamper: bin/aienos replaced by /bin/true", + "rc": 1, + "last_line": "AIENOS-LEND-TESTS pass=0 fail=3 notrun=12 scratch=/dev/shm/hive/Hardening170/s6/lend-neg", + "log": "logs/installer_tests_lend.sh.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS", + "not_run_subcases": [ + "NOT_RUN lend-wizard-yes-makes-key: OH_VOLUNTEER not set", + "NOT_RUN lend-wizard-yes-keeps-key: OH_VOLUNTEER not set", + "NOT_RUN lend-start-without-key-refuses: OH_VOLUNTEER not set", + "NOT_RUN lend-start: OH_VOLUNTEER not set", + "NOT_RUN lend-start-passes-token-file: OH_VOLUNTEER not set", + "NOT_RUN lend-start-loads-token: OH_VOLUNTEER not set", + "NOT_RUN lend-start-twice: OH_VOLUNTEER not set", + "NOT_RUN lend-status: OH_VOLUNTEER not set", + "NOT_RUN lend-pause-resume: OH_VOLUNTEER not set", + "NOT_RUN lend-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-status-after-quit: OH_VOLUNTEER not set", + "NOT_RUN lend-uninstall-stops-agent: OH_VOLUNTEER not set" + ] + }, + { + "gate": "installer/tests/failure-paths/run.sh", + "command": "OMC='/dev/shm/hive/Hardening170/omc' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s6/fp'", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "SUMMARY pass=11 fail=0 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s6/fp", + "log": "logs/installer_tests_failure-paths_run.sh.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "command": "OMC='/dev/shm/hive/Hardening170/omc' sh '/dev/shm/hive/Hardening170/s6/neg-tree/installer/tests/failure-paths/run.sh' '/dev/shm/hive/Hardening170/s6/fp-neg' # tamper: install.sh signature check disabled", + "rc": 1, + "last_line": "SUMMARY pass=10 fail=1 not_run=0 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s6/fp-neg", + "log": "logs/installer_tests_failure-paths_run.sh.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "installer/tests/failure-paths/run.sh (unavailable omc)", + "command": "OMC='/dev/shm/hive/Hardening170/s6/omc.tampered' sh tests/failure-paths/run.sh '/dev/shm/hive/Hardening170/s6/fp-omc'", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 3, + "last_line": "SUMMARY pass=0 fail=0 not_run=11 stock-spark=NOT_RUN logs=/dev/shm/hive/Hardening170/s6/fp-omc", + "log": "logs/installer_tests_failure-paths_run.sh_(unavailable_omc).gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap without network", + "negative_control": { + "note": "this row is itself the negative control of the runner's pin check" + }, + "expected": "a wrong omc makes every path NOT_RUN and the runner must not exit 0 (acceptance: an unavailable gate never reads as success)", + "label": "PASS", + "not_run_subcases": [ + "NOT_RUN disk-full omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN no-network omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN wrong-gpu-driver omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN interrupted-install omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN bad-signature omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN port-in-use omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN uninstall-partial omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN model-resume omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN model-corrupt omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN rollback-clean omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b", + "NOT_RUN stale-tmp omc sha256 397afdd71f89bfda2ffc446d976121a709a99f274078063da34741a2658b0b4a, want 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b" + ] + }, + { + "gate": "installer/tests/container.sh", + "command": null, + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "needs the host docker daemon (a shared service outside the bwrap --unshare-net sandbox); not run by this lane", + "negative_control": null + }, + { + "gate": "installer/tests/onboarding.sh", + "command": null, + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "needs the host docker daemon with a bridge network (outside the bwrap --unshare-net sandbox); not run by this lane", + "negative_control": null + }, + { + "gate": "installer/tests/host-untouched.sh", + "command": null, + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "records dpkg/NVIDIA package state of the host; this lane stays off NVIDIA state; run.sh ran separately under bwrap", + "negative_control": null + }, + { + "gate": "release-verify.yml (published release)", + "command": null, + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "candidate TAG alpha-20261029.1 has no published release (gh release list: alpha-20261026.2, .1 only); signing needs the TPM-bound release key", + "negative_control": null + }, + { + "gate": "release-key signature over the candidate DIST", + "command": null, + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "tools/sign.sh needs AIENOS_RELEASE_ED25519_SEED from the TPM-bound atlas-vault; run.sh section A used a test key", + "negative_control": null + }, + { + "gate": "DRA-52 GPU golden-token merge gate", + "command": null, + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "needs the GPU window (GB10); not authorized for this lane", + "negative_control": null + }, + { + "gate": "DRA-56 bearer auth on the shipped engine serving a real model", + "command": null, + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "real-model serving needs the GPU window; only the --engine stub path (token.sh core-* cases) ran on the host", + "negative_control": null + }, + { + "gate": "DRA-53 failure paths on a stock DGX Spark", + "command": null, + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "real Spark gate; only host results here", + "negative_control": null + }, + { + "gate": "e2e-nightly.yml/e2e (REAL install, verify, chat, uninstall)", + "command": null, + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": null, + "last_line": null, + "label": "NOT_RUN", + "reason": "runs on the self-hosted si-test-spark runner and installs for real (workflow_dispatch only); not run by this lane", + "negative_control": null + }, + { + "gate": "verify.yml/inventory/RC-2 inventory matches the locks at the recorded commits (with a mutant)", + "command": "rm -rf '/dev/shm/hive/Hardening170/s6/inv' && git clone -q '/home/drakestapleton/work/hive/Hardening170' '/dev/shm/hive/Hardening170/s6/inv' && git -C '/dev/shm/hive/Hardening170/s6/inv' checkout -q 27ee8a4ee29b11d268fc675180b499b4a90a9e28 && cd '/dev/shm/hive/Hardening170/s6/inv' && python3 notes/rc2/verify_inventory.py --self-test", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "MUTANT CAUGHT omega-physics-lock: omega-physics-lock: lock pins 048e5f5e881b092733baaf65d0ace46abda7f908, inventory has 0000000000000000000000000000000000000000", + "log": "logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/inv-neg' && python3 notes/rc2/verify_inventory.py # tamper: last 40-hex verifications[].pin in notes/rc2/inventory.json changed in its last digit", + "rc": 1, + "last_line": "pr-core-810-omega-lock-unchanged: lock pins a647b6a9821fffcf52ba9ce813f75afa4b84be62, inventory has a647b6a9821fffcf52ba9ce813f75afa4b84be60", + "log": "logs/verify.yml_inventory_RC-2_inventory_matches_the_locks_at_the_recorded_commits_(with_a_mutant).neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "tests/verify_dra169_build_audit.sh", + "command": "cd '/dev/shm/hive/Hardening170/s6/inv' && sh tests/verify_dra169_build_audit.sh", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "ALL AUDIT RECORD CHECKS PASSED.", + "log": "logs/tests_verify_dra169_build_audit.sh.gate.log", + "cpus_allowed": "0-2", + "sandbox": "bwrap", + "negative_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/inv' && sh '/dev/shm/hive/Hardening170/s6/assert_fail.sh' '/dev/shm/hive/Hardening170/s6/audit-neg/want.txt' '/dev/shm/hive/Hardening170/s6/audit-neg/dra-169-build-audit-2b90bdf.json' # tamper: alpha_key.raw_public_key_hex changed in its last digit, record kept at its real file name", + "rc": 1, + "last_line": "CONTROL-ASSERT PASS rc=1, exactly the 3 expected FAIL lines", + "log": "logs/tests_verify_dra169_build_audit.sh.neg.log", + "expected": "rc != 0", + "cpus_allowed": "0-2", + "sandbox": "bwrap", + "result": "FAIL as expected" + }, + "meta_control": { + "command": "cd '/dev/shm/hive/Hardening170/s6/inv' && sh '/dev/shm/hive/Hardening170/s6/assert_fail.sh' '/dev/shm/hive/Hardening170/s6/audit-neg/want.txt' '/dev/shm/hive/Hardening170/s6/audit-neg/dra-169-build-audit-2b90bdf.json'", + "rc": 0, + "last_line": "CONTROL-ASSERT FAIL rc=0, FAIL lines differ from /dev/shm/hive/Hardening170/s6/audit-neg/want.txt", + "log": "logs/tests_verify_dra169_build_audit.sh.meta.log", + "expected": "rc 0 and CONTROL-ASSERT FAIL rc=0 (untampered input passes)", + "result": "as expected" + }, + "label": "PASS" + }, + { + "gate": "github/private-vulnerability-reporting", + "command": "gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting && test \"$(gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting --jq .enabled)\" = true && echo enabled=true", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "{\"enabled\":true}enabled=true", + "log": "logs/github_private-vulnerability-reporting.gate.log", + "cpus_allowed": "unmeasured", + "sandbox": "unmeasured", + "negative_control": { + "command": "gh api repos/aien-dev/aien-rig/private-vulnerability-reporting && test \"$(gh api repos/aien-dev/aien-rig/private-vulnerability-reporting --jq .enabled)\" = true && echo enabled=true # tamper: same check against aien-dev/aien-rig, whose reporting is off", + "rc": 1, + "last_line": "{\"enabled\":false}", + "log": "logs/github_private-vulnerability-reporting.neg.log", + "expected": "rc != 0", + "cpus_allowed": "unmeasured", + "sandbox": "unmeasured", + "result": "FAIL as expected" + }, + "label": "PASS" + }, + { + "gate": "github/secret-scanning (enabled, push protection, zero open alerts)", + "command": "gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning.status) && echo secret_scanning=$s && test \"$s\" = enabled && n=$(gh api \"repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open\" --jq length) && echo open_alerts=$n && test \"$n\" = 0 && test \"$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_push_protection.status)\" = enabled && echo push_protection=enabled", + "head": "27ee8a4ee29b11d268fc675180b499b4a90a9e28", + "rc": 0, + "last_line": "push_protection=enabled", + "log": "logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log", + "cpus_allowed": "unmeasured", + "sandbox": "unmeasured", + "negative_control": { + "command": "gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_non_provider_patterns.status) && echo secret_scanning_non_provider_patterns=$s && test \"$s\" = enabled && n=$(gh api \"repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open\" --jq length) && echo open_alerts=$n && test \"$n\" = 0 # tamper: same check against security_and_analysis.secret_scanning_non_provider_patterns, which is disabled", + "rc": 1, + "last_line": "secret_scanning_non_provider_patterns=disabled", + "log": "logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log", + "expected": "rc != 0", + "cpus_allowed": "unmeasured", + "sandbox": "unmeasured", + "result": "FAIL as expected" + }, + "label": "PASS" + } + ] +} \ No newline at end of file diff --git a/evidence/dra-170/main-27ee8a4/logs/github_private-vulnerability-reporting.gate.log b/evidence/dra-170/main-27ee8a4/logs/github_private-vulnerability-reporting.gate.log new file mode 100644 index 0000000..4467ecd --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/github_private-vulnerability-reporting.gate.log @@ -0,0 +1,2 @@ +$ gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting && test "$(gh api repos/aien-dev/sovereign-intelligence/private-vulnerability-reporting --jq .enabled)" = true && echo enabled=true +{"enabled":true}enabled=true diff --git a/evidence/dra-170/main-27ee8a4/logs/github_private-vulnerability-reporting.neg.log b/evidence/dra-170/main-27ee8a4/logs/github_private-vulnerability-reporting.neg.log new file mode 100644 index 0000000..da3b0e0 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/github_private-vulnerability-reporting.neg.log @@ -0,0 +1,2 @@ +$ gh api repos/aien-dev/aien-rig/private-vulnerability-reporting && test "$(gh api repos/aien-dev/aien-rig/private-vulnerability-reporting --jq .enabled)" = true && echo enabled=true # tamper: same check against aien-dev/aien-rig, whose reporting is off +{"enabled":false} \ No newline at end of file diff --git a/evidence/dra-170/main-27ee8a4/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log b/evidence/dra-170/main-27ee8a4/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log new file mode 100644 index 0000000..82e24b3 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).gate.log @@ -0,0 +1,5 @@ +$ gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning.status) && echo secret_scanning=$s && test "$s" = enabled && n=$(gh api "repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0 && test "$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_push_protection.status)" = enabled && echo push_protection=enabled +{"dependabot_security_updates":{"status":"enabled"},"secret_scanning":{"status":"enabled"},"secret_scanning_non_provider_patterns":{"status":"disabled"},"secret_scanning_push_protection":{"status":"enabled"},"secret_scanning_validity_checks":{"status":"disabled"}} +secret_scanning=enabled +open_alerts=0 +push_protection=enabled diff --git a/evidence/dra-170/main-27ee8a4/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log b/evidence/dra-170/main-27ee8a4/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log new file mode 100644 index 0000000..de490f0 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/github_secret-scanning_(enabled,_push_protection,_zero_open_alerts).neg.log @@ -0,0 +1,3 @@ +$ gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis && s=$(gh api repos/aien-dev/sovereign-intelligence --jq .security_and_analysis.secret_scanning_non_provider_patterns.status) && echo secret_scanning_non_provider_patterns=$s && test "$s" = enabled && n=$(gh api "repos/aien-dev/sovereign-intelligence/secret-scanning/alerts?state=open" --jq length) && echo open_alerts=$n && test "$n" = 0 # tamper: same check against security_and_analysis.secret_scanning_non_provider_patterns, which is disabled +{"dependabot_security_updates":{"status":"enabled"},"secret_scanning":{"status":"enabled"},"secret_scanning_non_provider_patterns":{"status":"disabled"},"secret_scanning_push_protection":{"status":"enabled"},"secret_scanning_validity_checks":{"status":"disabled"}} +secret_scanning_non_provider_patterns=disabled diff --git a/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Compile_the_generator_twice.gate.log b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Compile_the_generator_twice.gate.log new file mode 100644 index 0000000..0eb1bf0 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Compile_the_generator_twice.gate.log @@ -0,0 +1,3 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Compile the generator twice +f62357e4717f7a7e7f291f7c67ab7a66b272f3500186b59196acc4c131f56011 index/gen/index.om +e52ec0ac64ac3bd55771a8ff1424e2bf575a1c5e823abf982c1021d3bfd59b05 /dev/shm/hive/Hardening170/s6/rt-index/index diff --git a/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log new file mode 100644 index 0000000..340d2c7 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree +index: 90 repositories, curated and rendered diff --git a/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log new file mode 100644 index 0000000..84d9648 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Index,_curated_entries_and_README_agree.neg.log @@ -0,0 +1,4 @@ +$ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Index, curated entries and README agree # tamper: last entry removed from index/repos.json +gen_index: index/curated.yml names repositories that are not public in aien-dev: + - vscode-omega +remove them (a private repository must never be named here) diff --git a/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log new file mode 100644 index 0000000..4e58a64 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.gate.log @@ -0,0 +1,96 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails +gen_index: public repositories with no entry in index/curated.yml: + - fake-uncurated-repo +add each one (layer, evidence, purpose) in the same change +gen_index: index/curated.yml names repositories that are not public in aien-dev: + - arm-trusted-firmware + - atlas + - edk2 + - edk2-non-osi + - edk2-platforms + - rpi5-uefi + - omega-gpu-driver + - aienix + - AienOS-nv + - aienux + - rtl8127-omega + - CUDApp + - physics-mv + - babel + - compiler-explorer + - ggml-omega + - homebrew-omega + - infra + - omega-blas + - omega-bridge + - omega-bridge-kit + - omega-dnn + - omega-harness + - omega-kernel-template + - omega-lift + - omega-mcp + - omega-mv + - omega-packages + - omega-rosetta + - omega-seed-challenge + - omnet + - omtex + - tree-sitter-omega + - vscode-omega + - aegis-runtime-mv + - aien-harness + - aien-local-stack + - aien-receipts + - aien-sovereign-core-mv + - aien-train + - aien-yardsticks + - BabelStream + - benchmarks-mv + - gpu-head-to-head + - harvester + - MojoLlama + - omega-gpu-bench + - openaccel-lab + - spark-adapters + - spark-debugger + - spark-hive + - spark-inquisitor + - spark-rsi-mv + - spark-supervisor + - cortex + - cortex-rs + - crumb-spec-mv + - spark-crumbs-mv + - spark-dream + - aien + - omega-projects + - agent-archive + - aien-edge + - aien-rig + - aien-translate + - aienos.com + - encounter + - mobhub + - odysseus + - open-humanity + - pi-register + - readings-window + - spark-connector + - t3code + - translate + - .github + - aien-architecture-mv + - aien-protocols-mv + - hive-not-swarm + - interplane-mv + - interplane.io + - physics0 + - rad-id-sync + - synapse + - synapse-board + - synapse-claims + - synapse-map + - synapse-mcp + - synapse-pulse +remove them (a private repository must never be named here) +negative control rc=1 want=1 diff --git a/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log new file mode 100644 index 0000000..e713bfc --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Negative_control,_an_uncurated_public_repository_fails.neg.log @@ -0,0 +1,93 @@ +$ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Negative control, an uncurated public repository fails # tamper: fixture repository fake-uncurated-repo renamed to sovereign-intelligence (curated) +gen_index: index/curated.yml names repositories that are not public in aien-dev: + - arm-trusted-firmware + - atlas + - edk2 + - edk2-non-osi + - edk2-platforms + - rpi5-uefi + - omega-gpu-driver + - aienix + - AienOS-nv + - aienux + - rtl8127-omega + - CUDApp + - physics-mv + - babel + - compiler-explorer + - ggml-omega + - homebrew-omega + - infra + - omega-blas + - omega-bridge + - omega-bridge-kit + - omega-dnn + - omega-harness + - omega-kernel-template + - omega-lift + - omega-mcp + - omega-mv + - omega-packages + - omega-rosetta + - omega-seed-challenge + - omnet + - omtex + - tree-sitter-omega + - vscode-omega + - aegis-runtime-mv + - aien-harness + - aien-local-stack + - aien-receipts + - aien-sovereign-core-mv + - aien-train + - aien-yardsticks + - BabelStream + - benchmarks-mv + - gpu-head-to-head + - harvester + - MojoLlama + - omega-gpu-bench + - openaccel-lab + - spark-adapters + - spark-debugger + - spark-hive + - spark-inquisitor + - spark-rsi-mv + - spark-supervisor + - cortex + - cortex-rs + - crumb-spec-mv + - spark-crumbs-mv + - spark-dream + - aien + - omega-projects + - agent-archive + - aien-edge + - aien-rig + - aien-translate + - aienos.com + - encounter + - mobhub + - odysseus + - open-humanity + - pi-register + - readings-window + - spark-connector + - t3code + - translate + - .github + - aien-architecture-mv + - aien-protocols-mv + - hive-not-swarm + - interplane-mv + - interplane.io + - physics0 + - rad-id-sync + - synapse + - synapse-board + - synapse-claims + - synapse-map + - synapse-mcp + - synapse-pulse +remove them (a private repository must never be named here) +negative control rc=1 want=1 diff --git a/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Pinned_omega-mv.gate.log b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Pinned_omega-mv.gate.log new file mode 100644 index 0000000..521107b --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/index.yml_index-check_Pinned_omega-mv.gate.log @@ -0,0 +1,2 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-index' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # index.yml job index-check step: Pinned omega-mv +/dev/shm/hive/Hardening170/s6/rt-index/omega/seed/out/omc: OK diff --git a/evidence/dra-170/main-27ee8a4/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log b/evidence/dra-170/main-27ee8a4/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log new file mode 100644 index 0000000..3bdda91 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.gate.log @@ -0,0 +1,114 @@ +$ cd '/dev/shm/hive/Hardening170/s6/base' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-vp' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/base' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls +PASS key-swap-only +PASS good-release-installs +PASS bad-signature-other-key +PASS bad-signature-corrupted +PASS rewritten-sums-unsigned +PASS tampered-bundle +PASS bundle-not-in-signed-list +PASS unsafe-path-in-bundle +PASS tampered-file-inside-bundle +PASS missing-signature +PASS selfcheck-signature-removed-is-caught +PASS selfcheck-bundle-hash-removed-is-caught +PASS selfcheck-unsafe-path-removed-is-caught +PASS selfcheck-per-file-removed-is-caught +VERIFY-PATH pass=14 fail=0 expected=14 scratch=/dev/shm/hive/Hardening170/s6/rt-vp/vp +---- installer output per case (refusals are expected for every case but good) ---- +== 1-good.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 24fa4e54a1fd65019162016f58f683f83a2036c84e0d716351a17a7b3a4c0d4a). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s6/rt-vp/vp/home/1-good/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s6/rt-vp/vp/home/1-good/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 2-bad-signature-other-key.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The signature on SHA256SUMS does not match the AienOS release key. +Nothing was installed. +exit 1 +== 3-bad-signature-corrupted.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The signature on SHA256SUMS does not match the AienOS release key. +Nothing was installed. +exit 1 +== 4-rewritten-sums-unsigned.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The signature on SHA256SUMS does not match the AienOS release key. +Nothing was installed. +exit 1 +== 5-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected e38d4b57b2b28294a919cf6ac6e16fff5067ee88fd3cefab1ba31ed78f391731, got 91f5979b158652cf417d018791d7729162757bd89ff312e736a161b9313f563c). +Nothing was installed. +exit 1 +== 6-bundle-not-in-signed-list.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +The download does not match its signed SHA-256 (expected none, got e38d4b57b2b28294a919cf6ac6e16fff5067ee88fd3cefab1ba31ed78f391731). +Nothing was installed. +exit 1 +== 7-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 24fa4e54a1fd65019162016f58f683f83a2036c84e0d716351a17a7b3a4c0d4a). +tar: Removing leading `../' from member names +The bundle contains an unsafe path. Nothing was installed. +exit 1 +== 8-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 24fa4e54a1fd65019162016f58f683f83a2036c84e0d716351a17a7b3a4c0d4a). +A file inside the bundle does not match its SHA-256. Nothing was installed. +exit 1 +== 9-missing-signature.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +curl: (22) The requested URL returned error: 404 +Could not download https://127.0.0.1:32821/missing-signature/SHA256SUMS.sig +exit 2 +== 10-bad-signature-other-key.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 24fa4e54a1fd65019162016f58f683f83a2036c84e0d716351a17a7b3a4c0d4a). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s6/rt-vp/vp/home/10-bad-signature-other-key/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s6/rt-vp/vp/home/10-bad-signature-other-key/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +== 11-tampered-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 24fa4e54a1fd65019162016f58f683f83a2036c84e0d716351a17a7b3a4c0d4a). + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now + +gzip: stdin: invalid compressed data--crc error +tar: Child returned status 1 +tar: Error is not recoverable: exiting now +Could not unpack the bundle into /dev/shm/hive/Hardening170/s6/rt-vp/vp/home/11-tampered-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 12-unsafe-path-in-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 24fa4e54a1fd65019162016f58f683f83a2036c84e0d716351a17a7b3a4c0d4a). +tar: Removing leading `../' from member names +tar: ../escape.txt: Member name contains '..' +tar: Exiting with failure status due to previous errors +Could not unpack the bundle into /dev/shm/hive/Hardening170/s6/rt-vp/vp/home/12-unsafe-path-in-bundle/.local/share/aienos (is the disk full?). Nothing was installed. +exit 2 +== 13-tampered-file-inside-bundle.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 24fa4e54a1fd65019162016f58f683f83a2036c84e0d716351a17a7b3a4c0d4a). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s6/rt-vp/vp/home/13-tampered-file-inside-bundle/.local/share/aienos +Remove it at any time with: aienos uninstall +Start the wizard with: /dev/shm/hive/Hardening170/s6/rt-vp/vp/home/13-tampered-file-inside-bundle/.local/bin/aienos (or double-click Sovereign Intelligence on your desktop) +exit 0 +verify-path.sh exit 0 diff --git a/evidence/dra-170/main-27ee8a4/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log b/evidence/dra-170/main-27ee8a4/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log new file mode 100644 index 0000000..a8c6844 --- /dev/null +++ b/evidence/dra-170/main-27ee8a4/logs/installer-verify-path.yml_verify-path_Verification_path_with_negative_controls.neg.log @@ -0,0 +1,118 @@ +$ cd '/dev/shm/hive/Hardening170/s6/neg-tree' && RUNNER_TEMP='/dev/shm/hive/Hardening170/s6/rt-vp-neg' GITHUB_WORKSPACE='/dev/shm/hive/Hardening170/s6/neg-tree' GITHUB_REPOSITORY=aien-dev/sovereign-intelligence bash --noprofile --norc -e '/dev/shm/hive/Hardening170/s6/step.2.sh' # installer-verify-path.yml job verify-path step: Verification path with negative controls # tamper: install.sh signature check disabled (if false && ! openssl pkeyutl -verify) +PASS key-swap-only +PASS good-release-installs +FAIL bad-signature-other-key: exit 0, want 1; reason missing: The signature on SHA256SUMS does not match the AienOS release key.; something was installed +FAIL bad-signature-corrupted: exit 0, want 1; reason missing: The signature on SHA256SUMS does not match the AienOS release key.; something was installed +FAIL rewritten-sums-unsigned: exit 2, want 1; reason missing: The signature on SHA256SUMS does not match the AienOS release key. +PASS tampered-bundle +PASS bundle-not-in-signed-list +PASS unsafe-path-in-bundle +PASS tampered-file-inside-bundle +PASS missing-signature +FAIL selfcheck-signature-removed-is-caught: mutation signature did not apply: line not found in install.sh +PASS selfcheck-bundle-hash-removed-is-caught +PASS selfcheck-unsafe-path-removed-is-caught +PASS selfcheck-per-file-removed-is-caught +VERIFY-PATH pass=10 fail=4 expected=14 scratch=/dev/shm/hive/Hardening170/s6/rt-vp-neg/vp +---- installer output per case (refusals are expected for every case but good) ---- +== 1-good.txt +Found an NVIDIA GB10 with kernel driver 580.173.02. +Downloading Sovereign Intelligence alpha-20261029.1 ... +Signature and SHA-256 match (release key 776abf464c7b7cd9f2852fccbe9bdbc5d337728a41485c15c7fa6dc1855be972). +Installed Sovereign Intelligence alpha-20261029.1 in /dev/shm/hive/Hardening170/s6/rt-vp-neg/vp/home/1-good/.local/share/aienos ``` The diff is longer than this page shows; the raw diff has all of it.