Hawkeye scanner-cli 07-25-2019, 07:44 PM
#1
![[Image: FCXbs3g.png]](https://i.imgur.com/FCXbs3g.png)
Modules
Modules are basically little bits of code that either implement their own logic, or wrap a third party tool and standardise the output. They only run if the required criteria are met. For example: The
Code:
npm outdatedmodule would only run if a
Code:
package.jsonis detected in the scan target - as a result, you don't need to tell Hawkeye what type of project you are scanning.
Generic Modules
- files-ccnumber: Scans for suspicious file contents that are likely to contain credit card numbers
- files-contents: Scans for suspicious file contents that are likely to contain secrets
- files-entropy: Scans files for strings with high entropy that are likely to contain passwords. Entropy scanning is disabled by default because of the high number of false positives. It is useful to scan codebases every now and then for keys, in which case please run it please using the
-m files-entropy
- switch.
- files-secrets: Scans for suspicious filenames that are likely to contain secrets
- node-npmaudit: Checks node projects for dependencies with known vulnerabilities with npm audit
- node-npmoutdated: Checks node projects for outdated npm modules with npm outdated
- node-yarnaudit: Checks yarn projects for dependencies with known vulnerabilities with yarn audit
- node-yarnoutdated: Checks node projects for outdated yarn modules with yarn outdated
- php-security-checker: Checks whether the composer.lock contains dependencies with known vulnerabilities using security-checker
- python-bandit: Scans for common security issues in Python code with bandit.
- python-piprot: Scans python dependencies for out of date packages with piprot
- python-safety: Checks python dependencies for known security vulnerabilities with the safety tool.
- ruby-brakeman: Statically analyzes Rails code for security issues with Brakeman.
- ruby-bundler-scan: Scan for Ruby gems with known vulnerabilities using bundler
![[Image: Vs4P58c.png]](https://i.imgur.com/Vs4P58c.png)




![[Image: zTCu1uQ.png]](https://i.imgur.com/zTCu1uQ.png)
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)