Incident report

Rules File Backdoor: Hidden Unicode Directives in AI Coding Assistant Configs

MITRE ATLAS case study analyzing invisible Unicode control characters hidden inside shared repository instruction files that silently altered generated source code to introduce backdoors.

Incident record

Reported
Severity
High
Vector
Supply Chain
Affected system type
Repository-Driven AI Code Generation Workflows
Reference
AML.CS0041
Reference URI
https://raw.githubusercontent.com/mitre-atlas/atlas-data/f56c1468731d6428e5bf875263b4643b46d67437/dist/v6/ATLAS-2026.10.yaml#:~:text=AML.CS0041%3A

Inspect in Interactive Incidents Hub

Defensive lesson

Strip non-printable Unicode tag/bidirectional control characters from instruction files in CI/IDE loaders and require cryptographic review of repository prompt rule diffs.

Referenced techniques