Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacyยฉ 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
GlyphGuard โ€” Zero-dependency CLI that audits text, source code, and domains for Unicode homoglyphs, invisible and bidi characters, and Trojan Source attacks, with JSON reports and CI exit-code gating. | Kitploit
Tools/GitHubGitHub/gitstq/glyphguard
Defensive ToolsStatic AnalysisVulnerability AnalysisCode AnalysisInformation GatheringPhishingWeb SecurityDevSecOpsUtilities & FrameworksDNS Analysis
GitHub
Oct 16, 2026Not yet reviewed
Share
gitstq/glyphguard

GlyphGuard

Zero-dependency CLI that audits text, source code, and domains for Unicode homoglyphs, invisible and bidi characters, and Trojan Source attacks, with JSON reports and CI exit-code gating.

View Repository

zero deps python license ci platform

๐Ÿ”ฅ GlyphGuard

Unicode Homoglyph & Invisible-Character Security Audit Engine

็ฎ€ไฝ“ไธญๆ–‡ ยท ็น้ซ”ไธญๆ–‡ ยท English

A lightweight, zero-dependency, pure-stdlib CLI: detects Unicode homoglyph phishing, invisible/format characters, and Trojan Source bidirectional attacks (CVE-2021-42574).


๐ŸŽ‰ Introduction

Modern text is no longer just ASCII. Attackers can use Unicode homoglyphs to make ะฐั€ั€le.com look like apple.com, zero-width characters to smuggle malicious logic into source code, or bidirectional control characters (Trojan Source, CVE-2021-42574) to visually reorder comments and code. These characters are invisible in editors yet bypass human code review.

GlyphGuard is a developer-facing security audit engine that performs a systematic Unicode health check on text, source code, and domain names โ€” locally, offline, and dependency-free:

  • ๐Ÿ›ก๏ธ Homoglyph skeleton mapping (a curated subset of the UTS #39 idea) โ€” reveal ะฐั€ั€le โ†’ apple at a glance
  • ๐Ÿ‘ป Invisible / format / bidirectional-override detection (including the Trojan Source attack class)
  • ๐ŸŒ Mixed-script spoofing detection (Cyrillic, Greek, Armenian, etc. mixed with Latin)
  • ๐Ÿงน Unicode normalization & cleaning (NFC / NFD / NFKC / NFKD, stripping dangerous characters)
  • ๐Ÿ“ Terminal display width (East-Asian wide, combining, zero-width)
  • ๐ŸŒ Domain homograph audit (punycode decode + skeleton)
  • โš™๏ธ CI gate: severity-based exit codes (0 / 1 / 2)
  • ๐Ÿ“ฆ Cross-platform single-file distribution (.pyz via zipapp, zero-dependency build)

Inspiration: Unicode Technical Reports #36 / #39, the Trojan Source research, and community work such as codebox/homoglyph. Distinct from the account's existing security tools (RepoShield, VulnScan, MCPShield, PromptShield) โ€” similarity < 10%.


โœจ Core Features

  • ๐Ÿš€ Zero dependencies: only the Python standard library (unicodedata / argparse / json) โ€” no pip install, runs anywhere offline.
  • ๐ŸŽฏ High precision: only well-established confusable mappings are included to reduce false positives; legitimate CJK+Latin mixes are automatically exempted.
  • ๐Ÿ” 7 detection classes: invisible chars, bidirectional overrides, control chars, confusables, mixed scripts, non-normalized text, domain homographs.
  • ๐Ÿค– CI friendly: audit returns structured exit codes, ready to gate merges in GitHub Actions / GitLab CI.
  • ๐Ÿ“„ Multi-format reports: human-readable (colored) text and machine-readable JSON.
  • ๐Ÿ’ป Cross-platform: consistent on Windows / macOS / Linux; ships a .pyz single-file executable.
  • ๐ŸŒ Trilingual docs: Simplified Chinese, Traditional Chinese, and English.

๐Ÿš€ Quick Start

Requirements

  • Python 3.9+ (standard library only, no third-party packages)

Three ways to use it

1. Single-file executable (recommended, zero install)

Download glyphguard-<os>.pyz for your platform from Releases:

python glyphguard-<os>.pyz audit ./src --recursive

2. Run from source

git clone https://github.com/gitstq/GlyphGuard.git
cd GlyphGuard
python -m glyphguard audit ./src --recursive

3. Editable install

pip install -e .
glyphguard audit ./src --recursive

๐Ÿ“– Usage Guide

CommandPurpose
audit PATH...Audit files / directories for Unicode risks
skeleton TEXTMap text to its ASCII skeleton
invisibles TEXTList invisible / control characters
normalize TEXTUnicode normalization or cleaning
escape TEXTEscape non-ASCII / control characters
unescape TEXTReverse escape
width TEXTCompute terminal display width
inspect TEXTPer-character Unicode introspection
domain NAMEAudit a domain for homographs
# Recursive directory audit
glyphguard audit ./src --recursive

# CI gate: non-zero exit on critical
glyphguard audit ./src -r --fail-on critical
echo $?   # 0=clean, 1=warning, 2=critical

# Homoglyph skeleton
glyphguard skeleton "ะฐั€ั€le"      # apple

# Domain audit
glyphguard domain "ะฐั€ั€le.com"    # Looks like (ASCII): apple.com

๐Ÿ’ก Design & Roadmap

Why pure standard library?

Security tools often run in constrained / offline environments (CI runners, audit sandboxes). Third-party dependencies introduce supply-chain risk and install overhead. GlyphGuard is strictly zero-dependency, relying only on unicodedata (Python's built-in Unicode database), so it runs on any machine with Python.

Data strategy

  • Confusable table (data.py): hand-curated, unambiguous mappings (Cyrillic / Greek / Armenian look-alikes of ASCII), augmented by algorithmic ranges (fullwidth, mathematical letters, circled letters) to avoid false positives.
  • Script detection: Unicode character-name prefixes are used first (self-maintaining across Unicode versions), with an explicit range table only for unreliable cases.
  • Scoring: critical / warning / info weighted deductions (100-point scale), balancing severity and readability.

Roadmap

  • SARIF output for GitHub Code Scanning
  • Editor plugins (VS Code / Neovim) with live highlighting
  • pre-commit hook integration
  • Finer-grained homoglyph coverage for more scripts (Devanagari, Thai, โ€ฆ)
  • .glyphguard.toml config for allowlists and thresholds

๐Ÿ“ฆ Packaging & Deployment

Build a single-file executable locally (zero-dependency)

python -m compileall -q glyphguard
python - <<'PY'
import shutil, zipapp
shutil.copytree("glyphguard", "stage/glyphguard")
zipapp.create_archive("stage", "dist/glyphguard.pyz",
                      main="glyphguard.cli:main",
                      interpreter="/usr/bin/env python3")
PY
python dist/glyphguard.pyz version

GitHub Actions automated build & release

Two workflows are included:

  • .github/workflows/ci.yml: syntax check + unittest on Windows / macOS / Linux ร— Python 3.9โ€“3.13 (stdlib only).
  • .github/workflows/release.yml: on v* tags, builds .pyz on all three platforms via zipapp and auto-creates the GitHub Release with assets.
git tag v1.0.0
git push origin v1.0.0      # triggers build & release

๐Ÿ“ฅ Download: GitHub Releases v1.0.0


๐Ÿค Contributing

Contributions welcome! See CONTRIBUTING.md:

  • Zero-dependency principle (no third-party packages)
  • Angular commit convention (feat: / fix: / docs: โ€ฆ)
  • New confusable mappings require unit tests
  • Local syntax check only; full tests run in cloud CI

๐Ÿ“„ License

Released under the MIT License.

Made with ๐Ÿ”ฅ by gitstq

Download Tool

Related Tools

  • wazuh

    Open-source XDR and SIEM platform for threat detection, log analysis, file integrity monitoring, vulnerability assessment, and compliance management across endpoints and cloud workloads.

  • suricata

    Open-source network IDS/IPS/NSM engine for real-time traffic inspection, intrusion detection and prevention, protocol analysis, and rule-based threat hunting.

  • zeek

    Zeek is a powerful network analysis framework that is much different from the typical IDS you may know.

Most Popular

View all โ†’

Discover the most used tools by our community.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    745
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI Catcher platform that deploys a rogue GSM cell to intercept SMS, inject messages and track mobile devices

    732
  • 3

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    610
  • 4

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    546
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    414
  • 6

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    413

Explore all tools

Browse our collection of tools

View all tools โ†’