Quarantine: a repository from outside waits for a security review

A repository migrated or mirrored from outside, or forked by a guest, is untrusted from the first minute. There is no switch. Until its read-only review passes, nothing of it runs: no app deploy (production or preview), no check, and no crew run. A repository a member created on the forge is never quarantined. Any fork of a quarantined repository is quarantined too, with its source's state and findings: forking is not a way past the review.

The review

The review reads the default branch and runs nothing it reads. These fail it:

These are noted and pass:

What it found is kept on the repository.

The review is a heuristic. It matches the plain shapes of hostile code and will not stop a determined author. A pass means nothing obvious was found, not that the code is safe. The owner's override is the real decision.

The review fails closed: a directory that will not list, a file that will not open, or a tree past 2000 files is an unread finding that blocks. A pass is for the commit it read (the reviewed commit is kept). A later push to the default branch of a repository whose review passed brings the quarantine back at once and the forge reads the new tip by itself. The same happens after a migration or a mirror's first fetch: nobody has to ask.

Lifting it

Where

On the repository's page, while it is quarantined: its state, what the review found, and, for its owner, Run the review and Override (src/web/pages/review.ts). In the terminal (src/tui/screens/quarantine.ts), open the repository and choose Security review from the palette: r runs the review and lists what it found, o overrides after a confirm. The actions are reviewRepo (owner only) and overrideQuarantine in src/actions/quarantine.ts; the reader is src/core/review_scan.ts.

Outside pulls to a repository keep their own gate: a writer approves the exact head before it runs (src/core/pull_trust.ts).

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs