Understanding Orchestration
When you rundotset run, Dotset orchestrates all three security tools in a specific sequence to provide comprehensive protection.
The Workflow
Stage 1: Hardpoint Scan
Purpose: Detect threats before they can cause harm. When you rundotset run, Hardpoint scans your environment first:
What It Checks
- AI config files —
.cursorrules,CLAUDE.md,mcp.json - Shell configs —
.bashrc,.zshrcfor malicious aliases - Git hooks — Hidden backdoors in pre-commit, post-checkout
- Network exposure — Exposed localhost services
- Secrets — Hardcoded credentials
Failure Behavior
If critical issues are found,dotset run aborts:
Skipping the Scan
Stage 2: Deadfall Server
Purpose: Detect AI agent compromise via cognitive honeypots. Ifdeadfall.autoServe is enabled in your config, Dotset starts the Deadfall Honey-MCP server in the background:
How It Works
- Deadfall runs in the background — Listens for trap triggers
- AI reads trap files — During normal operation
- Alert triggered — If AI follows hidden instructions
Skipping Deadfall
Stage 3: Tollgate Proxy
Purpose: Control what the AI agent can do. Tollgate wraps your MCP server, intercepting every tool call:Risk Levels
| Level | Description | Examples |
|---|---|---|
safe | No risk | List tools, get metadata |
read | Read-only | Read files, query databases |
write | Modifications | Write files, update records |
destructive | Irreversible | Delete files, drop tables |
dangerous | System-level | Execute shell, network access |
Approval Options
y— Allow this calln— Deny this calla— Always allow (session grant)d— Always deny (session grant)
Signal Handling
Dotset handles shutdown gracefully:- Ctrl+C pressed — SIGINT received
- Tollgate stopped — Clean proxy shutdown
- Deadfall stopped — Background server terminated
- Summary printed — Final status report
Independence Note
Each tool operates independently. Dotset orchestrates them but does not provide deep integration between tools.This means:
- Hardpoint findings don’t automatically create Tollgate policies
- Deadfall alerts don’t automatically block Tollgate calls
- Each tool maintains its own state and logs
Configuration
Control orchestration behavior indotset.yaml:
Example Session
Complete example of a protected session:See Also
- dotset run — Command reference
- Architecture — Tool architecture
- Configuration — Full configuration reference