Skip to content

feat: compound misconfiguration pattern checks (#89) - #98

Merged
reloadfast merged 1 commit into
mainfrom
feat/compound-checks-89
Mar 1, 2026
Merged

reloadfast merged 1 commit into
mainfrom
feat/compound-checks-89

Conversation

@reloadfast

Copy link
Copy Markdown
Owner

Closes #89

New checks

check_id Severity Trigger
multiple_admin_panels medium ≥3 management/admin ports open
database_and_web_exposed high DB port (MySQL/Postgres/Redis/Mongo…) + plain HTTP open together
cleartext_credential_surface high Telnet + FTP + HTTP all open simultaneously
remote_access_no_encryption high RDP or VNC open with no SSH/HTTPS/TLS detected
ssh_and_telnet_both_open medium Both SSH and Telnet open (Telnet never disabled)

All checks use the same pure-function pattern as existing checks. 5 catalogue entries added. 14 unit tests added (241 total pass).

Add 5 pattern-based checks that detect dangerous combinations:

- multiple_admin_panels (medium): 3+ management ports open simultaneously
- database_and_web_exposed (high): DB port open alongside plain HTTP
- cleartext_credential_surface (high): Telnet + FTP + HTTP all open
- remote_access_no_encryption (high): RDP/VNC with no TLS service detected
- ssh_and_telnet_both_open (medium): Telnet still running alongside SSH

Add recommendation catalogue entries for all 5 check_ids.
Add 14 unit tests (all 241 pass).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@reloadfast
reloadfast merged commit 08811a3 into main Mar 1, 2026
7 checks passed
@reloadfast
reloadfast deleted the feat/compound-checks-89 branch March 1, 2026 18:39
@reloadfast
reloadfast restored the feat/compound-checks-89 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.

feat: Compound misconfiguration pattern detection

1 participant