Commit b43450c
committed
fix(ports): silence bandit B104 false-positive on parser wildcard match
`ss -tulnpH` reports wildcard-bind addresses as either "*" or
"0.0.0.0"; the parser checks for those strings and normalises them
to None so PortOwner.address stays informational-only. We're matching
parser output, not binding a socket — but bandit's B104 check fires
on the string literal and CI's `bandit -r src/shimkit -ll` is
fail-on-medium+. # nosec with a reason at the site.1 parent 6cf38f4 commit b43450c
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
178 | 180 | | |
179 | 181 | | |
180 | 182 | | |
| |||
0 commit comments