feat: SSRF protection via NEXUS_ALLOWED_HOSTS, _env_int validation warnings
This commit is contained in:
@@ -94,6 +94,7 @@ All via environment variables, defined in `config.py`. Key ones:
|
||||
| Variable | Default | Notes |
|
||||
|----------|---------|-------|
|
||||
| `NEXUS_URL` | `http://localhost:8081` | |
|
||||
| `NEXUS_ALLOWED_HOSTS` | host from `NEXUS_URL` | comma-separated, SSRF protection |
|
||||
| `WEBHOOK_SECRET` | `""` | HMAC-SHA256 validation |
|
||||
| `MAX_CONCURRENT_SCANS` | `4` | asyncio.Semaphore for guarddog processes |
|
||||
| `LLM_ENABLED` | `0` | `1` to enable analysis |
|
||||
|
||||
Reference in New Issue
Block a user