<div dir="ltr"><div dir="ltr">Thanks everyone for the feedback on this, and thank you Doug for looking into the MetaMask implementation. It sounds like this is a problem that I should talk to the MetaMask maintainers about.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 7, 2021 at 12:45 PM Doug Ewell via Unicode <<a href="mailto:unicode@corp.unicode.org" target="_blank">unicode@corp.unicode.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Upon reading the MetaMask PRs and problem statement more closely, it seems they were mainly focused on mixed-script spoofing (e.g. using Greek 'ο' or Cyrillic 'о' in place of Latin 'o') and randomly inserted, invisible control characters like ZWNJ.<br>
<br>
The author of the original PR (9129, not 9187) seemed to understand the underlying problem, and even suggested an existing library, but instead of using this presumably nuanced and tested solution, someone else applied the confusables.txt sledgehammer. That contributor even commented that his solution "might even be a little too strict because it warns on 'math.eth' being so similar to 'rnath.eth'," but nobody else complained, and so here we are.<br>
<br>
--<br>
Doug Ewell, CC, ALB | Lakewood, CO, US | <a href="http://ewellic.org" rel="noreferrer" target="_blank">ewellic.org</a><br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font style="color:rgb(0,0,0);font-size:medium" face="Georgia,serif">Mark Dawson</font><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:medium"></span><div style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:medium;margin-top:0px;margin-bottom:0px"><span style="font-family:Georgia,serif;font-size:13.3333px"><a href="mailto:mark@markdawson.io" target="_blank">mark@markdawson.io</a></span><span style="font-size:10pt;font-family:Georgia,serif"> </span><br></div><div style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;margin-top:0px;margin-bottom:0px"> </div></div></div></div></div></div></div></div></div>
</div>