Skip to content

Update pre-commit hook gitleaks/gitleaks to v8.27.0 #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 4, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 11, 2025

This PR contains the following updates:

Package Type Update Change
gitleaks/gitleaks repository minor v8.24.3 -> v8.27.0

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

gitleaks/gitleaks (gitleaks/gitleaks)

v8.27.0

Compare Source

Changelog

Got another @​bplaxco release. Cheers!

Archive Scanning

Sometimes secrets are packaged within archive files like zip files or tarballs,
making them difficult to discover. Now you can tell gitleaks to automatically
extract and scan the contents of archives. The flag --max-archive-depth
enables this feature for both dir and git scan types. The default value of
"0" means this feature is disabled by default.

Recursive scanning is supported since archives can also contain other archives.
The --max-archive-depth flag sets the recursion limit. Recursion stops when
there are no new archives to extract, so setting a very high max depth just
sets the potential to go that deep. It will only go as deep as it needs to.

The findings for secrets located within an archive will include the path to the
file inside the archive. Inner paths are separated with !.

Example finding (shortened for brevity):

Finding:     DB_PASSWORD=8ae31cacf141669ddfb5da
...
File:        testdata/archives/nested.tar.gz!archives/files.tar!files/.env.prod
Line:        4
Commit:      6e6ee6596d337bb656496425fb98644eb62b4a82
...
Fingerprint: 6e6ee6596d337bb656496425fb98644eb62b4a82:testdata/archives/nested.tar.gz!archives/files.tar!files/.env.prod:generic-api-key:4
Link:        https://github.com/leaktk/gitleaks/blob/6e6ee6596d337bb656496425fb98644eb62b4a82/testdata/archives/nested.tar.gz

This means a secret was detected on line 4 of files/.env.prod. which is in
archives/files.tar which is in testdata/archives/nested.tar.gz.

Currently supported formats:

The compression
and archive
formats supported by mholt's archives package
are supported.

v8.26.0

Compare Source

Changelog

Calling this one @​bplaxco's release as he introduced a really clever method for mixed decoding without sacrificing too much performance. As I stated in his PR, I think he's either a wizard or some time traveling AI. Dude is wicked smaht

Anyways, Gitleaks now supports the following decoders: hex, percent(url enconding), and b64. It's relatively straight forward to add a new decoder so if you're motivated, community contributions are welcomed!

Here's an example:

~/code/gitleaks-org/gitleaks (master) cat decode.txt
text below
aGVsbG8sIHdvcmxkIQ%3D%3D%0A
text above
~/code/gitleaks-org/gitleaks (master) ./gitleaks dir decode.txt --max-decode-depth=2 --log-level=debug

    ○
    │╲
    │ ○
    ○ ░
    ░    gitleaks

4:08PM DBG using stdlib regex engine
4:08PM DBG unable to load gitleaks config from decode.txt/.gitleaks.toml since --source=decode.txt is a file, using default config
4:08PM DBG found .gitleaksignore file: .gitleaksignore
4:08PM DBG segment found: original=[29,38] pos=[29,38]: "%3D%3D%0A" -> "==\n"
4:08PM DBG segment found: original=[11,38] pos=[11,31]: "aGVsbG8sIHdvcmxkIQ==" -> "hello, world!"
4:08PM INF scanned ~50 bytes (50 bytes) in 1.5ms
4:08PM INF no leaks found

v8.25.1

Compare Source

Changelog

Big thanks @​rgmz

v8.25.0

Compare Source

Changelog


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Apr 11, 2025
@renovate renovate bot enabled auto-merge (squash) April 11, 2025 19:09
@renovate renovate bot changed the title Update pre-commit hook gitleaks/gitleaks to v8.24.3 Update pre-commit hook gitleaks/gitleaks to v8.24.3 - autoclosed Apr 25, 2025
@renovate renovate bot closed this Apr 25, 2025
auto-merge was automatically disabled April 25, 2025 10:39

Pull request was closed

@renovate renovate bot deleted the renovate/gitleaks-gitleaks-8.x branch April 25, 2025 10:39
@renovate renovate bot changed the title Update pre-commit hook gitleaks/gitleaks to v8.24.3 - autoclosed Update pre-commit hook gitleaks/gitleaks to v8.24.3 Apr 29, 2025
@renovate renovate bot reopened this Apr 29, 2025
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from 69ce1a4 to 09d3aa3 Compare April 29, 2025 17:26
@renovate renovate bot changed the title Update pre-commit hook gitleaks/gitleaks to v8.24.3 Update pre-commit hook gitleaks/gitleaks to v8.25.0 Apr 29, 2025
@renovate renovate bot enabled auto-merge (squash) April 29, 2025 23:10
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from 09d3aa3 to f9899ae Compare April 29, 2025 23:10
@renovate renovate bot changed the title Update pre-commit hook gitleaks/gitleaks to v8.25.0 Update pre-commit hook gitleaks/gitleaks to v8.25.1 Apr 30, 2025
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from f9899ae to 9ac6f11 Compare April 30, 2025 19:38
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from 9ac6f11 to 8fe0579 Compare May 12, 2025 23:24
@renovate renovate bot changed the title Update pre-commit hook gitleaks/gitleaks to v8.25.1 Update pre-commit hook gitleaks/gitleaks to v8.26.0 May 12, 2025
| datasource  | package           | from    | to      |
| ----------- | ----------------- | ------- | ------- |
| github-tags | gitleaks/gitleaks | v8.24.3 | v8.27.0 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from 8fe0579 to 7b2cf9d Compare June 1, 2025 17:39
@renovate renovate bot changed the title Update pre-commit hook gitleaks/gitleaks to v8.26.0 Update pre-commit hook gitleaks/gitleaks to v8.27.0 Jun 1, 2025
@renovate renovate bot merged commit 315c655 into main Jun 4, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant