Analyzer::Clojure::Cli
Inherits CliEndpointSupport < Analyzer < FileHelper < Reference < Object
Surfaces the command-line attack surface of Clojure programs as cli://
endpoints: clojure.tools.cli option specs, cli-matic config,
babashka.cli spec/dispatch tables, environ.core env lookups, and
command-line-args / (System/getenv). Line-scan, merged by URL.
Constants
Whole :cmds [...] vector (may hold several segments, e.g. ["docker" "start"]).
env bound bare from environ.core: (:require [environ.core :refer [env]]).
Never trust an alias (:as environ) or an unrelated local/param named env.
NOTE: environ.core is intentionally absent here. It's a generic
12-factor config-reading library used by web apps/workers/services just
as much as CLIs (same category as bare System/getenv, below) — it must
never gate CLI detection on its own. It only annotates params on a
cli:// endpoint some OTHER marker below already established.
Class methods
Instance methods
Instance-side view of the same declaration. The per-file rescues live on
this base class, which has no way to name the analyzer that is running
inside them, so a skipped file could not be attributed to a tech.
Deriving it from analyzer_for keeps the name written exactly once.