LinkedIn ↗ · GitHub ↗ · Berlin, Germany

← Open-source developer tools

Tool · Case studyOpen source / developer tool · 2026

Prepublic

Know what you expose before you make a repository public.

npx prepublic --demo

Role
Product direction, safety rules and release, with AI-assisted development
Status
Open source (MIT) · v0.2.0 on npm
Disciplines
Developer Tooling · AI Automation
Links
A Prepublic report with the verdict “Not ready to publish”, an exposure scope with one point per finding, a readiness ring and scan coverage.
The report for a generated demo repository. All credentials are fake.

The question

Making a private repository public exposes more than the current files: old commits, deleted secrets, personal paths, author emails and missing licences come with it. Prepublic reviews a local repository before that step and says what blocks publication.

What it checks

Secrets in tracked files and in Git history, including values that were removed but remain in old commits. Sensitive files such as environment files, private keys and database dumps. Personal data such as home-directory paths, private hosts and author emails. Hygiene, documentation and licensing: ignore rules, committed clutter, README and license problems.

Every finding explains why it matters, what to do, where it is, and shows redacted evidence. If Gitleaks is installed, it runs as a second engine and the results are merged.

The verdict

The report ends in one of three answers: not ready to publish, review before publishing, or no blockers detected. It never says “safe”, and it lists what it skipped and the manual steps no scanner can take, such as rotating an exposed credential.

Limits

Remote-only branches, pull requests, issues, wikis, CI logs, packages and container images are out of scope. Binary and oversized files are checked by name and size only. A credential that was ever committed should be treated as compromised and rotated.