Skip to content

feat(agent_config): add AGCFG-009 for hidden text in AGENTS.md - #193

Merged
sairenchristianbuerano merged 1 commit into
mainfrom
feat/agents-md-hidden-text
Oct 20, 2026
Merged

sairenchristianbuerano merged 1 commit into
mainfrom
feat/agents-md-hidden-text

Conversation

@sairenchristianbuerano

Copy link
Copy Markdown
Collaborator

An AGENTS.md containing zero-width characters, Unicode Tags-block characters or bidirectional overrides, which can hide an instruction from a reviewer while the model still reads it. Medium severity, objective character test, with the byte order mark, emoji joiner and flag-emoji cases exempt. Mirrors the engine fixture byte for byte and bumps the pack schema to 25. Merge only after the analyzer change that adds the repo_agents_md_has_hidden_text predicate: an older engine skips the rule.

An AGENTS.md containing zero-width characters, Unicode Tags-block characters or bidirectional overrides, which can hide an instruction from a reviewer while the model still reads it. Medium severity, objective character test, with the byte order mark, emoji joiner and flag-emoji cases exempt. Mirrors the engine fixture byte for byte and bumps the pack schema to 25. Merge only after the analyzer change that adds the repo_agents_md_has_hidden_text predicate: an older engine skips the rule.
@sairenchristianbuerano
sairenchristianbuerano merged commit 552d196 into main Oct 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants