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
integrity/brand-impersonation: cue-bearing decoy controls spend the page window budget, and a control without a cue word is served last #1459
Found in the review of #1455. The page has 20,000 attribute windows to spend (half in order, half shared), and about 8 MB of cue-bearing decoy controls, under the 10 MB document cap, spend all of it. The control is then counted in controlsUnread and the info note is emitted, so nothing is silent, but a real control later in the page is not read past its first window.
A control whose attribute text has no sign-in or brand word as written (an obfuscated spelling the raw test misses) is served after the cue-bearing decoys, so the same decoys starve it first.
Acceptance Criteria
Every control keeps a floor of one or two windows past its first, outside the page budget, so no number of earlier controls can leave a later one with only its first window
A control whose raw text has no cue word is not served behind all cue-bearing controls: it gets the floor and a share of the budget
The floor is bounded (a page of 100,000 tiny controls costs no more than today)
A test with about 8 MB of cue-bearing decoys before a real padded control finds the real control, and another with an obfuscated real control after the decoys does too
Shipped in v0.0.154 (983a006e, fa89ef49) and checked against main at v0.0.158: every acceptance criterion is met. Every control keeps a floor of 2 windows outside the page budgets, controls with no cue word as written are served first, and the floor is bounded (100,000 tiny controls before a real padded control: found in about 0.6 s). About 8.5 MB of cue-bearing decoys before, after or on both sides of a padded control, a fullwidth-obfuscated control or a zero-width-obfuscated control still find the real one in 0.7 to 1.8 s with the default rule budget, and the four decoy tests pass. Release: https://github.com/squirrelscan/squirrelscan/releases/tag/v0.0.154
Activity
fix(integrity): window cap prefers brand windows, floor of windows pe…
docs(integrity): the window floor is two cue windows per control outs…
fix(integrity): window cap prefers brand windows, floor of windows pe…
docs(integrity): the window floor is two cue windows per control outs…
fix(integrity): window cap prefers brand windows, floor of windows pe…
docs(integrity): the window floor is two cue windows per control outs…
nc9 commentedon Nov 1, 2026
Shipped in v0.0.154 (
983a006e,fa89ef49) and checked against main at v0.0.158: every acceptance criterion is met. Every control keeps a floor of 2 windows outside the page budgets, controls with no cue word as written are served first, and the floor is bounded (100,000 tiny controls before a real padded control: found in about 0.6 s). About 8.5 MB of cue-bearing decoys before, after or on both sides of a padded control, a fullwidth-obfuscated control or a zero-width-obfuscated control still find the real one in 0.7 to 1.8 s with the default rule budget, and the four decoy tests pass. Release: https://github.com/squirrelscan/squirrelscan/releases/tag/v0.0.154nik