Skip to content

Releases: gitleaks/gitleaks

v8.20.0

03 Oct 15:06
bf8a49f
Compare
Choose a tag to compare

Changelog

Huge huge thanks to @bplaxco for supporting b64 decoding, @recreator66 for bug fixes, and to @rgmz for his continued support of the project in the form of PRs and reviews. Thanks you!

New Feature: Decoding

Sometimes secrets are encoded in a way that can make them difficult to find
with just regex. Now you can tell gitleaks to automatically find and decode
encoded text. The flag --max-decode-depth enables this feature (the default
value "0" means the feature is disabled by default).

Recursive decoding is supported since decoded text can also contain encoded
text. The flag --max-decode-depth sets the recursion limit. Recursion stops
when there are no new segments of encoded text to decode, so setting a really
high max depth doesn't mean it will make that many passes. It will only make as
many as it needs to decode the text. Overall, decoding only minimally increases
scan times.

The findings for encoded text differ from normal findings in the following
ways:

  • The location points the bounds of the encoded text
    • If the rule matches outside the encoded text, the bounds are adjusted to
      include that as well
  • The match and secret contain the decoded value
  • Two tags are added decoded:<encoding> and decode-depth:<depth>

Currently supported encodings:

  • base64 (both standard and base64url)

v8.19.3

26 Sep 14:22
ed19c4e
Compare
Choose a tag to compare

Changelog

v8.19.2

16 Sep 13:44
128cd22
Compare
Choose a tag to compare

Changelog

  • 128cd22 fix(rule): comment out errant validation case (#1509)
  • 1a6d2b0 remove validate config test temporarily
  • 0874ebc Update README.md

v8.19.1

14 Sep 09:02
9463ffa
Compare
Choose a tag to compare

Changelog

v8.19.0

14 Sep 00:46
44ad62e
Compare
Choose a tag to compare

Changelog

  • 44ad62e Deprecate detect and protect. Add git, dir, stdin (#1504) HEY THIS IS AN IMPORTANT CHANGE. If it breaks some stuff... sorry, I'll fix it asap, just open an issue and make sure to ping me. The change is meant to be backwards compatible.
  • e93a7c0 Update Harness rules to add _ and - in the account ID part. (#1503)
  • 4e43d11 chore: fix gl workflow error (#1487)
  • bd81872 Make config generation utils public (#1480)
  • 3be7faa Update Hashicorp Vault token pattern (#1483)
  • 1aae66d feat(config): update rule validation (#1466)
  • 6dfcf5e Update .gitleaksignore
  • f361c5e fix(detect): handle EOF with bytes (#1472)
  • 8a1ca9e Added poetry.lock to default allowlist paths (#1474)
  • 525c4b4 refactor(sarif): remove |name| and change |shortDescription| (#1473)
  • c0fda43 Use rule id for config validation error (#1463)
  • d3c4b90 Use first non-empty group if secretGroup isn't set (#1459)
  • b4009bf chore: remove unnecessary capture groups (#1460)
  • 80bd177 Return non-0 exit code from DetectGit (#1461)
  • 0334ec1 add gradle verification-metadata.xml to global allowlist (#1446)
  • c1345e1 feat(openshift): add user token (#1449)
  • 7697b3e (feat): Adding secret detection rule for Kubernetes secrets (#1454)
  • 26f3469 add version to default
  • bc979de Add go.work and go.work.sum to global allowlist (#1353)
  • b899915 Add harness PAT and SAT rules (#1406)
  • 4c5195b Update README.md

v8.18.4

14 Jun 15:38
02808f4
Compare
Choose a tag to compare

Changelog

Shout out to @coderabbit for their sponsorship!

v8.18.3

01 Jun 13:45
39947b0
Compare
Choose a tag to compare

Changelog

v8.18.2

01 Feb 17:08
ac4b514
Compare
Choose a tag to compare

Changelog

  • ac4b514 removed gitleaks user from Dockerfile (#1313)
  • 76c9e31 Remove IAM identifiers for non-credential resources in the aws-access-token rule (#1307)
  • afe046b Update stripe rule to not alert on publishable keys (#1320)
  • 8b8920d --max-target-megabytes flag now supported for --no-git flag as well (#1330)
  • a59289c add pre-commit hook gitleaks-system (#1225)
  • 870194b fix errors when using protect and an external git diff tool (#1318)
  • 179c607 rename filesystem to directory (#1317)
  • 8de8938 Enhance Secret Descriptions (#1300)
  • ca7aa14 Small refactor detect and sources (#1297)
  • 01e60c8 chore(config): refactor to go generate; simplify configRules init (#1295)
  • 54f5f04 forgot symlinks
  • 221d5c4 pretty apparent 'protect' and 'detect' should be merged into one command (#1294)
  • 128b50f style: sort the stopwords (#1289)

v8.18.1

17 Nov 20:58
dab7d02
Compare
Choose a tag to compare

Changelog

v8.18.0

22 Aug 19:33
4526655
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v8.17.0...v8.18.0