Earlier quoted context omitted.
it sure is and it's complete bullshit too! that screenshot looks suspicious as hell, and my editor (Emacs) has a whitespace mode that shows unprintable characters sooooo if GitHub's diff view displays unprintable characters like this that seems like a problem with GitHub lol "it isn't just X it's Y" fuck me, man. get this slop off the front page. if there's something useful in it, someone can write a blog post about…
My Editor VSCode has the Hex editor installed, always... invisible unicode? Not to Hex. What? are you doing without Hex mode? What?
First Self-Propagating Worm Using Invisible Code Hits OpenVSX and VS Code
51–60 of 63 posts
Re: First Self-Propagating Worm Using Invisible Code Hits OpenVSX and VS Code
#52Re: First Self-Propagating Worm Using Invisible Code Hits OpenVSX and VS Code
#53Earlier quoted context omitted.
It's not the compiler. It's JavaScript and its fucked up UTF-16 strings. UTF-16 should have been UTF-8 for a variety of reasons, and I thought we have learned from the Effective power لُلُصّبُلُلصّبُررً ॣ ॣh ॣ ॣ 冗 incident.
The what incident? Can you elaborate? Edit: Here’s the incident- https://www.theregister.com/2015/05/27/text_message_unicode_...
Essentially everything that used libicu as a unicode parser.
Was quite fun posting this in IRC and other chats and seeing clients go offline at the time :)
Re: First Self-Propagating Worm Using Invisible Code Hits OpenVSX and VS Code
#54Re: First Self-Propagating Worm Using Invisible Code Hits OpenVSX and VS Code
#55Cool write-up. Seems pretty unintuitive to me that Unicode would allow someone to serialize normal code as invisible characters and that something like an IDE or a git diff has never been hardened against that at all. In my mind it's one thing to let a string control whitespace a bit versus having the ability to write any string in a non-renderable format. Can anyone point me to some more information about why this c…
> Seems pretty unintuitive to me that Unicode would allow someone to serialize normal code as invisible characters If you have a text encoding with two invisible characters, you can trivially encode anything that you could represent in a digital computer in it, in binary, by treating one as a zero and the other as a one. More invisible characters and some opinionated assumptions about what you are allows denser repre…
Re: First Self-Propagating Worm Using Invisible Code Hits OpenVSX and VS Code
#56Why not just indicate non-printable characters in code review tools? I've always wondered that, regardless of security implications. They are super rare in real code (except line breaks and tabs maybe), so no disruption in most cases. Also, as notes in other comments, you can't do shady stuff purely with invisible code. The article seems bit sensationalist to me.
Re: First Self-Propagating Worm Using Invisible Code Hits OpenVSX and VS Code
#57Re: First Self-Propagating Worm Using Invisible Code Hits OpenVSX and VS Code
#58And this is why you don't use VSCode.