Skip to main content

Hardpoint CLI

Hardpoint is a security scanner for developer environments in the AI era. It detects threats that traditional security tools miss.

Installation

go install github.com/dotsetlabs/hardpoint/cmd/hardpoint@latest

Commands

CommandDescription
scanRun security scans on your environment
fixAuto-fix certain security findings
baselineManage suppression baselines (list, add, prune)
versionPrint version information

Global Flags

FlagDescription
--configConfig file path (default: $HOME/.hardpoint.yaml)
-o, --outputOutput format: terminal, json, sarif
-v, --verboseEnable verbose output
-q, --quietOnly output findings
--no-colorDisable colored output

Quick Start

# Run all scanners
hardpoint scan

# Run specific scanner
hardpoint scan ai

# Output as JSON
hardpoint scan --output json

# Show only high severity findings
hardpoint scan --severity high

Exit Codes

CodeMeaning
0No critical findings
1Critical findings detected