Detect ASCII smuggling and invisible Unicode before text reaches your LLM

Updated 2026-10-08

Use when an agent must detect invisible, bidirectional or look-alike characters in a text.

From an MCP client, add https://tanod.dev/mcp and call text_unicode_inspect; its free daily calls are applied automatically, no key or signup.

Unicode has a block of invisible "tag" characters (U+E0000 to U+E007F) that mirror printable ASCII. Most interfaces show nothing, but models read them, so instructions can be hidden inside an innocent-looking review, email or web page. In September 2026, Microsoft reported the same trick being used to slip phishing words past email filters. This endpoint inspects text before it reaches your model or filter: it returns a risk level with reasons, lists every hidden character with positions, and can hand back a cleaned copy. In the example, the hidden "hi" is caught, but the Scotland flag, which legitimately uses tag characters, is not flagged.

Request

curl, using the free tier
curl -s -X POST https://tanod.dev/v1/text/unicode \
  -H 'content-type: application/json' -H 'X-Tanod-Free: 1' \
  -d '{"text": "Nice review\udb40\udc68\udb40\udc69! \ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f", "strip_invisible": true}'

Response

Response (from the live code, trimmed)
{
  "risk": "high",
  "reasons": [
    "invisible characters (zero-width / tag / filler) can hide or split text"
  ],
  "invisible": [
    {
      "codepoint": "U+E0068",
      "name": "TAG LATIN SMALL LETTER H",
      "kind": "tag",
      "count": 1,
      "positions": [
        11
      ]
    },
    {
      "codepoint": "U+E0069",
      "name": "TAG LATIN SMALL LETTER I",
      "kind": "tag",
      "count": 1,
      "positions": [
        12
      ]
    }
  ],
  "emoji_sequence_chars": 6,
  "stripped_count": 2,
  "text": "Nice review! \ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f"
}

Limits and caveats

Price and free allowance

USD 0.001 per call, paid in USDC on Base, Polygon, Solana, BNB Chain or Arbitrum with x402. 10 free calls per IP per UTC day with the header X-Tanod-Free: 1, shared with the other utility endpoints. MCP tool: text_unicode_inspect at https://tanod.dev/mcp (or the focused text server at https://tanod.dev/mcp/text), where the free tier is automatic. No signup and no API key.

Use it from Claude without writing code: in claude.ai or Claude Desktop, add https://tanod.dev/mcp/security?via=detect-ascii-smuggling-invisible-unicode-api as a custom connector (steps), then ask in plain words, for example "Does this text contain invisible or look-alike characters?" The free daily allowance is applied automatically over MCP. Beyond it a call needs an x402 payment, which these clients can make.

Updated 2026-10-08. Related guides: Sentiment analysis API, Spell check API, Text summarization API. All guides, or back to tanod.dev.