gitleaks ran without --config, so it read a `.gitleaks.toml` from the
scanned repository, which could allow-list everything. It now always runs
with rules/gitleaks.toml: gitleaks' own rules plus
- android-keystore-password: storePassword/keyPassword literals in
build.gradle(.kts) (not System.getenv / findProperty);
- android-signing-password-property: *STORE/KEY/SIGNING*PASSWORD in
gradle.properties;
- firebase-config-api-key: the API key in google-services.json and
GoogleService-Info.plist (the default rules missed the plist), at low
severity with what to do: it identifies the app and must be restricted
in the Google Cloud console. gitleaks' own gcp-api-key for the same key
in those files is dropped, so it is reported once.
The config is written per run into its own temp directory.
A `.gitleaksignore` in the repository is still honoured: gitleaks reads it
from the scanned directory whatever it is told (8.21 and 8.30 checked).
Refs #437.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p