Skip to content

v0.4.10: severity follows reachability for a gained port too - #8

Merged
deva0x merged 1 commit into
mainfrom
fix/v0.4.10-gained-port-locality
Jul 27, 2026
Merged

v0.4.10: severity follows reachability for a gained port too#8
deva0x merged 1 commit into
mainfrom
fix/v0.4.10-gained-port-locality

Conversation

@deva0x

@deva0x deva0x commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Found by reading the trial machine's own digest minutes after 0.4.9 shipped.

v0.4.8 taught the tool that a loopback-only binding is a different claim from *:4444 — but wired that rule into the added path only. An ssh local port-forward therefore reported as listener ssh now ALSO on port(s) 127.0.0.1:8080 at ORANGE, above the notify threshold, while the identical binding on a brand new process was YELLOW. Same binding, same reachability, two answers depending on whether the process happened to be in the baseline already.

Now: a gained port that is loopback-only is YELLOW; one public port among loopback ones keeps the finding ORANGE; a bare port from a pre-0.4.8 snapshot remains unknown and therefore loud.

Four mutations run against the new tests — reverting the fix, swapping all for any, and two that make an unknown binding count as local — all four fail the suite.

Suite 692 → 696.

🤖 Generated with Claude Code

…new one

v0.4.8 taught the tool that a loopback-only binding is a different claim from
`*:4444`, but wired that rule into the `added` path only. So an ssh local
port-forward reported as `listener ssh now ALSO on port(s) 127.0.0.1:8080` at
ORANGE — above the notify threshold — while the identical binding on a brand
new process was YELLOW. Same binding, same reachability, two different answers
depending on whether the process was already in the baseline.

A gained port that is loopback-only is now YELLOW; one public port among
loopback ones keeps the whole finding ORANGE; a bare port from a pre-0.4.8
snapshot is still unknown, therefore loud. Four mutations caught.

Suite 692 -> 696.

Co-Authored-By: Claude <noreply@anthropic.com>
@deva0x
deva0x merged commit 7ea758b into main Jul 27, 2026
6 checks passed
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.

1 participant