Command line
The kytheos command runs the same engines as the API on your own computer. It sends DNS over
HTTPS queries and web requests from your machine, and the offline checks (prompt check and MCP
check) send nothing at all.
Install
Section titled “Install”brew install kytheos/tap/kytheos # macOS and Linuxcurl -fsSL https://kytheos.com/install.sh | sh # macOS and Linuxirm https://kytheos.com/install.ps1 | iex # Windows PowerShellkytheos --versionEvery release has a SHA-256 checksum, a Sigstore signature, GitHub build provenance and a CycloneDX
SBOM; the install scripts check the checksum and verify the signature when cosign or the GitHub
CLI is installed. The source is open (Apache-2.0) at
github.com/kytheos/kytheos; build it with Rust 1.85 or newer
using cargo build --release -p kytheos-cli.
Commands
Section titled “Commands”| Command | What it does |
|---|---|
kytheos domain-check <domain> |
Grade the email, DNS and web security of a domain |
kytheos lookalike <domain> |
Find registered lookalikes of a domain |
kytheos guardian link <url> |
Check one link for scam signs |
kytheos guardian message <file> |
Check a message and every link in it |
kytheos prompt-check <file> |
Check a system prompt for weaknesses, offline |
kytheos mcp-check <file> |
Scan an MCP config or tool list, offline |
kytheos agent-check [paths] |
Check Ai agent files and settings in a folder, offline |
kytheos email-header-check <file> |
Check raw email headers for spoofing, offline |
kytheos jwt-check - |
Check a JSON web token from standard input, offline |
kytheos mcp |
Run a local MCP server that gives Ai assistants these checks |
Where a command takes a file, use - to read standard input. The full list of options is in the
command reference.
Examples
Section titled “Examples”kytheos domain-check example.comkytheos domain-check example.com --jsonkytheos lookalike example.com --max-lookups 200kytheos guardian message sms.txtcat system-prompt.txt | kytheos prompt-check -kytheos mcp-check ~/.cursor/mcp.json --jsonWithout --json you get a readable report. With --json you get the same JSON the
API returns for the check, except that lookalike returns the whole scan at once rather
than one page.
Exit codes
Section titled “Exit codes”| Code | Meaning |
|---|---|
0 |
The check ran, and nothing was at or above the --fail-on level (or --fail-on was not given). |
1 |
A finding was at or above the --fail-on level. |
2 |
The input was not accepted: an unreadable file, an empty input, or a value that is not a valid domain or link. |
3 |
Internal error, for example the HTTP client could not start. |
Flags for every command
Section titled “Flags for every command”| Flag | Effect |
|---|---|
--json |
The full result as JSON |
--sarif |
SARIF 2.1.0 for GitHub code scanning (prompt-check and mcp-check) |
--fail-on <severity> |
Exit with code 1 when a finding is at least info, low, medium, high or critical. Checks that could not complete never count |
--no-color |
Plain text (also when NO_COLOR is set or output is not a terminal) |
Without --fail-on, findings never change the exit code. A null grade in --json output means
some checks could not be completed.
Privacy
Section titled “Privacy”Nothing you check is sent to Kytheos. The command contacts public DNS (Cloudflare 1.1.1.1 over HTTPS) and, for the domain check, the home page and MTA-STS policy of the domain. Guardian also contacts the domain registry directory and link shorteners, and never opens the destination site. The prompt, MCP, agent setup, email header and JWT checks read your input and print a result without any network call.