Skip to content
Back to projects05 / Developer tooling / release safety

Git Privacy Scanner

Git Privacy Scanner is a release-safety tool for checking whether a repository is actually safe to publish before pushing it into public view.

Git Privacy Scanner visual system artwork
PRIVACY / system view
StackPython
StatusPublic
Year2026
LicenseMIT
01 / OVERVIEW

The problem

A repository can look clean in its current files while still leaking secrets, personal data, machine paths or sensitive content in ignored files and commit history.

02 / APPROACH

How I approached it

  1. 01Scan for multiple privacy classes instead of only API-key patterns.
  2. 02Check repository history and local-path leakage as part of the publish decision.
  3. 03Make findings reviewable before release rather than silently deleting evidence.
  4. 04Keep the tool small enough to run as a routine pre-publication check.
03 / WHAT SHIPPED

Key features

  • Secret-pattern scanning
  • PII checks
  • Private-file detection
  • Local-path leakage detection
  • Git history checks
  • Pre-publish review workflow
05 / SYSTEM MAP

Architecture

Core
Python
Target
Git repositories
Checks
Secrets · PII · paths · history
Use
Pre-publication gate
Output
Reviewable findings
License
MIT
06 / PRINCIPLES

What PRIVACY is built to preserve.

  • Assume history matters
  • Flag before deleting
  • Privacy is broader than secrets
  • Make public release a deliberate gate
07 / FAQ

Useful answers, without the hunt.

Is Git Privacy Scanner only a secret scanner?

No. It also targets PII, private files, machine-specific local paths and risky Git history.

When should it run?

Its intended use is before publishing or sharing a Git repository, especially when a project started as private local work.

Does a clean scan guarantee a repository is safe?

No automated scanner can guarantee that. The tool is a review aid and release gate, not a substitute for judgement on sensitive content.

NEXT BUILD / 06

BrowserProof

Verify AI browser agents and Playwright workflows with explicit assertions, evidence hashes, HTML reports and CI-ready pass/fail results.

Keep exploring
BrowserProof visual system artwork