dumpsterdiver
DumpsterDiver is a tool, which can analyze big volumes of data in search of hardcoded secrets like keys (e.g. AWS Access Key, Azure Share Key or SSH keys) or passwords. Additionally, it allows creating a simple search rules with basic conditions (e.g. report only csv files including at least 10 email addresses). The main idea of this tool is to detect any potential secret leaks.
Name:dumpsterdiver
Category:Static Code Analysis
Publisher:trickest
Created:6/23/2021
Container:
quay.io/trickest/dumpsterdiver:a54c190
Output Type:
License:Unknown
Source:View Source
Parameters
-r
When this flag is set, then files which don't contain any secret (or anything interesting if -a flag is set) will be removed.-s
When this flag is set, then all files will be additionally analyzed in search of hardcoded passwords.--grep-words
Specifies the grep words to look for. Multiple words should be separated by space. Wildcards are supported. Requires adding -a flag to the syntax.--level
Search level for key length. Options: --level 0 - short keys (20-40B), e.g. AWS Access Key ID. --level 1 (default) - typical keys (40-70B), e.g. AWS Secret Access Key or Azure Shared Key. --level 2 - long keys (1000-1800B), e.g. SSH private key. --level 3 - any key (20-1800B). Be careful with this setting, because it may generate lots of false positives.-p
Path to the folder containing files to be analyzed--max-key
Specifies the maximum key length to be analyzed (default is 80).--min-key
Specifies the minimum key length to be analyzed (default is 20).--bad-expressions
Specifies bad expressions. If the DumpsterDiver find such expression in a file, then this file won't be analyzed. Multiple bad expressions should be separated by space.--exclude-files
Specifies file names or extensions which shouldn't be analyzed. File extension should contain . character (e.g. .pdf). Multiple file names and extensions should be separated by space.-a
when this flag is set, then all files will be additionally analyzed using rules specified in rules.yaml file.--max-pass
Specifies the maximum password length to be analyzed (default is 12). Requires adding -s flag to the syntax.--min-pass
Specifies the minimum password length to be analyzed (default is 8). Requires adding -s flag to the syntax.--pass-complex
Specifies the edge of password complexity between 1 (trivial passwords) to 9 (very complex passwords) (default is 8). Requires adding -s flag to the syntax.--entropy
Specifies the edge of high entropy (default is 4.3).