Development record
A login in a URL's userinfo is never reported as local_username, for any login. localSuppressionSpans (internal/adapter/scanner/identity.go) suppresses the username matcher inside every URL span, so https://LOGIN@host/ and https://LOGIN:PASSWORD@host/ pass the scanner with the caller's login intact; the userinfo is the one part of a URL that names an account rather than a resource, and a clone URL or a proxy setting quoted in a transcript carries it. Pre-existing: the suppression predates the scanner-cluster lane, whose review found it (item 6).
issueresolvedminoriss-2609251549447970
A login in a URL's userinfo is never reported as local_username, for any login. localSuppressionSpans (internal/adapter/scanner/identity.go) suppresses the username matcher inside every URL span, so https://LOGIN@host/ and https://LOGIN:PASSWORD@host/ pass the scanner with the caller's login intact; the userinfo is the one part of a URL that names an account rather than a resource, and a clone URL or a proxy setting quoted in a transcript carries it. Pre-existing: the suppression predates the scanner-cluster lane, whose review found it (item 6).
Grounds
- pursued: a login in a URL's userinfo is reported as local_username while the rest of the URL stays suppressed; a scheme://LOGIN@host URL passing ScanText with no finding, or a URL path segment being flagged, would show it wrong.
Frontmatter
| id | iss-2609251549447970 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2609251549447970-a-login-in-a-url-s-userinfo-is-never.md
open on GitHub ↗ · commit history ↗