Commands
All commands are available via npx pwnkit-cli <command>. You can also skip the subcommand and let auto-detect figure it out (see Getting Started).
Probe LLM endpoints or web apps for vulnerabilities.
# Scan an LLM endpointnpx pwnkit-cli scan --target https://api.example.com/chat
# Scan a traditional web appnpx pwnkit-cli scan --target https://example.com --mode web
# Deep scan with Claude Code CLInpx pwnkit-cli scan --target https://api.example.com/chat --depth deep --runtime claudeKey flags:
| Flag | Description | Default |
|---|---|---|
--target <url> | The URL to scan | (required) |
--mode <mode> | Scan mode: llm or web | llm |
--depth <depth> | Scan depth: quick, default, deep | default |
--runtime <rt> | Runtime: api, claude, codex, gemini, auto | api |
--verbose | Show animated attack replay | false |
Install and security-audit any npm package with static analysis and AI review.
npx pwnkit-cli audit express@4.18.2npx pwnkit-cli audit react --depth deep --runtime claudeThe package is installed in a sandbox, scanned with semgrep, and then reviewed by an AI agent that traces data flow and looks for supply-chain vulnerabilities.
Key flags:
| Flag | Description | Default |
|---|---|---|
<package> | Package name (with optional version) | (required) |
--depth | Scan depth: quick, default, deep | default |
--runtime | Runtime to use | api |
review
Section titled “review”Deep source code security review of a local repo or GitHub URL.
# Review a local directorynpx pwnkit-cli review ./my-ai-app
# Review a GitHub repo (cloned automatically)npx pwnkit-cli review https://github.com/user/repo
# Diff-aware review against a base branchnpx pwnkit-cli review ./my-repo --diff-base origin/main --changed-onlyKey flags:
| Flag | Description | Default |
|---|---|---|
<path-or-url> | Local path or GitHub URL | (required) |
--depth | Scan depth | default |
--runtime | Runtime to use | api |
--diff-base <ref> | Base branch for diff-aware review | (none) |
--changed-only | Only review changed files | false |
resume
Section titled “resume”Resume a persisted review or audit scan by its scan ID.
npx pwnkit-cli resume <scan-id>Useful when a long-running deep scan was interrupted or when you want to continue where a previous run left off.
dashboard
Section titled “dashboard”Open the local verification workbench for board-based triage, evidence review, and scan provenance.
npx pwnkit-cli dashboardnpx pwnkit-cli dashboard --port 48123The dashboard provides a Kanban-style board for triaging findings, reviewing evidence, and tracking active scans. It runs entirely locally.
Key flags:
| Flag | Description | Default |
|---|---|---|
--port <port> | Port to serve the dashboard on | 48120 |
history
Section titled “history”Browse past scans with status, depth, findings count, and duration.
npx pwnkit-cli historynpx pwnkit-cli history --limit 20Key flags:
| Flag | Description | Default |
|---|---|---|
--limit <n> | Number of scans to show | 10 |
findings
Section titled “findings”Query, filter, and inspect verified findings across all scans. Findings are persisted in a local SQLite database.
# List all findingsnpx pwnkit-cli findings list
# Filter by severitynpx pwnkit-cli findings list --severity critical
# Filter by category and statusnpx pwnkit-cli findings list --category prompt-injection --status confirmed
# Inspect a specific finding with full evidencenpx pwnkit-cli findings show NF-001
# Triage findingsnpx pwnkit-cli findings accept <finding-id> --note "confirmed and tracked"npx pwnkit-cli findings suppress <finding-id> --note "known test fixture"npx pwnkit-cli findings reopen <finding-id>Finding lifecycle: discovered -> verified -> confirmed -> scored -> reported (or false-positive if verification fails).
Subcommands:
| Subcommand | Description |
|---|---|
list | List findings with optional filters |
show <id> | Show a finding with full evidence |
accept <id> | Accept a finding as confirmed |
suppress <id> | Suppress a finding (known false positive or accepted risk) |
reopen <id> | Reopen a previously suppressed finding |