Skip to content

feat: expand security checks with 9 new detections (#81) - #87

Merged
reloadfast merged 1 commit into
mainfrom
feat/security-checks-81
Mar 1, 2026
Merged

reloadfast merged 1 commit into
mainfrom
feat/security-checks-81

Conversation

@reloadfast

Copy link
Copy Markdown
Owner

Closes #81

Changes

New check functions in checks.py

Check Port Protocol Severity
check_snmp_exposed 161 udp high
check_redis_exposed 6379 tcp critical
check_docker_daemon_tcp 2375 tcp critical
check_docker_daemon_tls 2376 tcp high
check_elasticsearch_open 9200 tcp high
check_portainer_exposed 9000/9443 tcp medium
check_home_assistant_exposed 8123 tcp medium
check_tftp_open 69 udp medium
check_wireguard_vpn 51820 udp low

All checks added to ALL_CHECKS list.

Recommendation catalogue

Added 9 new entries to _CATALOGUE in recommendations/__init__.py with actionable remediation steps.

Tests

14 new unit tests in test_analysis.py — all 53 tests pass.

Add checks for:
- SNMP exposed (161/udp, high)
- Redis exposed (6379/tcp, critical)
- Docker daemon TCP (2375/tcp, critical)
- Docker daemon TLS (2376/tcp, high)
- Elasticsearch open (9200/tcp, high)
- Portainer exposed (9000/9443/tcp, medium)
- Home Assistant exposed (8123/tcp, medium)
- TFTP open (69/udp, medium)
- WireGuard VPN (51820/udp, low/informational)

Add recommendation catalogue entries for all 9 new checks.
Add 14 unit tests covering all new check functions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@reloadfast
reloadfast merged commit 8d73a77 into main Mar 1, 2026
7 checks passed
@reloadfast
reloadfast deleted the feat/security-checks-81 branch March 1, 2026 12:14
@reloadfast
reloadfast restored the feat/security-checks-81 branch March 26, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expand security checks: SNMP, Redis, Docker daemon, Elasticsearch, Portainer, Home Assistant, TFTP

1 participant