Created
October 10, 2024 18:35
-
-
Save JonZeolla/bb270c47471284baa5a9572f0c473234 to your computer and use it in GitHub Desktop.
trufflehog git (v3.82.7) does not warn on invalid --since-commit inputs
This file contains 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
$ trufflehog --debug git --since-commit=HEAD^ file://. --trace | |
2024/10/10 21:33:23 [updater parent] run | |
2024/10/10 21:33:23 [updater parent] checking for updates... | |
2024/10/10 21:33:24 [updater parent] failed to get latest version: already up to date | |
2024/10/10 21:33:24 [updater parent] starting /opt/homebrew/bin/trufflehog | |
2024/10/10 21:33:24 [updater child#1] run | |
2024/10/10 21:33:24 [updater child#1] start program | |
2024-10-10T21:33:24+03:00 info-2 trufflehog trufflehog 3.82.7 | |
π·ππ· TruffleHog. Unearth your secrets. π·ππ· | |
2024-10-10T21:33:24+03:00 info-4 trufflehog default engine options set | |
2024-10-10T21:33:24+03:00 info-4 trufflehog engine initialized | |
2024-10-10T21:33:24+03:00 info-4 trufflehog setting up aho-corasick core | |
2024-10-10T21:33:24+03:00 info-4 trufflehog set up aho-corasick core | |
2024-10-10T21:33:24+03:00 info-2 trufflehog starting scanner workers {"count": 1} | |
2024-10-10T21:33:24+03:00 info-2 trufflehog starting detector workers {"count": 8} | |
2024-10-10T21:33:24+03:00 info-2 trufflehog starting verificationOverlap workers {"count": 1} | |
2024-10-10T21:33:24+03:00 info-2 trufflehog starting notifier workers {"count": 1} | |
2024-10-10T21:33:24+03:00 info-1 trufflehog cloned repo {"path": "."} | |
2024-10-10T21:33:24+03:00 info-0 trufflehog running source {"source_manager_worker_id": "IdvGf", "with_units": true} | |
2024-10-10T21:33:24+03:00 info-2 trufflehog enumerating source {"source_manager_worker_id": "IdvGf"} | |
2024-10-10T21:33:24+03:00 info-3 trufflehog chunking unit {"source_manager_worker_id": "IdvGf", "unit": ".", "unit_kind": "dir"} | |
2024-10-10T21:33:24+03:00 info-0 trufflehog scanning repo {"source_manager_worker_id": "IdvGf", "unit": ".", "unit_kind": "dir", "repo": "[email protected]:Zenable-io/next-gen-governance.git", "base": "75ac8f7e50bc7e543381a36f12bc297fae1337b5"} | |
2024-10-10T21:33:24+03:00 info-5 trufflehog scanning commit {"source_manager_worker_id": "IdvGf", "unit": ".", "unit_kind": "dir", "repo": "[email protected]:Zenable-io/next-gen-governance.git", "commit": "8057b320e73f64dc597b250a4fa168a336758a35"} | |
2024-10-10T21:33:24+03:00 info-1 trufflehog reached base commit {"source_manager_worker_id": "IdvGf", "unit": ".", "unit_kind": "dir", "repo": "[email protected]:Zenable-io/next-gen-governance.git", "commit": "75ac8f7e50bc7e543381a36f12bc297fae1337b5"} | |
2024-10-10T21:33:24+03:00 info-4 trufflehog decoder not applicable for chunk {"scanner_worker_id": "6hwjL", "decoder": "BASE64", "chunk": {"Data":"Sm9uIFplb2xsYSA8am9uQHplbmFibGUuaW8+CkpvbiBaZW9sbGEgPGpvbkB6ZW5hYmxlLmlvPgpXb3JrIGJldHRlciBsb2NhbGx5IGFuZCBpbiBDSQo=","SourceName":"trufflehog - git","SourceID":1,"JobID":1,"SecretID":0,"SourceMetadata":{"Data":{"Git":{"commit":"8057b320e73f64dc597b250a4fa168a336758a35","email":"Jon Zeolla <[email protected]>","repository":"[email protected]:Zenable-io/next-gen-governance.git","timestamp":"2024-10-10 18:17:37 +0000"}}},"SourceType":16,"Verify":true}} | |
2024-10-10T21:33:24+03:00 info-4 trufflehog decoder not applicable for chunk {"scanner_worker_id": "6hwjL", "decoder": "UTF16", "chunk": {"Data":"Sm9uIFplb2xsYSA8am9uQHplbmFibGUuaW8+CkpvbiBaZW9sbGEgPGpvbkB6ZW5hYmxlLmlvPgpXb3JrIGJldHRlciBsb2NhbGx5IGFuZCBpbiBDSQo=","SourceName":"trufflehog - git","SourceID":1,"JobID":1,"SecretID":0,"SourceMetadata":{"Data":{"Git":{"commit":"8057b320e73f64dc597b250a4fa168a336758a35","email":"Jon Zeolla <[email protected]>","repository":"[email protected]:Zenable-io/next-gen-governance.git","timestamp":"2024-10-10 18:17:37 +0000"}}},"SourceType":16,"Verify":true}} | |
2024-10-10T21:33:24+03:00 info-4 trufflehog decoder not applicable for chunk {"scanner_worker_id": "6hwjL", "decoder": "ESCAPED_UNICODE", "chunk": {"Data":"Sm9uIFplb2xsYSA8am9uQHplbmFibGUuaW8+CkpvbiBaZW9sbGEgPGpvbkB6ZW5hYmxlLmlvPgpXb3JrIGJldHRlciBsb2NhbGx5IGFuZCBpbiBDSQo=","SourceName":"trufflehog - git","SourceID":1,"JobID":1,"SecretID":0,"SourceMetadata":{"Data":{"Git":{"commit":"8057b320e73f64dc597b250a4fa168a336758a35","email":"Jon Zeolla <[email protected]>","repository":"[email protected]:Zenable-io/next-gen-governance.git","timestamp":"2024-10-10 18:17:37 +0000"}}},"SourceType":16,"Verify":true}} | |
2024-10-10T21:33:24+03:00 info-4 trufflehog decoder not applicable for chunk {"scanner_worker_id": "6hwjL", "decoder": "BASE64", "chunk": {"Data":"CgoKICAgICAgIyBDb21wYXJlIG91ciBsb2NhbCBIRUFEIHRvIHRoZSBvcmlnaW4ncyBIRUFEIGNvbW1pdAogICAgICAtIHByZS1jb21taXQgcnVuIC0tYWxsLWZpbGVzIC0tZnJvbS1yZWYgb3JpZ2luL0hFQUQgLS10by1yZWYgSEVBRAoKCgo=","SourceName":"trufflehog - git","SourceID":1,"JobID":1,"SecretID":0,"SourceMetadata":{"Data":{"Git":{"commit":"8057b320e73f64dc597b250a4fa168a336758a35","file":"Task/Taskfile.yml","email":"Jon Zeolla <[email protected]>","repository":"[email protected]:Zenable-io/next-gen-governance.git","timestamp":"2024-10-10 18:17:37 +0000","line":90}}},"SourceType":16,"Verify":true}} | |
2024-10-10T21:33:24+03:00 info-4 trufflehog decoder not applicable for chunk {"scanner_worker_id": "6hwjL", "decoder": "UTF16", "chunk": {"Data":"CgoKICAgICAgIyBDb21wYXJlIG91ciBsb2NhbCBIRUFEIHRvIHRoZSBvcmlnaW4ncyBIRUFEIGNvbW1pdAogICAgICAtIHByZS1jb21taXQgcnVuIC0tYWxsLWZpbGVzIC0tZnJvbS1yZWYgb3JpZ2luL0hFQUQgLS10by1yZWYgSEVBRAoKCgo=","SourceName":"trufflehog - git","SourceID":1,"JobID":1,"SecretID":0,"SourceMetadata":{"Data":{"Git":{"commit":"8057b320e73f64dc597b250a4fa168a336758a35","file":"Task/Taskfile.yml","email":"Jon Zeolla <[email protected]>","repository":"[email protected]:Zenable-io/next-gen-governance.git","timestamp":"2024-10-10 18:17:37 +0000","line":90}}},"SourceType":16,"Verify":true}} | |
2024-10-10T21:33:24+03:00 info-4 trufflehog decoder not applicable for chunk {"scanner_worker_id": "6hwjL", "decoder": "ESCAPED_UNICODE", "chunk": {"Data":"CgoKICAgICAgIyBDb21wYXJlIG91ciBsb2NhbCBIRUFEIHRvIHRoZSBvcmlnaW4ncyBIRUFEIGNvbW1pdAogICAgICAtIHByZS1jb21taXQgcnVuIC0tYWxsLWZpbGVzIC0tZnJvbS1yZWYgb3JpZ2luL0hFQUQgLS10by1yZWYgSEVBRAoKCgo=","SourceName":"trufflehog - git","SourceID":1,"JobID":1,"SecretID":0,"SourceMetadata":{"Data":{"Git":{"commit":"8057b320e73f64dc597b250a4fa168a336758a35","file":"Task/Taskfile.yml","email":"Jon Zeolla <[email protected]>","repository":"[email protected]:Zenable-io/next-gen-governance.git","timestamp":"2024-10-10 18:17:37 +0000","line":90}}},"SourceType":16,"Verify":true}} | |
2024-10-10T21:33:24+03:00 info-1 trufflehog scanning staged changes {"source_manager_worker_id": "IdvGf", "unit": ".", "unit_kind": "dir", "path": ".", "base": "75ac8f7e50bc7e543381a36f12bc297fae1337b5"} | |
2024-10-10T21:33:24+03:00 info-2 trufflehog finished parsing git log. {"source_manager_worker_id": "IdvGf", "unit": ".", "unit_kind": "dir", "total_log_size": 0} | |
2024-10-10T21:33:24+03:00 info-1 trufflehog scanning git repo complete {"source_manager_worker_id": "IdvGf", "unit": ".", "unit_kind": "dir", "repo": "[email protected]:Zenable-io/next-gen-governance.git", "path": ".", "time_seconds": 0, "commits_scanned": 1} | |
2024-10-10T21:33:24+03:00 info-4 trufflehog finished scanning chunks {"scanner_worker_id": "6hwjL"} | |
2024-10-10T21:33:24+03:00 info-0 trufflehog finished scanning {"chunks": 2, "bytes": 223, "verified_secrets": 0, "unverified_secrets": 0, "scan_duration": "30.070708ms", "trufflehog_version": "3.82.7"} | |
2024/10/10 21:33:24 [updater parent] prog exited with 0 | |
$ trufflehog --debug git --since-commit=origin/maiawefawefn~5 file://. --trace | |
2024/10/10 21:31:57 [updater parent] run | |
2024/10/10 21:31:57 [updater parent] checking for updates... | |
2024/10/10 21:31:58 [updater parent] failed to get latest version: already up to date | |
2024/10/10 21:31:58 [updater parent] starting /opt/homebrew/bin/trufflehog | |
2024/10/10 21:31:58 [updater child#1] run | |
2024/10/10 21:31:58 [updater child#1] start program | |
2024-10-10T21:31:58+03:00 info-2 trufflehog trufflehog 3.82.7 | |
π·ππ· TruffleHog. Unearth your secrets. π·ππ· | |
2024-10-10T21:31:58+03:00 info-4 trufflehog default engine options set | |
2024-10-10T21:31:58+03:00 info-4 trufflehog engine initialized | |
2024-10-10T21:31:58+03:00 info-4 trufflehog setting up aho-corasick core | |
2024-10-10T21:31:58+03:00 info-4 trufflehog set up aho-corasick core | |
2024-10-10T21:31:58+03:00 info-2 trufflehog starting scanner workers {"count": 1} | |
2024-10-10T21:31:58+03:00 info-2 trufflehog starting detector workers {"count": 8} | |
2024-10-10T21:31:58+03:00 info-2 trufflehog starting verificationOverlap workers {"count": 1} | |
2024-10-10T21:31:58+03:00 info-2 trufflehog starting notifier workers {"count": 1} | |
2024-10-10T21:31:58+03:00 info-1 trufflehog cloned repo {"path": "."} | |
2024-10-10T21:31:58+03:00 info-0 trufflehog running source {"source_manager_worker_id": "TgLTi", "with_units": true} | |
2024-10-10T21:31:58+03:00 info-2 trufflehog enumerating source {"source_manager_worker_id": "TgLTi"} | |
2024-10-10T21:31:58+03:00 info-3 trufflehog chunking unit {"source_manager_worker_id": "TgLTi", "unit": ".", "unit_kind": "dir"} | |
2024-10-10T21:31:58+03:00 info-4 trufflehog finished scanning chunks {"scanner_worker_id": "jPrAJ"} | |
2024-10-10T21:31:58+03:00 info-0 trufflehog finished scanning {"chunks": 0, "bytes": 0, "verified_secrets": 0, "unverified_secrets": 0, "scan_duration": "10.526041ms", "trufflehog_version": "3.82.7"} | |
2024/10/10 21:31:58 [updater parent] prog exited with 0 | |
$ trufflehog git --since-commit=THISISINVALID file://. | |
π·ππ· TruffleHog. Unearth your secrets. π·ππ· | |
2024-10-10T21:34:54+03:00 info-0 trufflehog running source {"source_manager_worker_id": "G3quF", "with_units": true} | |
2024-10-10T21:34:54+03:00 info-0 trufflehog finished scanning {"chunks": 0, "bytes": 0, "verified_secrets": 0, "unverified_secrets": 0, "scan_duration": "9.881459ms", "trufflehog_version": "3.82.7"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment