Skip to content

Hidden text: U+180E outside Mongolian and lone interlinear marks (Part of #4108) - #8257

Merged
squid-shepherd[bot] merged 3 commits into
mainfrom
churn/4108-20261111T0112Z
Nov 11, 2026
Merged

squid-shepherd[bot] merged 3 commits into
mainfrom
churn/4108-20261111T0112Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4108 (slice 28). Siblings of the Hangul filler runs from #8249: two more invisible-character families the hidden-text half of the Security Lens missed.

Change

HIDDEN_TEXT_SIGNATURES["reflection_metaprogramming"] in gitgalaxy/security/security_lens.py gains:

  • U+180E (Mongolian vowel separator, Cf, renders as nothing): fires unless it directly follows a Mongolian letter (U+1820-1878, U+1880-18AA). Real Mongolian spelling is exempt; the second of a run, or one in ASCII context, fires.
  • U+FFF9 / U+FFFA / U+FFFB (interlinear annotation): a well-formed anchor, separator, terminator on one line (bounded 500 chars per gap) is real annotation and is exempt; an anchor or separator without its partners fires, as does a terminator at line start or after another mark.

Tests: tests/security_auditing/test_hidden_text_mongolian_interlinear_4108.py (12 firing shapes, 6 legitimate texts).

Class / Sibling gaps

Class: invisible format characters (Cf / default-ignorable) that render as nothing and can hide a payload or spoof a name, measured by the hidden-text signature. Handled: U+200B/200C/200D/200E/200F/202A-202E/2060-2064/2066-2069/061C/FEFF (earlier), Hangul fillers (#8249), U+180E and U+FFF9-FFFB (this PR).
Sibling gaps:

  • A lone U+FFFB mid-line with no earlier anchor is not detected (regex has no variable-width lookbehind); only line-start or after a mark. Needs a post-match check, not a regex.
  • U+180B-180D (Mongolian free variation selectors) and U+034F (combining grapheme joiner) are untouched; the FVS are legitimate in Mongolian and need the same letter-context rule, CGJ is Cf-like and invisible.
  • Tag characters U+E0000-E007F, variation selectors U+FE00-FE0F / U+E0100-E01EF, and U+00AD soft hyphen: not audited here (emoji flags and CJK use make them need their own context rules).

Gates

pr_gates --fast 9/9 pass; tests/security_auditing 875 pass; scan_content_gate_parity zero violations. --ratchets: fact-crosscheck and ground-truth fail with "example-health-apis is not fetched at its pinned ref" (environment; fact-crosscheck fails identically with --vs-main), the rest pass. crucible_check (check mode) shows drift only in Has Header Comment on JCL (from #8240/#8245 on main), none in Reflection Hits; I did not bless it.

Lessons for agents

  • pr_gates --ratchets in a worktree without *_CRUCIBLE_PATH set reports ground-truth/fact-crosscheck FAIL for an unfetched corpus, not a regression.

🤖 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 01:38
@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

PR #8257 @ 80f69ad: 1 failed check(s)

== crucible-audit (zero-dependency) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/42940429441/job/130260654552
repro: tests/tools/box/golden-lock.sh python tests/tools/pr_gates.py --only golden
failing tests: tests/test_golden_crucible.py::test_golden_crucible_matches_baseline
errors:
2026-11-11 01:39:56,057 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
FAILED tests/test_golden_crucible.py::test_golden_crucible_matches_baseline - Failed: Structural drift detected against golden_master_zero_dep_audit (68 differences):
##[error]Process completed with exit code 1.
log tail:
│   ├── gitgalaxy
│   ├── github-action-readme.md
│   ├── mkdocs.yml
│   ├── muninn.yml
│   ├── pyproject.toml
│   ├── scripts
│   ├── site
│   ├── templates
│   ├── tests
│   └── zizmor.yml
└── language-crucible
├── AGENTS.md
├── ANTIGRAVITY.md
├── CLAUDE.md
├── LICENSE
├── NOTICE
├── README.md
├── RELEASING.md
├── SECURITY.md
├── SOURCES.md
├── data
├── raw_output
└── tools
14 directories, 25 files
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/23ee7a38-2526-492d-8a7b-07270b71c65a' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 11, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (8dc2690) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then). Until then it is a draft and runs the cheap audits only; re-adding the label marks it ready, which starts the full set on that head.

@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 11, 2026
@squid-shepherd
squid-shepherd Bot marked this pull request as draft November 11, 2026 02:17
@squid-shepherd squid-shepherd Bot added the shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md label Nov 11, 2026
@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 squid-shepherd Bot removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 11, 2026
@squid-protocol squid-protocol removed the shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. 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 02:26
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 11, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 11, 2026 02:31
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd squid-shepherd Bot removed the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 11, 2026
@squid-shepherd
squid-shepherd Bot merged commit 3495287 into main Nov 11, 2026
112 of 136 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/4108-20261111T0112Z branch November 11, 2026 03:33
squid-shepherd Bot pushed a commit that referenced this pull request Nov 11, 2026
…ne terminator fires (#8274) (#8276)

#8265 added U+FFF9-FFFB to the unconditional hidden-text class, contradicting #8257's
well-formed-annotation exemption and turning main red. Keep #8257's contract, drop the
class entries, and add the lone mid-line terminator alternative it missed.

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
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