Repository navigation
security: add free credential protection (Gitleaks) - #5
Merged
Merged
Conversation
Adds permanent, free secret scanning to this repository: - Gitleaks in CI over the full git history (all branches and tags) and the working tree, using a pinned release verified against published checksums, read-only permissions and redacted output. - Project-specific rules for Telegram credentials, research-provider API keys, Android signing material, SSH/ADB keys and local-only configuration. - Reviewed exceptions in .gitleaksignore, one line per confirmed false positive, each with its reason. - Release-artifact scanning for published APK/AAB/ZIP assets. - Optional, documented pre-commit hook (scripts/install-git-hooks.sh).
checkout with fetch-depth: 0 already fetches every branch and tag, and the extra `git fetch --all` failed on private repositories because persist-credentials: false leaves no credentials behind. Adds a ref-coverage report so the full-history guarantee stays visible in the logs.
The inline allow comment must sit on the same line as the literal, so the line was rewritten; restore the original em dash in the user-facing copy.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds permanent, free credential protection. No paid GitHub features, no external
services, no credit card.
Safety properties: pinned Gitleaks 8.30.1 with SHA-256 verification against the release checksums, permissions: contents: read, persist-credentials: false, all output redacted, no reports uploaded, no PR comments with findings.
Historical scan results
The documented trial-vault default password. Intentional and surfaced in the UI; flagged for review, not a leaked credential.
Verification
Deliberately not done
No history rewriting, no credential rotation, no force-push, no signing-identity
change, and no merge. Those need explicit approval.