Does It Quantum CLI

Get the CLI

Run the CLI from a checkout with the Bun version listed in the root package.json. The CLI is currently available from source.

git clone https://github.com/ThatGuySam/doesitquantum.git
cd doesitquantum
bun install --frozen-lockfile --ignore-scripts
bun run cli help
bun run cli show tool/openssl
bun run cli scan .

The setup step can fetch the locked YAML parser. CLI commands use the installed copy with automatic package installation disabled. There is no telemetry, update check, or catalog download. Browse the CLI source and README on GitHub.

What each command reads

Run each command with bun run cli.

  • help or --help prints built-in usage text.
  • show <ecosystem/id> reads the Markdown catalog and prints one entry with its evidence links. A bare ID also works.
  • list [status] reads the Markdown catalog and filters by the optional status.
  • validate checks the Markdown catalog's paths, schema, evidence fields, and provider relationships.
  • scan [dir] reads the Markdown catalog and looks for dependency declarations in the given directory or the current directory. It reads npm and Cargo manifests and lockfiles, Python requirements and pyproject files, Gemfiles, Go modules, Dockerfiles, and YAML image declarations. It skips symlinks, hidden directories, and common dependency and build directories. It examines up to 2,000 regular files under 5 MB and prints evidence links as text.
  • local reads the Markdown catalog and runs version commands for the installed tools with matching entries. It runs ssh -V, openssl version, node --version, go version, age --version, caddy version, and java -version. Go uses its installed toolchain with downloads disabled. Custom executables on PATH run with your permissions.

These commands work offline with standard installed tools. CI runs a Linux socket test that traces the CLI and its child processes with strace. It allows the operating system's local name-service cache lookup during local.

Commands that connect to a server

Only check systems you own or have permission to test.

  • host <name[:port]> connects to the named host over TCP, on port 443 by default. It sends a ClientHello offering hybrid TLS 1.3 groups. A retry asking for an offered group confirms the endpoint supports it. Alerts, malformed replies, and timeouts are inconclusive and return exit status 2.
  • ssh <name[:port]> connects to the named host over TCP, on port 22 by default. It reads the server's identification and advertised key exchange and host-key algorithms, then disconnects before negotiation or login.

The system resolver may look up the hostname for either command. The probes disconnect before server authentication and do not perform key exchange or verify signatures. Each result describes one endpoint at the time you checked.

Save to My stack

Stored only in this browser. We never receive your list. Anyone using this browser profile may be able to see it.