Skip to content
Scout 0.3.0: new checks for reachable Go CVEs, IDOR, version disclosure, directory listing, SRI and mixed content.See the catalog

Scan a repo (source)

A source scan points Scout at a local repository with --repo. It reads the files on disk — no running app required — to find problems you want caught before deploy.

Terminal window
scout scan --repo .

Point it anywhere:

Terminal window
scout scan --repo /path/to/project
Check Catches
code.secrets Hard-coded API keys, tokens and passwords committed to the repo
code.dockerfile Root user, unpinned base images, secrets baked into ENV
code.weak-crypto MD5 / SHA-1 / DES / RC4 used for security
code.insecure-random math/rand / Math.random() used for tokens
code.dangerous-sink eval, child_process, exec.Command, dangerouslySetInnerHTML, unsafe deserialization
code.secret-logging Passwords / tokens written to logs
code.unpinned-deps Loose version ranges (^, ~, *, latest) in package.json
code.go-vulncheck Known, reachable CVEs in Go dependencies (via govulncheck)

code.go-vulncheck runs govulncheck over your module and grades by reachability:

  • High / Confirmed when a vulnerable function is actually called.
  • Medium / Likely when the package is imported but the function is not reached.

It degrades gracefully: if the target is not a Go module, or govulncheck is not installed, or the module cannot be analyzed, the check reports nothing rather than failing the scan.

Run both against the same project in one scan — the source checks use --repo, the live checks use --target:

Terminal window
scout scan --target http://localhost:3000 --repo . --mode active --env dev