https://github.com/acceis/unisec
Unicode Security Toolkit
https://github.com/acceis/unisec
cldr confusables homoglyphs icu security surrogates unicode unicode-tools utf-16 utf-32 utf-8
Last synced: 4 months ago
JSON representation
Unicode Security Toolkit
- Host: GitHub
- URL: https://github.com/acceis/unisec
- Owner: Acceis
- License: mit
- Created: 2023-07-21T12:26:40.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-07T20:23:42.000Z (12 months ago)
- Last Synced: 2025-06-14T05:18:10.757Z (4 months ago)
- Topics: cldr, confusables, homoglyphs, icu, security, surrogates, unicode, unicode-tools, utf-16, utf-32, utf-8
- Language: Ruby
- Homepage: https://acceis.github.io/unisec
- Size: 701 KB
- Stars: 35
- Watchers: 2
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# unisec
[](https://github.com/acceis/unisec/network)
[](https://github.com/acceis/unisec/stargazers)
[](https://github.com/acceis/unisec/blob/master/LICENSE)
[](https://inventory.raw.pm/tools.html#unisec)

> Unicode Security Toolkit
## What is it?
A CLI tool and library to play with Unicode security.
## Features
- **BiDi spoofing**
- Craft payloads for attack using BiDi code points (e.g. spoofing a domain name or a file name)
- **Confusables / homoglyphs**
- List confusables characters for a given character
- Replace all characters from a string with random confusables
- **Hexdump**
- UTF-8, UTF-16, UTF-32 hexadecimal dumps
- **Normalization**
- NFC, NFKC, NFD, NFKD normalization forms, HTML escape bypass for XSS
- **Properties**
- Get all properties of a given Unicode character
- List code points matching a Unicode property
- List all Unicode properties name
- **Regexp search**
- Search for Unicode code point names by regular expression
- **Size**
- Code point, grapheme, UTF-8/UTF-16/UTF-32 byte/unit size
- **Surrogates**
- Code point ↔️ Surrogates conversion
- **Versions**
- Version of Unicode, ICU, CLDR, UCD, gems used in Unisec## Installation
```plaintext
$ gem install unisec
```Check the [installation](https://acceis.github.io/unisec/#/pages/install) page on the documentation to discover more methods.
[](https://repology.org/project/unisec/versions)
[](https://badge.fury.io/rb/unisec)
## Documentation
Homepage / Documentation: https://acceis.github.io/unisec/
## Author
Made by Alexandre ZANNI ([@noraj](https://pwn.by/noraj/)) at [ACCEIS](https://www.acceis.fr/).