/HomoglyphAttackPreventionService

A service for preventing homoglyph attacks.

Primary LanguagePythonMIT LicenseMIT

Homoglyph Attack Prevention Service

Homoglyphic attacks can be used to attack State of the Art NLP models, this repo provides an open source service using Azure to preventing most homoglyphic attacks. For more information on Homoglyphic attacks check out this post on the subject

To use the service just send a URL encoded query string of up to 200 characters to the service perfect for validating tweets. Below is an example call using curl be sure to use your own service endpoint.

Example call

One Click Deployment

If you need an azure account you can get a free one here

Docker Service

docker run --rm -it  -p 5000:5000  -e 'region=westeurope' -e 'key=put azure cv key here' abornst/homoglyph_service