The fuzz host's GitHub App: a runbook for the person who creates it
Name: provisional, minted 2026-11-01 (UTC) by lane/fuzz-findings-without-a-person. The Apps' names,
nife-fuzz and nife-fuzz-reader, are also provisional. No architect has ruled on any of them.
An appendix to continuous-host.md. The continuous fuzzing host publishes a
daily release and files one private security advisory per held finding, and stops there. It acts as
one GitHub App, nife-fuzz, and holds that App's private key, the only key on the fuzz host. An
architect ruled this on 2026-11-01 (UTC) in
fuzz-findings-without-a-person and
narrowed it on 2026-11-04 (UTC): a person publishes each advisory, and the host does not.
The App exists. A person created it on 2026-11-01 (UTC) and installed it on nifeos/nife only. Its App ID is 5571801 and its installation ID is 177641059; neither is secret. The steps below stay as the procedure for replacing it or its key. A person does every step here. No lane creates the App, handles the key, reads it or looks for it.
Before you start: what the key can do
Read this first. It is the exposure you accept by placing the key.
- The host runs main's code unattended once step P1 of
finishing-the-setup.mdbrings it to main. Its supervisor then fast-forwards to each green commit on main and re-executes itself as the fuzz account, so anything merged to main runs on the host within about one window (continuous-host.md). - The key stays root-only, and the mint helper that reads it lives outside the clone, so an update never replaces it. The fuzz account can read the current installation token, which lives one hour, and the helper mints a new one every hour. Code on main can therefore act as the App for as long as it runs.
- With Contents write a token can also create, rewrite or delete any branch except main. Main's ruleset requires zero approving reviews, so a commit pushed to an open pull request's branch with auto-merge armed reaches main through the merge queue when its checks pass. A held finding's fix is outside that reach while a lane develops it and a person reviews it, in the advisory's temporary private fork, which GitHub opens to no integration. It comes within reach when the approved fix lands as an ordinary pull request on nifeos/nife, for the time it spends in the merge queue. A finding the architect judges low severity has its fix in a public pull request from the start.
- With Contents write, a token can create, move or delete any
fuzz-*tag and any release on nifeos/nife. The ruleset "tags: only fuzz-* tags may be made" refuses creating, updating or deleting any other tag, and it has no bypass actor. An architect accepted the remaining exposure on 2026-11-01 (UTC) on that condition. - It cannot push to main: main's ruleset requires a pull request and has no bypass actor.
- With Repository security advisories write, a token can create, edit and publish any advisory on nifeos/nife, including a held finding before its fix. A throwaway App with that permission alone did create, complete and publish an advisory, so the permission is enough for the filer. It is also enough to publish. The filer never does: it only lists and creates drafts. The residual is that anything running as the fuzz account with a filer token could.
- Publishing needs a package and a vulnerable version range on the advisory; the filer supplies
both (
finishing-the-setup.md). - The App reaches no other repository. It holds no Workflows, Administration or other permission, and neither ruleset lists it as a bypass actor.
- The key does not expire, so nothing rotates it on a schedule. Revoke it when you suspect a leak.
Create the App
- Open https://github.com/organizations/nifeos/settings/apps/new, the organization's new GitHub App form.
- Name:
nife-fuzz. Homepage: the nifeos/nife repository page. - Switch the webhook off. The App has no server.
- Repository permissions: Contents, Read and write. Repository security advisories, Read and write. Leave every other permission at No access. Metadata stays Read-only, which GitHub sets on every App.
- Organization and account permissions: none.
- Under "Where can this GitHub App be installed", choose only on this account.
- Create the App. Note the App ID shown at the top of its settings page.
Check the permission list once more on the App's settings page. It must show exactly Contents, Repository security advisories and Metadata.
Install it on one repository
- On the App's page, https://github.com/organizations/nifeos/settings/apps/nife-fuzz/installations, choose Install beside the nifeos organization.
- Choose Only select repositories, and select nifeos/nife alone.
- Install. The address of the installation's settings page ends in the installation ID; note it.
Generate the key and place it on the host
finishing-the-setup.mdstep P5 gives the commands for the steps below. The advisory permission is verified there: this App needs nothing more to file and publish an advisory.- On the App's settings page, https://github.com/organizations/nifeos/settings/apps/nife-fuzz,
under Credentials, Key pairs, generate a private key. The browser downloads one
.pemfile. - Copy it to the fuzz host over a channel you already trust, straight into a directory only root can enter. Make the file owned by root with mode 0400.
- Delete every other copy: the download, any temporary copy, the trash.
- Write the App ID (5571801) and the installation ID (177641059) into the host's fuzz configuration. Neither is secret.
- Install the mint helper and enable its timer, then enable the services that read its token.
continuous-host.mdlists the units.
Never paste the key anywhere else. That covers a chat, a pull request, an issue, a comment, a lane's environment, a repository secret, a log, a shell history and a clipboard manager.
The reader App, for fix lanes
A second App, nife-fuzz-reader, lets a fix lane read a held finding's advisory. It holds Repository
security advisories read and nothing else. An architect ruled this on 2026-11-01 (UTC). It is an App
and not a fine-grained personal token, because a token expires and belongs to a person. It exists,
installed on nifeos/nife only: App ID 5571868, installation ID 177642435, neither secret. Steps 1
to 5 below stay as the procedure for replacing it.
Its key lives in a file only root can read on the machine that launches fix lanes. It never sits on
the fuzz host and never enters a lane's environment. A lane receives a one-hour installation token at
launch, from fuzz-token issue reader, which a sudo rule lets a lane run.
What the key can do: list and read every advisory on nifeos/nife, held findings included. It can write nothing.
- Open https://github.com/organizations/nifeos/settings/apps/new.
- Name:
nife-fuzz-reader. Homepage: the nifeos/nife repository page. Switch the webhook off. - Repository permissions: Repository security advisories, Read-only. Leave every other permission at No access; Metadata stays Read-only. No organization or account permissions.
- Under "Where can this GitHub App be installed", choose only on this account. Create the App and note its App ID.
- At https://github.com/organizations/nifeos/settings/apps/nife-fuzz-reader/installations, install it on the nifeos organization with Only select repositories, nifeos/nife alone. Note the installation ID from the installation page's address.
- Generate its private key and place it on the machine that launches fix lanes, as step P10 of finishing the setup says.
- Install the helper and the sudo rule as nifeos/fuzz-host's
docs/fuzz-token-reader.mdsays. The App ID and installation ID are in the helper; neither is secret.
Never paste this key anywhere else either, a lane's environment included.
Confirm it works
- Run
helpers/fuzz-daily-publish.sh --dry-runas the fuzz account. It prints the tag and the assets and calls nothing. - Set
NIFE_FUZZ_PUBLISH=1and enable the publish timer. The next day a releasefuzz-YYYY-MM-DDappears on nifeos/nife, made bynife-fuzz[bot].
Revoke or replace the key
On the App's settings page, generate a new key first, place it as above, then delete the old one. GitHub refuses to delete an App's only key. To stop the host acting at all, suspend or uninstall the App on nifeos/nife.
BUGS
- Nobody has followed the key steps yet. The first person to do so confirms each one or corrects it.
- The filer is built and not installed. Nothing has filed an advisory on GitHub yet.
- A nife release that uses a tag outside
fuzz-*needs the tag ruleset amended first, as its own step recorded in a pull request.