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/fake-auth-overlay: dvh, svh, lvh and vmax viewport units are not read as filling the viewport #1496
Found in a security review of released code (since v0.0.148). integrity/fake-auth-overlay decides that an iframe fills the viewport when its width and height contain 100%, 100vw or 100vh. The modern viewport units dvh, svh, lvh (and the width forms dvw, svw, lvw) and vmax/vmin are not recognised, so a full-screen fixed frame sized with them is not seen as a cover.
Shape
An iframe styled position:fixed;top:0;left:0;width:100vw;height:100dvh;z-index:99999 with an auth-suggestive id is not reported; with 100vh it is.
Acceptance Criteria
100dvh, 100svh, 100lvh, 100dvw, 100svw, 100lvw, 100vmax and 100vmin count as filling the viewport, alone and inside calc() (for example calc(100dvh - 0px))
A fixed iframe sized 50dvh or 100px is still not a cover
Activity
fix(rules): overlay length spellings, container/logical units, calc/m…
fix(rules): overlay length cap fails toward detection, no upper bound…
fix(rules): overlay style parse tokenises strings, url() and brackets…
fix(rules): overlay declaration tokenizer keeps a stack of expected c…
fix(rules): overlay CSS read three ways (tokens, naive, plain), union…
fix(rules): overlay: drop unit lookahead, backslash-newline is not an…
test(rules): overlay prelude, preprocessing and leading-dot height ca…
fix(integrity): dvh, svh, lvh, dvw, svw, lvw, vmax and vmin count as …
fix(rules): overlay length spellings, container/logical units, calc/m…
fix(rules): overlay length cap fails toward detection, no upper bound…
fix(rules): overlay style parse tokenises strings, url() and brackets…
fix(rules): overlay declaration tokenizer keeps a stack of expected c…
fix(rules): overlay CSS read three ways (tokens, naive, plain), union…
fix(rules): overlay: drop unit lookahead, backslash-newline is not an…
test(rules): overlay prelude, preprocessing and leading-dot height ca…
test(rules): name the overlay tests' base style OVERLAY_BASE so it do…
nc9 commentedon Nov 1, 2026
Shipped in v0.0.156 and checked against it: every acceptance criterion is met. Release: https://github.com/squirrelscan/squirrelscan/releases/tag/v0.0.156
nik
test(rules): the 20,000-case union-reading fuzz gets a 60 s timeout; …