MCPcopy
hub / github.com/reinderien/mimic

github.com/reinderien/mimic @main sqlite

repository ↗ · DeepWiki ↗
19 symbols 57 edges 4 files 9 documented · 47%
README

mimic

[ab]using Unicode to create tragedy

Introduction

monster

mimic provokes: - fun - frustration - curiosity - murderous rage

It's inspired by this terrible idea floating around:

MT: Replace a semicolon (;) with a greek question mark (;) in your friend's C# code and watch them pull their hair out over the syntax error — Peter Ritchie (@peterritchie) November 16, 2014

There are many more characters in the Unicode character set that look, to some extent or another, like others – homoglyphs. Mimic substitutes common ASCII characters for obscure homoglyphs.

Fun games to play with mimic: - Pipe some source code through and see if you can find all of the problems - Pipe someone else's source code through without telling them - Be fired, and then killed

Results

Observe the mayhem:

some bad code "BUT WHY?"

Or, if you've been mimicked a little harder,

some worse code

Discussion

People have noticed how terrible this is.

SlashDot

Reddit

ycombinator

BoingBoing

The Register

Further Reading

mimic wiki

Core symbols most depended-on inside this repo

check_opts
called by 8
mimic/__init__.py
get_writer
called by 4
mimic/__init__.py
pipe
called by 3
mimic/__init__.py
fill_homoglyphs
called by 1
mimic/__init__.py
read_line
called by 1
mimic/__init__.py
listing
called by 1
mimic/__init__.py
explain
called by 1
mimic/__init__.py
pipe_mimic
called by 1
mimic/__init__.py

Shape

Function 15
Method 3
Class 1

Languages

Python100%

Modules by API surface

mimic/__init__.py15 symbols
mimic/test.py4 symbols

For agents

$ claude mcp add mimic \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact