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/aienux/patches/192e438c634a3abc
# aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
Sign in to star 0 stars 0 watching
About Files History Releases Proposed changes Issues For developers
## GitHub aien-dev/aienux#179 (code only)
merged derived `192e438c634a3abc` #179
Imported from GitHub aien-dev/aienux#179 (code only)
GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed).
Base `fb54e46f82c8b1de8e6f3888395731851b754000` · Head `fb54e46f82c8b1de8e6f3888395731851b754000`
github-advanced-security[bot] commented on `scripts/trust1_key_ceremony.sh` line 168 on 2026-10-01 02:06 UTC
verify establishes its trust anchor from inside the very directory it is validating: the manifest signature is checked against ${pub}/owner_root.pub.pem, and the generation/anti-rollback check reads generation= from that same manifest. An attacker who can modify the public bundle in transit (backup stick, copy back to the Spark) simply generates their own Ed25519 root, writes a manifest with their own role fingerprints and a high generation, signs it, and ships owner_root.pub.pem alongside — every check prints PASS, so the tamper and rollback protections provide no real integrity guarantee. The verification should pin the expected owner_root fingerprint out of band (e.g. required argument/stored anchor on the verifying host) and compare the observed generation against a locally persisted high-water mark rather than a caller-supplied minimum.
To fix this without changing core functionality, make verify() require an out-of-band trusted owner_root fingerprint and optionally enforce a local high-water generation file:
owner_root SHA-256 fingerprint (hex). Compute actual fingerprint of ${pub}/owner_root.pub.pem and fail if mismatch before signature verification. This prevents key-substitution attacks.min_gen support for compatibility, but enforce effective minimum as max(min_gen, persisted high-water).Edits are confined to scripts/trust1_key_ceremony.sh, inside the shown verify() function region.
github-advanced-security[bot] reviewed (COMMENTED) on 2026-10-01 02:06 UTC
### Code
The head commit is on main: `fb54e46f82c8b1de8e6f3888395731851b754000` .
### 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/aienux
179
fb54e46f82c8b1de8e6f3888395731851b754000
```
```
{"kind":"github-import","owner":"aien-dev","repo":"aienux","number":179,"url":"https://github.com/aien-dev/aienux/pull/179","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:35:53Z","metadata":"unavailable","state_derived":true}
```
### Changes
There is no diff: the head commit is already on main.