You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Domain squatting "log" action behaves as "warn" (shows banner, records telemetry as warned) #161
In the domain squatting result handler in scripts/content.js, the configurable action enum (block | warn | log) is collapsed to block vs. everything-else. As a result, the log action is functionally identical to warn: it shows the orange warning banner and records every telemetry line as warned.
Affected code
scripts/content.js, domain squatting result handler (approximately lines 4130-4232):
There is no branch for log, so action: "log" falls through to the else if (showNotifications) branch and displays a banner, and all telemetry records "warned".
The detector side is correct and is not the problem. getActionForSeverity() in scripts/modules/domain-squatting-detector.js passes log through intact.
Reproduction
Set domainSquatting.Action to log.
Visit a combosquat host that matches a protected brand.
Observed: orange warning banner is shown and telemetry event has action: "warned".
changed the title [-]Domain squatting "log" action behaves as "warn" (shows banner, records telemetry as warned)[/-][+][Bug]: Domain squatting "log" action behaves as "warn" (shows banner, records telemetry as warned)[/+]on Jul 2, 2026
Activity
[-]Domain squatting "log" action behaves as "warn" (shows banner, records telemetry as warned)[/-][+][Bug]: Domain squatting "log" action behaves as "warn" (shows banner, records telemetry as warned)[/+]fix(content): treat domain squatting 'log' action as a distinct state
docs(domain-squatting): document the log detection action