Documentation
¶
Overview ¶
Command privscan finds, and fixes, a person's own paths, account name and document names in text that is about to be published — or has been.
privscan [flags] FILE... before sending privscan --fix FILE... rewrite them privscan --repo owner/name after sending privscan --org go-tex the whole fleet
⛔⛔ WHY IT EXISTS. On 2026-11-09 three issues were filed whose bodies each carried `/Users/<account>/Documents/<project>/<file>.tex` — a home directory, an account name, a directory layout and the name of an unpublished document. Nobody noticed until the user asked "did you leak my name", and the rule they then set is the one this enforces: no leak of a name, nor of a path or file name, on a user's file system.
⛔ Editing a body afterwards does not undo it. GitHub keeps the original under "edited" for anyone who opens the history, which is why this command is meant to run BEFORE the send — as a gate inside the program that sends — and why --fix refuses to touch a forge body: the remedy there is to delete and re-create, not to rewrite.
⛔ It reads issue and pull-request COMMENTS, not only bodies. A code search does not index comments reliably, so the first sweep done by searching found one leak and could not have found a second in a comment. The repository-wide comment endpoints cost one paginated call each, which is cheaper than one call per issue and reads everything.
The findings do not reprint what they found unless --show asks: a refusal is printed where the body was going, and that is sometimes a public CI log.