Skip to content

armgit / strix

Public Imported from GitHub
0

Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.

docs(cli): document exit code 1 and clarify exit 0 semantics

dvir arad57304b008427
diff --git a/docs/usage/cli.mdx b/docs/usage/cli.mdx
index 68f7d5ed..3b10f9de 100644
--- a/docs/usage/cli.mdx
+++ b/docs/usage/cli.mdx
@@ -116,5 +116,6 @@ strix --mount ./huge-monorepo
| Code | Meaning |
|------|---------|
-| 0 | Scan completed, no vulnerabilities found |
+| 0 | Scan completed successfully (interactive mode always exits `0`; in headless mode, `0` means no vulnerabilities were found) |
+| 1 | A fatal error occurred before or during the scan (e.g. missing environment variables, Docker unavailable, invalid config file, diff-scope resolution failure, or an unhandled error) |
| 2 | Vulnerabilities found (headless mode only) |