Skip to content

Hangul filler runs count as hidden text (Part of #4108) - #8249

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/4108-20261110T2352Z
Nov 11, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/4108-20261110T2352Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Part of #4108 (slice 27, sibling gap from #8207). The Hangul fillers U+3164 / U+FFA0 / U+115F / U+1160 render blank, but the hidden-text homoglyphs half only fired on an import-style line carrying U+3164. A run of two or more fillers anywhere (a blank identifier, padding in a string or comment) now counts, in HIDDEN_TEXT_SIGNATURES["homoglyphs"] (gitgalaxy/security/security_lens.py).

Design: run length >= 2, any mix of the four. A lone U+115F / U+1160 is legitimate decomposed Korean (placeholder jamo), so single fillers stay silent outside the existing import rule.

Tests

tests/security_auditing/test_hidden_text_hangul_filler_4108.py: each of the 4 fillers x name/string/comment fires; mixed run fires; false-positive probe (precomposed Korean, decomposed jamo, lone 115F / 1160, lone 3164, compatibility jamo) does not. 13 of the new tests fail without the rule. tests/security_auditing 858 passed.

Gates: pr_gates --fast 9/9; crucible_check.py (both legs) PASS, golden unmoved. --ratchets not run (golden unmoved, no ground-truth surface touched).

Class / Sibling gaps

Class: invisible or blank-rendering Unicode code points the hidden-text signatures miss. Handled: zero-width, bidi embeds/isolates, ALM, U+2060-2064 (#8207); Hangul filler runs (this PR). Sibling gaps, each its own probe: U+3164 as a lone filler in a name (needs a name-context rule, status: missing); U+180E Mongolian vowel separator (missing); U+2800 Braille blank (missing, legitimate Braille text needs run-length/context probe); U+034F combining grapheme joiner (missing, appears in legitimate text); U+FFF9-FFFB interlinear annotation (missing); Unicode tag characters U+E0000 block (covered by the steganography signature #1150).

Remaining slices

None for this mechanism; siblings above each need a different false-positive probe.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 11, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 11, 2026 00:15
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant