| Version | Supported |
|---|---|
0.2.x (main, current v0.2.4) |
✅ |
- Non-Root Containers:
nxtflow-enricherruns as UID/GID100:65533(flow:nogroup, matching upstreamnetsampler/goflow2:v2.2.7), andnxtflow-mcpruns as UID/GID65532:65532withallowPrivilegeEscalation: false. - Query Injection Prevention: All user-supplied
site,dir,search, andhostinputs innxtflowCLI,nxtflow-ui, andnxtflow-mcppass through strict validators and backend-specific escaping (validate_range(),validate_dir(),escape_logql_label(),sanitize_logql_regex(), LogsQL quoting, and ClickHouse parameterized escaping). - Bounded Memory & Query Cardinality: Enricher queues use bounded ring buffers (
ringBufferMaxFlows), rDNS uses a bounded LRU+TTL cache (maxEntries), Loki streams use strictly bounded labels ({job, site, dir}), and ephemeral ports (>=10000) are filtered fromtop-portsaggregations to prevent 5000-series exhaustion. - Secret Isolation: Storage backend (VictoriaLogs, Loki, ClickHouse) and NetBox credentials are injected via Kubernetes
Secretenvironment variables (NXTFLOW_LOKI_*,NXTFLOW_CLICKHOUSE_*,NXTFLOW_NETBOX_TOKEN) andsecret-grafana-datasources.yaml, never rendered into ConfigMaps, and redacted bynxtflow config. - Automated Security & Static Analysis: Every PR and push runs GitHub CodeQL static analysis (
codeql.ymlacross Python and GitHub Actions),scripts/security_audit.py(scanning source, chart, SVG, workflow, and documentation files for exposed credentials, private keys, and syntax errors), Ruff linting, and Helm schema validation. GitHub Dependabot vulnerability & malware alerts, Secret Scanning, and Push Protection are enabled on the repository.
Please do not open a public GitHub issue for sensitive security vulnerabilities.
Instead, report vulnerabilities via:
- GitHub Private Vulnerability Reporting: Open a security advisory on
nertwork/nxtflow - Email:
james@nertwork.com
We will acknowledge receipt within 48 hours and coordinate a fix and disclosure timeline.