{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/4"},{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/2"},{"label":"Filters","url":"https://skillfed.io/packages/category/text-processing-filters"}],"enrichment":{"capability":"Detects Unicode homoglyphs and mixed-script strings that could be used in spoofing attacks, helping prevent homograph attacks where visually similar characters trick users.","skillfed_tags":["security","unicode","homograph-attack"],"use_cases":["Validate usernames during account creation to prevent attackers from registering lookalike accounts like '\u0391laskaJazz' or 'G\u043e\u043egle'.","Check domain names before allowing them in a whitelist or before displaying them to users to prevent phishing via homograph attacks.","Filter user-generated content or comments to flag mixed-script strings that might be attempts to evade moderation or impersonate other users.","Validate email addresses or social media handles to ensure they don't use confusable characters that could mislead recipients.","Build security tooling that alerts administrators when suspicious homoglyphs appear in logs or authentication attempts."],"what_it_does":"confusable_homoglyphs detects when Unicode characters that look identical or nearly identical to each other are mixed in a single string\u2014a technique attackers use to impersonate legitimate usernames or domains. For example, a Greek letter alpha (\u0391) looks almost identical to a Latin A, so '\u0391laskaJazz' could fool users into thinking they're interacting with 'AlaskaJazz'. The library checks strings against Unicode Consortium data to identify these dangerous combinations and can be configured to allow only specific scripts (like Latin-only usernames) or to flag only confusable characters from particular Unicode blocks.\n\nThe package ships with pre-built JSON data files derived from official Unicode security data, so it works out of the box with no external dependencies. It supports Python 3.7 through 3.12 and exposes a simple API for checking whether a string is dangerous, whether it contains confusable characters, and what script blocks are present. The repository is archived and no longer maintained, but the last release included unicode data updates.","worth_installing":"Yes, if you need to detect homograph attacks in usernames, domains, or user-generated text. The package is stable, has no dependencies, and installs easily. However, be aware the repository is archived and unmaintained\u2014unicode data is current as of 2024-01-30, but you should monitor whether future Unicode standards require updates. Suitable for production use in security-sensitive contexts where the risk of homograph attacks justifies the maintenance trade-off."},"id":"confusable-homoglyphs","links":{"html":"https://skillfed.io/packages/confusable-homoglyphs","md":"https://skillfed.io/packages/confusable-homoglyphs.md","pypi":"https://pypi.org/project/confusable-homoglyphs/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2024-01-30","license_spdx":null,"license_treatment":"permissive","name":"confusable-homoglyphs","python_support":"unspecified","summary":"Detect confusable usage of unicode homoglyphs, prevent homograph attacks."},"popularity":{"monthly_downloads":1490797,"position":3844,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.3.1"}
