Skip to content

Instantly share code, notes, and snippets.

@hectorddmx
Created December 3, 2025 20:36
Show Gist options
  • Select an option

  • Save hectorddmx/6926cf665d9090f659900369b2d20bf2 to your computer and use it in GitHub Desktop.

Select an option

Save hectorddmx/6926cf665d9090f659900369b2d20bf2 to your computer and use it in GitHub Desktop.
macOS example on how to install and run some OSS / paid SAST or dependency / code security analysis based on a path
cd <INSERT HERE PATH FOR YOUR REPO HERE>
brew install dependency-check grype osv-scanner semgrep snyk-cli trivy mise
mise trust
mise use node@lts
npm i
npm audit
snyk auth
semgrep login
trivy fs --scanners vuln,secret,misconfig,license $PWD
dependency-check --project "av" --scan $PWD
grype $PWD
osv-scanner scan source $PWD
semgrep --config=auto $PWD
snyk code test $PWD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment