interplane.Get Omega
Read in your language

aienix

AienOS front door: pinned repositories, source-linked lessons and verification paths. AienOS is in alpha testing; components remain separate and each states its own status.

Brought by drakestapleton

branch main Branches Tags History

aienix / AUDIT_SCOPE.md

105 lines · 5135 bytes Raw Blame History Source

Audit scope

Written for an outside, independent security audit. Revision described: 59b32f2 on main (2026-10-31; the only change since 292a38cd on 2026-10-26 is the docs-only proposal docs/plans/2026-10-16-single-source-of-truth.md with its receipts). Everything below is taken from the repository's own files at that revision; items marked NOT_RUN were not executed while writing this document.

What this repository is

The AienOS front door. It links six core components and six attachments as Git submodules pinned at exact commits, so one clone fetches versions that belong together. It contains one executable, the 69-line POSIX shell script aienos (get, status, bump, help), plus README.md, AGENTS.md, two SVG wordmarks in assets/, .crumb metadata, a docs-only plan proposal under docs/plans/ and LICENSE (AGPL-3.0-or-later). Component code is not here; it is developed in each component's repository. README states it is not a release, a finished system, or a claim of hardware qualification.

What an auditor can and cannot check here

What to review, in priority order

  1. aienos (shell). Reads .gitmodules with git config -f, calls git ls-remote, git submodule update --init --depth 1, git fetch and git checkout --detach, and stages the gitlink with git add. Check:
    • quoting of submodule paths and URLs taken from .gitmodules;
    • that bump only accepts a path already listed in .gitmodules (it checks with paths | grep -qx "$p", which treats the argument as a regular expression);
    • that status exits non-zero when a component is behind or unreachable, and bump exits 2 on an unknown path and 1 on an unreachable main;
    • that nothing is committed or pushed (the script says it stages only).
  2. .gitmodules (12 submodules, all https://github.com/aien-dev/...) and the gitlinks (git ls-files -s, mode 160000). Check every URL is the repository the README table names and that no gitlink was moved without a matching pull request.
  3. README.md and AGENTS.md. Commands an operator copies (`git clone --recurse-submodules --shallow-submodules, ./aienos status`).
  4. assets/*.svg. Static wordmarks referenced by README; .crumb says they have no external assets. Check they contain no script.

There is no .github/workflows/ directory; AGENTS.md: "There is no root build manifest, test suite or workflow in the current tree."

Trust boundaries

Threat model summary

Build from source at a pin

Nothing to build. Prerequisites per AGENTS.md: POSIX sh, Git and ordinary shell utilities; network access for the component commands.

git clone --recurse-submodules --shallow-submodules https://github.com/aien-dev/aienix.git

Run every test

There is no test suite. AGENTS.md lists these checks (NOT_RUN while writing this document):

sh -n aienos            # syntax check
./aienos help           # non-mutating usage output
git submodule status    # recorded pins, no fetch
./aienos get            # network: initialise components at pinned commits
./aienos status         # network: exit 1 if any component is behind or unreachable

AGENTS.md says not to run ./aienos bump merely as a smoke test; exercise it in a disposable clone.

Known limitations and NOT_RUN

Dependencies and provenance

Evidence

No receipts live here. Component receipts are published by each component's verification workflow; README names aien-dev/aien-receipts as the append-only store of signed verification receipts, one per judged commit.