- Home
- Skills
- Agents & Orchestration
- homoglyph unicode injection firewall
Works with the AI tools you already use
homoglyph unicode injection firewall
Detects Trojan Source attacks, homoglyph substitutions, and invisible Unicode injection in code and identifiers.
$17.99
homoglyph unicode injection firewall
Example session with this skill installed
Scan this variable name for homoglyphs: admin_pаnel. Also check this string for bidi characters: [U+202E]txt.exe.js
- Read your context and instructions
- Compiled the homoglyph unicode injection
- Generated the document
The text was scanned for Unicode-level deception. One critical bidi override and one high-risk homoglyph substitution were detected.
Unicode Injection Scan
Input: Provided string containing variable name and bidi sequence
Codepoints inspected: 22 | Findings: 2
CRITICAL: Bidirectional Control Character
Location: [U+202E]txt.exe.js
Rendered as: sj.exe.txt
Actual codepoints: U+202E (RIGHT-TO-LEFT OVERRIDE), U+0074 (t), U+0078 (x), U+0074 (t), U+002E (.), U+0065 (e), U+0078 (x), U+0065 (e), U+002E (.), U+006A (j), U+0073 (s)
Why this matters: The RLO character forces the file extension to appear as .txt to a user, while the system processes it as a .js executable.
HIGH: Homoglyph Substitution
Location: admin_pаnel
Rendered as: admin_panel
Actual codepoints: ..., U+0070 (p), U+0430 (CYRILLIC SMALL LETTER A), U+006E (n), ...
Why this matters: A Cyrillic 'а' replaces the Latin 'a'. This bypasses string-matching filters for the "admin_panel" identifier while looking identical to a reviewer.
Detection Confidence Precondition
This analysis is based on established cross-script lookalikes and bidi patterns. For high-stakes audits, cross-check these findings against a live Unicode Consortium confusables database.
Next steps
- Remove the
U+202Econtrol character immediately. - Replace the Cyrillic
U+0430with the standard LatinU+0061codepoint. - Audit the source of this text for further obfuscation attempts.
homoglyph-unicode-injection-firewall.pdf
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
The problem
Standard security scanners and keyword filters operate on string literals. They cannot detect visually identical characters that use different codepoints or invisible control characters that reorder logic while appearing benign to the human eye.
What it does
- Scans text codepoint by codepoint to identify hidden bidirectional (bidi) control characters used in Trojan Source attacks.
- Detects cross-script homoglyphs where non-Latin characters (like Cyrillic or Greek) are substituted for Latin lookalikes in identifiers or domains.
- Identifies zero-width characters and invisible joiners that silently alter tokenization or bypass exact-match security checks.
- Flags normalization (NFC/NFKC) divergence where a document's rendered appearance differs from its underlying codepoint sequence.
Why this beats prompting it yourself
Most LLMs naturally interpret text as rendered, often missing the very byte-level deceptions this skill is designed to find. This tool follows a strict non-embedding rule, ensuring it describes threats via codepoint notation rather than inadvertently re-emitting dangerous bidi payloads in your environment.
Use cases
- Auditing Pull Requests for Trojan Source (CVE-2021-42574) code smuggling.
- Verifying that domain names or usernames are not using confusable character substitutions for phishing.
- Checking third-party agent skill files for hidden Unicode instructions before deployment.
- Comparing rendered text against actual codepoints to find invisible characters in security-sensitive keywords.
Known limitations
Uses a heuristic pass based on established confusable pairs. It is not a live query against the latest Unicode Consortium data and should not replace a dedicated Unicode-aware security library.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 5 days ago
- Passed all security checks, Safe to install