Skip to main content
Glama

WritersLogic verifiable AI agents

unicode-safety-gate

Adversarial Unicode & Trojan Source gatekeeper — Scans a public GitHub repo, a pull request, a unified diff or a list of files for adversarial Unicode with the 19 rules (USC001-USC019) of dcondrey/unicode-safety-check: bidi controls (Trojan Source), invisible and default-ignorable characters, variation-selector and tag-character payloads (Glassworm), private-use code points, homoglyph and mixed-script identifiers, confusable collisions, misplace

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "unicode-safety-gate"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoBranch, tag or commit for repo; defaults to the default branch.
diffNoUnified diff (git diff output). Only added lines are scanned; findings carry new-file line numbers.
repoNoAlternative to files and diff: a public GitHub repository, owner/repo or https://github.com/owner/repo[/tree/ref]. Read from its source archive; files are scanned shallowest first up to the character cap and the rest are listed as skipped.
filesNoFiles to scan in full. Provide exactly one of files, diff, repo or prUrl; total content is capped at 1000000 characters.
prUrlNoAlternative to files and diff: a public GitHub pull request, commit or compare URL. Only added lines are scanned.
scanExcludedNoAlso scan paths the upstream scanner skips (node_modules/, vendor/, dist/, build/, .lock, .min.js, images, archives). Default false.
identifierPolicyNoDefault ascii-only: any non-ASCII identifier is flagged (USC019).
permittedScriptsNoUsed with permitted-scripts. Default Latin, Common, Inherited.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources