Release 1/11: gitleaks scan over full history (blocks going public) #42

Closed
opened 2026-08-08 18:43:10 -04:00 by jared · 2 comments
Owner

Blocks everything else. Going public is irreversible — code that has been public gets forked and archived within hours.

Run a proper secret scan over the full history before the repo is exposed.

gitleaks detect --source . --log-opts="--all" --redact -v

What is already known

A coarse grep over all 140 commits found no share tokens, credentials or bearer strings, and the default corpus URL in R/config.R was still the REPLACE_WITH_SHARE_TOKEN placeholder (it is now the public Hugging Face URL). So this is expected to be clean — but a grep is not a scanner, and this is the one step that cannot be undone.

Also check

  • Issue history on this repo, for anything client-identifying.
  • .gitea/workflows/ci.yml — it references secrets.USCOGDATA_TOKEN. Variable names becoming public is fine; confirm no value was ever inlined.

Done when

  • gitleaks reports no findings over --all
  • Issue history skimmed
**Blocks everything else. Going public is irreversible — code that has been public gets forked and archived within hours.** Run a proper secret scan over the full history before the repo is exposed. ```sh gitleaks detect --source . --log-opts="--all" --redact -v ``` ## What is already known A coarse `grep` over all 140 commits found no share tokens, credentials or bearer strings, and the default corpus URL in `R/config.R` was still the `REPLACE_WITH_SHARE_TOKEN` placeholder (it is now the public Hugging Face URL). So this is expected to be clean — but a grep is not a scanner, and this is the one step that cannot be undone. ## Also check - Issue history on this repo, for anything client-identifying. - `.gitea/workflows/ci.yml` — it references `secrets.USCOGDATA_TOKEN`. Variable *names* becoming public is fine; confirm no value was ever inlined. ## Done when - [ ] `gitleaks` reports no findings over `--all` - [ ] Issue history skimmed
Author
Owner

@/tmp/claude-1000/-home-jared-Nextcloud-Civilytics-Code-Civilytics-cog-explorer/4bbb145c-ac06-4d88-84be-1e596655c718/scratchpad/gitleaks-comment.md

@/tmp/claude-1000/-home-jared-Nextcloud-Civilytics-Code-Civilytics-cog-explorer/4bbb145c-ac06-4d88-84be-1e596655c718/scratchpad/gitleaks-comment.md
Author
Owner

@/tmp/claude-1000/-home-jared-Nextcloud-Civilytics-Code-Civilytics-cog-explorer/4bbb145c-ac06-4d88-84be-1e596655c718/scratchpad/skim.md

@/tmp/claude-1000/-home-jared-Nextcloud-Civilytics-Code-Civilytics-cog-explorer/4bbb145c-ac06-4d88-84be-1e596655c718/scratchpad/skim.md
jared closed this issue 2026-08-08 19:49:08 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Civilytics/uscogdata#42