https://github.com/umpox/zero-width-detection
Invisibly inserting usernames into text with Zero-Width Characters
https://github.com/umpox/zero-width-detection
Last synced: about 1 year ago
JSON representation
Invisibly inserting usernames into text with Zero-Width Characters
- Host: GitHub
- URL: https://github.com/umpox/zero-width-detection
- Owner: umpox
- Created: 2018-01-02T15:14:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T15:22:14.000Z (over 3 years ago)
- Last Synced: 2025-04-03T16:12:15.443Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://medium.com/@umpox/be-careful-what-you-copy-invisibly-inserting-usernames-into-text-with-zero-width-characters-18b4e6f17b66
- Size: 2.22 MB
- Stars: 1,172
- Watchers: 17
- Forks: 85
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-projects - zero-width-detection - Invisibly inserting usernames into text with Zero-Width Characters ⭐1,177 `TypeScript` (🔧 Utilities & Miscellaneous)
README
# zero-width-detection
A project to demonstrate the vulnerabilities of copying text that may have zero-width characters inserted into it.
[Medium Article](https://medium.com/@umpox/be-careful-what-you-copy-invisibly-inserting-usernames-into-text-with-zero-width-characters-18b4e6f17b66)
[Demo](https://umpox.com/zero-width-detection)
## To run:
`yarn`
`yarn dev`
## Useful Files
[src/utils/usernameToZeroWidth.tss](./src/utils/usernameToZeroWidth.ts)
[src/utils/zeroWidthToUsername.ts](./src/utils/zeroWidthToUsername.ts)