mix safe (mix_safe v1.1.0)

Copy Markdown View Source

Runs SAFE security vulnerability scans on your Elixir/Mix project.

Usage

mix safe <subcommand> [options]

Subcommands

  • fingerprint — run the SAFE fingerprint phase
  • analyse — run the SAFE analysis phase
  • sca — scan dependencies for known vulnerabilities (Supply Chain Analysis)
  • download — download the SAFE binary only
  • version — print plugin and binary versions
  • help — print this help

Examples

mix safe fingerprint
mix safe analyse
mix safe sca
mix safe sca --lock-file /path/to/mix.lock
mix safe sca --advisories ./my-advisories/
mix safe sca --warnings-as-errors
mix safe download
mix safe version

Debug logging

Detailed debug output is written to _build/safe/safe.log. The terminal shows only info-level messages.