zero-width-detection icon indicating copy to clipboard operation
zero-width-detection copied to clipboard

Invisibly inserting usernames into text with Zero-Width Characters

zero-width-detection

A project to demonstrate the vulnerabilities of copying text that may have zero-width characters inserted into it.

Medium Article

Demo

To run:

yarn

yarn dev

Useful Files

src/utils/usernameToZeroWidth.tss

src/utils/zeroWidthToUsername.ts