Skip to content
KitploitKITPLOIT
HerramientasExploitsBlog
Log in
Enviar
HerramientasExploitsBlog
Enviar

¡Herramientas de Hacking, PenTest y Ciberseguridad para tu Arsenal de Seguridad!

Kitploit es un directorio de herramientas de hacking, ciberseguridad y pentesting. Descubre las últimas actualizaciones de proyectos para encontrar vulnerabilidades, analizar sistemas, automatizar pruebas y fortalecer tu seguridad.

FeedsContactoPrivacidad© 2026 Kitploit

Directorio de Herramientas

Categorías

Ver todas las categorías
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
Herramientas/GitHubGitHub/gitstq/glyphguard
Defensive ToolsStatic AnalysisVulnerability AnalysisCode AnalysisInformation GatheringPhishingWeb SecurityDevSecOpsUtilities & FrameworksDNS Analysis
GitHub
16 oct 2026Aún no revisado
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.

Ver Repositorio
Compartir
Contenido no disponible en el idioma solicitado. Mostrando versión en inglés.

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

Descargar herramienta

Herramientas relacionadas

  • wazuh

    Plataforma XDR y SIEM de código abierto para detección de amenazas, análisis de registros, monitoreo de integridad de archivos, evaluación de vulnerabilidades y gestión de cumplimiento normativo en endpoints y cargas de trabajo en la nube.

  • suricata

    Motor de red IDS/IPS/NSM de código abierto para inspección de tráfico en tiempo real, detección y prevención de intrusiones, análisis de protocolos y búsqueda de amenazas basada en reglas.

  • zeek

    Zeek es un potente marco de análisis de redes que es muy diferente del típico IDS que puedas conocer.

Más Populares

Ver todos →

Descubre las herramientas más usadas por nuestra comunidad.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    # Aplicación de Ejecución con un Solo Toque GhostLock (CVE-2026-43499)

    745
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    Plataforma IMSI Catcher que despliega una celda GSM fraudulenta para interceptar SMS, inyectar mensajes y rastrear dispositivos móviles

    732
  • 3

    Callisto

    jetp1ane/callisto

    Herramienta automatizada de análisis de vulnerabilidades binarias que descompila ejecutables mediante Ghidra, escanea código pseudo-C con Semgrep y valida los hallazgos usando GPT-3.5-Turbo para reducir falsos positivos.

    610
  • 4

    opencti

    opencti-platform/opencti

    Plataforma abierta de inteligencia de amenazas cibernéticas

    546
  • 5

    ARTEX

    baarai/artex

    Plataforma de pruebas de penetración autónoma multiagente basada en LLM con agentes planificadores/trabajadores, grafos de activos y de exploración, registro de tráfico MITM y reevaluación de vulnerabilidades.

    414
  • 6

    DFRoot

    a2333c/dfroot

    Herramienta de root para Android para Samsung Galaxy S25 Ultra (SM-S938B) que encadena DirtyFrag CVE-2026-43284 y CVE-2026-43499 para obtener root automáticamente al arrancar mediante KernelSU.

    413

Explora todas las herramientas

Explora nuestra colección de herramientas

Ver todas las herramientas →