Analysis updated 2026-07-03
Pipe a colleague's source file through mimic to plant invisible syntax errors they cannot find by reading the code.
Use it as a classroom demo to show how Unicode homoglyphs fool human readers but not compilers.
Test your own code-review skills by spotting planted lookalike characters in a mimic-processed output.
| reinderien/mimic | neo23x0/loki | cuemacro/finmarketpy | |
|---|---|---|---|
| Stars | 3,754 | 3,753 | 3,752 |
| Language | Python | Python | Python |
| Setup difficulty | easy | easy | moderate |
| Complexity | 2/5 | 2/5 | 3/5 |
| Audience | developer | ops devops | data |
Figures from each repo's GitHub metadata at analysis time.
Mimic is a Python tool that takes source code and quietly swaps ordinary characters for visually identical Unicode imposters. The idea comes from a well-known prank: replace a semicolon in a friend's code with a Greek question mark that looks exactly the same on screen, then watch them lose their mind trying to find the syntax error. The technical concept at play is homoglyphs, which are characters from different parts of the Unicode standard that look alike to the human eye but are completely different to a computer. Mimic scans through text and replaces normal ASCII punctuation and letters with these lookalike characters, leaving code that appears fine to a human reader but fails the moment a compiler or interpreter touches it. The tool is designed for chaos rather than utility. The README lists its intended effects as fun, frustration, curiosity, and murderous rage, and suggests games like piping your own source code through to spot the planted errors, or, more dangerously, piping a colleague's code through without mentioning it. The README also notes a likely third outcome: being fired and then killed. The project attracted attention from Slashdot, Reddit, Hacker News, BoingBoing, and The Register shortly after release, which explains the star count for what is essentially a single-purpose prank script. There is no practical workflow application here, the value is entirely in its absurdity and its sharp illustration of how Unicode homoglyphs can be weaponized against human code-reading habits. If you want to see the effect in action, the README includes screenshots showing code that looks completely normal until a compiler flags it with confusing errors. Deeper documentation lives in the project's wiki.
Mimic is a Python prank tool that quietly replaces normal source code characters with visually identical Unicode lookalikes, making code look fine to humans but fail the moment a compiler touches it.
Mainly Python. The stack also includes Python, Unicode.
No license information was stated in the explanation.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.