# .env.example — Environment variable template for NOX Security Framework # # Copy this file to .env and populate the values for your environment: # cp .env.example .env # # .env is listed in .gitignore and must never be committed to version control. # All NOX_* variables override the corresponding fields in configs/nox.yaml. # Variable naming convention: NOX_
_ (uppercase, underscores). # ── External API Credentials ─────────────────────────────────────────────────── # Shodan REST API key — enables shodan-domain and shodan-ip modules. # Obtain at: https://account.shodan.io/ NOX_SHODAN_API_KEY=your-shodan-api-key-here # Interactsh authentication token — required for private/self-hosted servers. # The public projectdiscovery server (https://oast.pro) works without a token. # Self-host: https://github.com/projectdiscovery/interactsh NOX_INTERACTSH_TOKEN=your-interactsh-token-here # GitHub personal access token — enables github-analysis module. # Scopes required: public_repo (for public repositories only). # Create at: https://github.com/settings/tokens NOX_GITHUB_TOKEN=your-github-token-here # ── Notification Webhooks ────────────────────────────────────────────────────── # Slack incoming webhook URL — enables Slack notifications for new findings. # Create at: https://api.slack.com/messaging/webhooks NOX_NOTIFY_SLACK_WEBHOOK=https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX # Discord incoming webhook URL — enables Discord notifications for new findings. # Create at: Discord server settings > Integrations > Webhooks NOX_NOTIFY_DISCORD_WEBHOOK=https://discord.com/api/webhooks/000000000000000000/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX # ── Storage ──────────────────────────────────────────────────────────────────── # Path to the SQLite or Bolt database file used to persist scan data. # Defaults to ./nox.db in the working directory when not set. NOX_STORAGE_PATH=./nox.db # ── Scan Defaults ────────────────────────────────────────────────────────────── # These override the defaults in configs/nox.yaml but are themselves overridden # by flags passed directly on the command line. # Scan mode: passive | active | aggressive # NOX_SCAN_MODE=passive # Number of concurrent module goroutines. # NOX_SCAN_THREADS=10 # Per-module timeout (Go duration string). # NOX_SCAN_TIMEOUT=30s # Global HTTP/network requests-per-second limit. # NOX_SCAN_RATE_LIMIT=100 # ── Output ───────────────────────────────────────────────────────────────────── # Directory where scan reports and raw output are written. # NOX_OUTPUT_DIR=./output # Report format: json | html | markdown # NOX_OUTPUT_FORMAT=json # ── Logging ──────────────────────────────────────────────────────────────────── # Minimum log level: debug | info | warn | error # NOX_LOGGING_LEVEL=info # Log format: text | json # NOX_LOGGING_FORMAT=text