OS Manuals

/usr/bin/litmus

Open-source malware detection for the AI age

From litmus 1.2.1-r3 (os), captured 2026-11-05 by running litmus --help (exit 0). permalink

Malware classification powered by ML + static analysis

Usage: litmus [OPTIONS] [PATHS]... [COMMAND]

Commands:
  scan          Scan files or directories for hostile/suspicious content
  ps            Scan executables of all running processes
  update-rules  Update models (and optionally cleave traits)
  validate      Validate cleave traits, load the model, and ensure benign samples stay benign
  serve         Run as an HTTP classification server
  worker        Run as a pull-based worker, polling a hopper instance for analysis jobs
  version       Print version information
  help          Print this message or the help of the given subcommand(s)

Arguments:
  [PATHS]...
          Paths to files or directories to scan (shorthand for `litmus scan <paths...>`)

Options:
      --verbose
          Enable debug logging for litmus and cleave

  -u, --update
          Update models and traits before running (failures are non-fatal)

      --light
          Force light-background color theme

      --dark
          Force dark-background color theme

      --model-dir <MODEL_DIR>
          Override model directory (default: auto-resolved from models repo)

      --models-repo <MODELS_REPO>
          Override the models repository URL (env: LITMUS_MODELS_REPO)

      --models-ref <MODELS_REF>
          Override the models repository ref — branch or tag (env: LITMUS_MODELS_REF)

  -f, --format <FORMAT>
          Output format

          Possible values:
          - terminal: Human-readable terminal output
          - json:     Newline-delimited JSON, one object per file

          [default: terminal]

      --threshold-suspicious <THRESHOLD_SUSPICIOUS>
          Override suspicious threshold (0.0-1.0); omit to use model's recommendation

      --threshold-hostile <THRESHOLD_HOSTILE>
          Override hostile threshold (0.0-1.0); omit to use model's recommendation

  -1, --loose
          Use severity level 1: zero-FP targets; least noisy

  -2
          Use severity level 2

  -3
          Use severity level 3: default operating point

  -4
          Use severity level 4

  -5
          Use severity level 5

  -6
          Use severity level 6

  -7
          Use severity level 7

  -8
          Use severity level 8

  -9, --paranoid
          Use severity level 9: most sensitive

      --show <SHOW>
          Classifications to display: hostile, suspicious, sus, benign, all (comma-separated)

          [default: hostile sus]
          [possible values: hostile, sus, benign, all]

      --slow-rule-ms <SLOW_RULE_MS>
          Warn when a single rule takes longer than this many milliseconds

          [default: 4000]

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version
Options (23)
OptionDescriptionSource
--verboseEnable debug logging for litmus and cleavehelp
-u, --updateUpdate models and traits before running (failures are non-fatal)help
--lightForce light-background color themehelp
--darkForce dark-background color themehelp
--model-dir MODEL_DIROverride model directory (default: auto-resolved from models repo)help
--models-repo MODELS_REPOOverride the models repository URL (env: LITMUS_MODELS_REPO)help
--models-ref MODELS_REFOverride the models repository ref — branch or tag (env: LITMUS_MODELS_REF)help
-f, --format FORMATOutput formathelp
--threshold-suspicious THRESHOLD_SUSPICIOUSOverride suspicious threshold (0.0-1.0);help
--threshold-hostile THRESHOLD_HOSTILEOverride hostile threshold (0.0-1.0);help
-1, --looseUse severity level 1: zero-FP targets;help
-2Use severity level 2help
-3Use severity level 3: default operating pointhelp
-4Use severity level 4help
-5Use severity level 5help
-6Use severity level 6help
-7Use severity level 7help
-8Use severity level 8help
-9, --paranoidUse severity level 9: most sensitivehelp
--show SHOWClassifications to display: hostile, suspicious, sus, benign, all (comma-separated)help
--slow-rule-ms SLOW_RULE_MSWarn when a single rule takes longer than this many millisecondshelp
-h, --helpPrint help (see a summary with '-h')help
-V, --versionPrint versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.