Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/DevDonzo/warden/llms.txt

Use this file to discover all available pages before exploring further.

Warden is invoked through the warden binary, which is installed globally as part of the @devdonzo/warden npm package. Every workflow — scanning repositories, running dynamic tests, managing baselines, and configuring the agent — flows through this single entry point.

Installation

npm install -g @devdonzo/warden
Once installed, verify your setup with:
warden --version
warden doctor

Usage

warden [command] [arguments] [options]
Running warden with no command launches the local GUI console at http://127.0.0.1:8787.

Getting help

warden --help
warden <command> --help

All commands

CommandDescription
scanScan a repository for security vulnerabilities and optionally apply AI-guided fixes
dastRun a Dynamic Application Security Testing scan against a configured target
baselineCreate or enforce a committed security baseline for regression detection
configCreate, show, or validate the .wardenrc.json configuration file
bootstrap-ciGenerate a GitHub Actions workflow file for CI-based scanning
console (alias: ui)Open the Warden local GUI console in your browser
validateCheck that the environment and dependencies are ready without running a scan
setupRun the interactive first-time setup wizard
initInitialize Warden in the current repository
statusShow recent scan history and environment token status
cleanRemove generated files such as scan-results/ and logs/
doctorDiagnose common issues with Node.js, Git, npm, Snyk, and environment tokens

Global flags

These flags are supported by multiple commands:
FlagDescription
-v, --verboseEnable verbose debug logging
-q, --quietSuppress non-essential output (banner, section headers)
The --json flag is available on scan and baseline to emit machine-readable output to stdout. When --json is active, quiet mode is enabled automatically so log lines do not pollute the JSON stream.

Command pages

scan

Scan a repository for vulnerabilities and apply AI-guided fixes

dast

Dynamic Application Security Testing against live targets

baseline

Create and enforce committed security baselines in CI

config

Manage the .wardenrc.json configuration file

bootstrap-ci

Generate a GitHub Actions workflow for automated scanning

console / ui

Launch the local browser-based GUI dashboard

validate

Validate environment and dependencies without scanning

status

View recent scan history and environment readiness

doctor

Diagnose issues and get suggestions for fixes

Build docs developers (and LLMs) love