1
0
Fork 0

feat(output): report hidden markup — tiny font, invisible colour, comments outside code

Session 5 of the 2026 threat plan (attack row 3): A04 and A15 were red.

- html-obfuscation:tiny-font (HIGH): font below 4px. ShadowLeak's 1px passed
  because the commons zero-font row only matches a leading 0.
- html-obfuscation:invisible-colour (HIGH): text within 8 per channel of the
  background in the same style attribute, or transparent. White alone is not
  a signal (email buttons); measured residual in LIMITATIONS.
- output:html-comment-present (MEDIUM): a comment in the artifact outside
  fenced code and inline code. 253/254 comments in the reference corpus sit
  in code.

Local to output.py; the vendored lexicon stays byte-equal with commons.
Guard rule before/after: FP 106/198, 196/2918, 108/389 identical; OKF 6/53
and 47/31 identical. Matrix 139/139, ReDoS 161 patterns 0 flagged, suite
1142 passed + 6 xfailed. Row 3: 12 caught, 1 gap, 6 open.
This commit is contained in:
Kjell Tore Guttormsen 2026-10-31 17:01:39 +01:00
commit 0ebe8abdbd
Signed by: ktg
SSH key fingerprint: SHA256:JakMjO6FTBBzN0Bhfj9saOoEjaFxlSdYuZQQpM/lF9Q
11 changed files with 524 additions and 15 deletions

View file

@ -259,6 +259,14 @@ tas i økt 2:*
- **Økt 5, skjult markup:** A04 (tekst i 1px og hvitt; `zero-font` krever en
størrelse som starter på 0) og A15 utgang (HTML-kommentar i modellens output gir 0
funn).
*Gjort 31.10:* A04 og A15 (begge ankomster) fanges, så rad 3 har nå **12 fanget,
1 hull og 6 røde** (A05, A08, A09, A12, A16, A19). `html-obfuscation:tiny-font`
(under 4px) og `html-obfuscation:invisible-colour` (samme farge som bakgrunnen i
samme attributt, eller gjennomsiktig) bor i `output.py`, fordi leksikonet er
byte-likt med commons. Hvit tekst alene er bevisst ikke et signal (e-postknapper).
Det er målt at ren prosa i hvitt gir 0 funn, og det er ført i LIMITATIONS.
`output:html-comment-present` (MEDIUM) teller bare kommentarer utenfor kode.
I referansekorpuset står 253 av 254 kommentarer i kode.
- **Økt 6, rekkefølge-bæring:** A05 utgang. Hvert bilde bærer ingen data, men
rekkefølgen gjør det. Det graderes LOW og gir WARN.
- **Økt 7, instruksjoner i ren prosa:** A08, A09, A12, A16 og A19. Ingen av dem har