Skip to content

Rust port: gitc scan + scrub secret-leak lifecycle - #63

Merged
dyammarcano merged 1 commit into
mainfrom
rust-on-main
Aug 18, 2026
Merged

Rust port: gitc scan + scrub secret-leak lifecycle#63
dyammarcano merged 1 commit into
mainfrom
rust-on-main

Conversation

@dyammarcano

Copy link
Copy Markdown
Collaborator

Adds the Rust port of gitc alongside the Go implementation on main. gitc scan (detect) + gitc scrub (remediate) — full detect/trace/remediate/verify lifecycle. betterleaks as a library, git-filter-repo port, fuzzed parsers, 117 tests. See SECURITY.md. Squash-merge (main requires linear history).

A drop-in `git` (git's C compiled in) plus two pseudo-commands:
- `gitc scan`  — detect: staged/working-tree/history/ranges/--pre-push/dir/stdin,
  suppression model (ignore/baseline/allow vs `gitc:known`), reporting
  (human/json/sarif/junit/csv), incremental --cache, bounded --jobs.
- `gitc scrub` — remediate: plan/dry-run/secret<fp>/path/blob/rollback/cleanup,
  bundle backups, signature-invalidation warnings, post-rewrite verification.

betterleaks as a library-only detection engine; a git-filter-repo port for history
rewrite; git-native readers (gitindex/gitobj/gitpack/gitwalk); fuzzed parsers. See
SECURITY.md. Coexists with the Go implementation already on main.
@dyammarcano
dyammarcano merged commit b310333 into main Aug 18, 2026
0 of 3 checks passed
@dyammarcano
dyammarcano deleted the rust-on-main branch August 18, 2026 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant