diff --git a/AUDIT_SCOPE.md b/AUDIT_SCOPE.md new file mode 100644 index 0000000..f840a73 --- /dev/null +++ b/AUDIT_SCOPE.md @@ -0,0 +1,71 @@ +# Audit scope + +Written for an outside, independent security audit. Revision described: +`2a9bef612b598f0cb823cda0a33c44fd8ee013ad` on `main`, 2026-10-26. 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 + +Planned local AI and a measured FPS tuner for RTX gaming PCs, starting with the RTX 5070 (12 GB). +Five planned parts: a C++/CUDA inference engine with an OpenAI-compatible HTTP server (`engine/`), +speech-to-text (`speech/`), a YouTube creator helper (`creator/`), a Windows FPS tuner (`tuner/`) +and a Windows app (`app/`). AGENTS.md: the component directories currently hold only placeholder +READMEs; there is no build system or CI yet, and nothing has been tested on an RTX 5070. Licence +AGPL-3.0. + +## What an auditor can and cannot check here + +- Can check: that no tracked file carries tokens, credentials or private data; that README and + AGENTS.md state status honestly. +- Cannot check here: the engine, HTTP server, speech runtime, tuner or app. Each directory contains + one line: `# (in progress)`. + +## What to review, in priority order + +1. All nine tracked files for secrets or private data. +2. `AGENTS.md` "Safety and approvals": the tuner must apply only safe changes, record a receipt for + each and be able to undo every change. This is the contract later tuner code must meet. +3. `docs/PLAN.md`: assigns `.github/` (Windows CI and release) to the `app/v0` stream. No + workflow exists yet. + +There is no `.github/workflows/` directory. + +## Trust boundaries + +- Planned, not implemented: network clients of the `engine/` HTTP server; settings changes on the + user's Windows machine by `tuner/`. +- Untrusted today: pull requests from outside contributors. Trusted: maintainer review; `main` is + merged by the desk only (AGENTS.md). + +## Threat model summary + +- Assets: future users' machines and settings; the honesty of performance claims. +- Attackers considered: none can be exercised against code that does not exist. +- Defended: written rules (receipts for every speed claim, reversible tuner changes). +- Not defended / explicitly out of scope: everything executable, because nothing executable exists. + +## Build from source at a pin + +No build exists yet (AGENTS.md). When it does, engine and speech work needs an NVIDIA RTX card +(target RTX 5070, 12 GB), and tuner and app work needs Windows. + +## Run every test + +There is no test suite and no CI. NOT_RUN: nothing to run. + +## Known limitations and NOT_RUN + +- All five components are placeholders. +- `docs/TARGETS.md` and `evidence/` do not exist yet. +- No hardware results of any kind. + +## Dependencies and provenance + +No lockfile, no vendored code, no dependencies, no GitHub Actions. llama.cpp is named as a +yardstick for comparison, not as a dependency. + +## Evidence + +Every speed claim is to link to a receipt in `evidence/` naming the card it ran on (AGENTS.md). +`evidence/` does not exist at this revision. Receipts are append-only and are not edited after the +fact. diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..deb64c4 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,51 @@ +# Security policy + +## Reporting a vulnerability + +Report privately. Do not open a public issue, pull request or discussion about it. + +1. GitHub: open this repository's Security tab and choose "Report a vulnerability". This + creates a private advisory that only the maintainers can see. If that option is not shown, + private vulnerability reporting has not been enabled for this repository yet; use email. +2. Email: drake@aienos.com with the subject `[aien-rig] security report`. + +Include the commit or release you tested, the component (path), steps to reproduce, and what an +attacker gains. If the report involves a secret, say where it was exposed and do not send the +secret itself. Encrypted mail is not required; do not post proof-of-concept payloads publicly. + +## Response targets + +This project has one maintainer; the targets below are best effort and stated honestly. + +- Acknowledgement: within 3 working days. +- Triage and severity: within 7 days of acknowledgement. +- Fix or mitigation for confirmed issues: aim for 30 days for high and critical, 90 days + otherwise, with a status update at least every 14 days until closed. +- Disclosure: coordinated. An advisory is published with credit (unless you ask otherwise) + once the fix is on the default branch. Default embargo 90 days, negotiable. + +## Scope + +At this revision the component directories (`engine/`, `speech/`, `creator/`, `tuner/`, `app/`) +hold only placeholder READMEs; there is no build system or CI yet (AGENTS.md). + +In scope: + +- Tokens, credentials or private data committed to any file. +- Once code lands: the planned OpenAI-compatible HTTP server in `engine/` (network input), and the + Windows FPS tuner in `tuner/`, which changes settings on users' machines and must apply only safe + changes, keep a receipt for each and be able to undo every change (AGENTS.md). + +Out of scope: + +- Third-party engines used as yardsticks (for example llama.cpp), NVIDIA drivers, Windows and the + games the tuner measures. + +## Supported versions + +Only the default branch `main`; there is no release. Reports against older commits are welcome but fixes land on the default branch only. + +## Status + +Pre-alpha, under active build. Not tested on an RTX 5070 yet (README). No certification, no bug +bounty. See AUDIT_SCOPE.md for what to review and how to build and test it.