Zachary Rice
d88bc094f7
facebook keyword
v8.23.2
2025-01-22 19:15:25 -06:00
Richard Gomez
3fdaefdaa3
fix(meraki): restrict keyword case ( #1722 )
2025-01-22 10:25:45 -06:00
Richard Gomez
f3ae52e138
feat(generic-api-key): detect base64 ( #1598 )
2025-01-22 09:27:45 -06:00
Zachary Rice
d6a828a530
great branch name ( #1721 )
...
* great branch name
* update test
2025-01-21 19:52:05 -06:00
Richard Gomez
d2ffffecbd
fix(git): remove .git suffix for links ( #1716 )
2025-01-21 19:17:26 -06:00
Richard Gomez
a43dc0d3d0
chore: refine generic-api-key fps + trace logging ( #1720 )
2025-01-21 08:29:24 -06:00
Richard Gomez
69ed20e25e
fix(generate): move newline out of char range ( #1719 )
2025-01-21 08:25:27 -06:00
Zachary Rice
52b895a603
newline literal ( #1718 )
2025-01-20 21:37:19 -06:00
Richard Gomez
3f4d91fc22
build: support either stdlib or 3rd-party regexp ( #1706 )
2025-01-20 10:45:31 -06:00
Richard Gomez
049f5b2435
chore(detect): update trace logging ( #1713 )
2025-01-20 09:30:59 -06:00
Richard Gomez
7a6183dab0
feat(git): redact passwords from remote URL ( #1709 )
2025-01-19 15:17:07 -06:00
Richard Gomez
3c7f3f0e08
feat(git): include link in report ( #1698 )
2025-01-19 14:03:57 -06:00
Richard Gomez
0e3f4f7abb
chore: reduce generic-api-key fps ( #1707 )
...
Based on scanning ziglang/zig and oven-sh/bun
2025-01-19 07:37:39 -06:00
Zach
3ed85671a4
blorp
2025-01-17 19:24:22 -06:00
Kashif Khan and Richard Gomez
e977850ab4
added new rule for cisco meraki api key ( #1700 )
...
* added new rule for cisco meraki cloud api key
* Updated style preference
Co-authored-by: Richard Gomez <32133502+rgmz@users.noreply.github.com >
* updated keywords
Co-authored-by: Richard Gomez <32133502+rgmz@users.noreply.github.com >
* Added entropy
Co-authored-by: Richard Gomez <32133502+rgmz@users.noreply.github.com >
* resolved comments
---------
Co-authored-by: Richard Gomez <32133502+rgmz@users.noreply.github.com >
2025-01-17 19:17:49 -06:00
Richard Gomez
ad7a4fb4ea
feat: general fp tweaks ( #1703 )
2025-01-17 19:13:33 -06:00
Richard Gomez
b2cf03c7e3
chore(generate): use \x60 instead of literal ( #1702 )
2025-01-17 09:37:50 -06:00
Ben-grmbl
a3f623cc69
chore(regex): simplify secretPrefix, suffix ( #1620 )
...
combined character ranges,
removed duplicates in same character range,
replaced \x060 with literal `
combined \s with \r\n
2025-01-15 18:21:44 -06:00
William Bille Meyling
cc71bb1e9a
update version for pre-commit in README.md ( #1699 )
2025-01-15 15:12:07 -06:00
Roger Meier
7bad9f7654
chore(gcp): add firebase example keys to the gcp-api-key allowlists ( #1635 )
v8.23.1
2025-01-15 06:47:08 -06:00
Richard Gomez
977236cb5f
fix: unaligned 64-bit atomic operation panic ( #1696 )
2025-01-15 06:45:37 -06:00
Zach
a211b1601f
force push to master everyday
2025-01-14 19:14:21 -06:00
Richard Gomez
0e5f644b67
feat(config): disable extended rule ( #1535 )
2025-01-14 18:52:57 -06:00
Piotr Idzik
f320a60e6f
style: prevent globbing and word splitting ( #1543 )
2025-01-14 16:42:07 -06:00
Richard Gomez
c4526b2c55
refactor(generic-api-key): remove hard-coded 'magic' ( #1600 )
2025-01-13 19:57:25 -06:00
Richard Gomez
748076d976
chore(generate): add failing test case ( #1690 )
2025-01-13 10:21:29 -06:00
Richard Gomez
db8e5e672e
feat(generate): use multiple allowlists ( #1691 )
v8.23.0
2025-01-13 08:49:12 -06:00
Richard Gomez
973c794cf0
chore(rules): include fps in reference ( #1471 )
2025-01-13 08:40:20 -06:00
rmdwe
f0d4499064
Add comma as operator for GenerateSemiGenericRegex ( #1679 )
...
* feat: add comma as operator for GenerateSemiGenericRegex
* test: fix tests.
2025-01-13 08:21:45 -06:00
Richard Gomez
ab38a46986
refactor: central logger ( #1692 )
2025-01-13 08:09:22 -06:00
Zachary Rice
b022d1c856
friendship ended with tines
2025-01-02 10:24:13 -06:00
almaz045 and Almaz Vakhitov
b69b5157a0
Entropy trace ( #1659 )
...
* I do an entropy check earlier than the others and add the info to the trace
Maybe I'm wrong, but it seems to me that if the regex allowlist is large, it's easier to first check for entropy, since we won't have to go through all these regexes. Plus, we need to check entropy anyway.
Additionally, when using -l trace, there was no information that the find was missed precisely because of entropy. Now it will be shown
* adding info into trace about entropy
* Fixed name of variables
---------
Co-authored-by: Almaz Vakhitov <a.vakhitov@vk.team >
v8.22.1
2024-12-30 10:15:51 -06:00
Richard Gomez
7357adca5e
build: add 'toolchain' to go.mod ( #1682 )
2024-12-30 10:08:24 -06:00
Richard Gomez
4c3da6ebb7
refactor(detect): create readUntilSafeBoundary + add tests ( #1676 )
2024-12-28 15:14:49 -06:00
Zachary Rice
dbe3746455
twitter really does suck ass now
2024-12-28 10:22:25 -06:00
Ben-grmbl
7edfc6b5d5
chore(tests): test cases for generate.go ( #1623 )
...
GenerateSemiGenericRegex,
GenerateUniqueTokenRegex
to clarify and document current behavior
2024-12-20 20:55:10 -06:00
Richard Gomez
efe40cae39
fix: only use non-empty secret groups ( #1632 )
2024-12-20 20:53:44 -06:00
Richard Gomez
7cb5f6f64c
build: upgrade sprig v2->v3 ( #1674 )
2024-12-20 19:44:18 -06:00
Kenichi Kamiya
2930537190
fix: generate report file even if no findings ( #1673 )
2024-12-20 10:17:23 -06:00
ahrav
a91c6717a0
replace std library regex engine with go-re2 ( #1669 )
v8.22.0
2024-12-20 09:53:01 -06:00
David Mateo
906085fba6
Update golang version to 1.23 ( #1672 )
...
Because go mod 1.23 has been updated, the golang image needs it too
v8.21.4
2024-12-20 08:38:11 -06:00
Zach
d0ba52e2be
bump go in dockerfile
2024-12-20 05:54:52 -06:00
Zachary Rice
8a8306288e
log bytes ( #1670 )
2024-12-20 05:46:25 -06:00
Zach
a9e6d8c9a7
go mod 1.23
v8.21.3
2024-12-19 09:27:43 -06:00
Craig Smith and Craig Smith
2f73a3e3cf
Ensure keywords are downcased ( #1633 )
...
* Ensure keywords are downcased
* Update tests
* Remove unnecessary code
* Add msg to test expectation
* Update the keywords as we iterate through them
* Remove unnecessary to lower
---------
Co-authored-by: Craig Smith <5344211-craigmsmith@users.noreply.gitlab.com >
2024-12-19 09:22:03 -06:00
Bert Coppens
f6966057f5
feat: add settlemint api keys detection ( #1663 )
...
* feat: add settlemint api keys detection
* fix regex creation
* use GenerateUniqueTokenRegex
* trigger ci
* ensure tokens have min length of 12
* ensure to set minLength on settlemint token pattern
* set base entropy for settlemint detectors
* update settlemint token regexes to be more precise
2024-12-13 09:18:30 -06:00
Richard Gomez
0bf13fc25a
feat(dir): better chunking ( #1665 )
2024-12-12 10:27:27 -06:00
Richard Gomez
83e99bacf1
feat(report): allow user-defined templates ( #1650 )
2024-12-10 18:56:11 -06:00
e393d299bc
Add support for GitLab routable tokens ( #1656 )
...
* Add support for GitLab routable tokens #1655
This commit adds support for GitLabs routable tokens.
For the specification see:
https://handbook.gitlab.com/handbook/engineering/architecture/design-documents/cells/routable_tokens/#proposal
Issue: https://github.com/gitleaks/gitleaks/issues/1655
* Add support for GitLab routable tokens #1655
This commit adds increases the entropy.
For the specification see:
https://handbook.gitlab.com/handbook/engineering/architecture/design-documents/cells/routable_tokens/#proposal
Issue: https://github.com/gitleaks/gitleaks/issues/1655
* add word boundary to regex
Co-authored-by: Ben-grmbl <173737458+Ben-grmbl@users.noreply.github.com >
* chore: re-generate gitleaks.toml
Co-authored-by: Ben-grmbl <173737458+Ben-grmbl@users.noreply.github.com >
---------
Co-authored-by: Nicholas Wittstruck <1283061+nwittstruck@users.noreply.github.com >
Co-authored-by: Ben-grmbl <173737458+Ben-grmbl@users.noreply.github.com >
2024-12-06 07:41:41 -06:00
naveen
263ce82365
Add freemius secret key detection ( #1611 )
2024-12-05 10:37:53 -06:00