r/linux • u/speckz • Nov 16 '15
Your Text Editor Is Malware
https://glyph.twistedmatrix.com/2015/11/editor-malware.html6
u/minimim Nov 16 '15
I only install if it's packaged for my distro. I don't even use gems or pypi, docker images, or others, which many times have the same problems, but I'm not able to say.
6
u/ckozler Nov 16 '15
But you installed it from a remote source without auditing it first!! H4x0rz got you! /s
4
5
u/send-me-to-hell Nov 16 '15
If you use Vim, you’ve probably installed a few vimballs from vim.org, a website only available over HTTP. Vimballs are fairly opaque; if you’ve installed one, chances are you didn’t audit the code.
No, I usually just use regular ole vim and I think most people are the same way. I may tick out my .vimrc but other than that I don't get too fancy with my text editor. I'm sure people do apply the vimballs but it's definitely not the majority of vim users.
Even if it were using that to call vim "malware" is a bit of a stretch. But I guess that's the point. Overall this article is pretty yellow journalism-y. Saying provocative things to get attention without feeling the need to back it up.
I did think the footer was pretty funny:
All Rights Reserved Excepting Those Which Are Not.
I don't think it was intentional but I still lol'd.
4
u/lykwydchykyn Nov 16 '15
The solution for Vim is relatively simple: use vim-plug, which fetches stuff from GitHub exclusively via HTTPS.
So let me get this straight:
Instead of installing from a curated repository like Melpa or Elpa, I should install stuff directly from github because the latter is HTTPS. Hrm...
2
Nov 16 '15
Why yes, becuase GitHub thoroughly audits everything that is uploaded to the site. Every. Single. Thing.
2
u/his_name_is_albert Nov 16 '15
When you install un-signed code into your editor that you downloaded over an unencrypted, unauthenticated transport like HTTP, you might as well be installing malware. This is not a joke or exaggeration: you really might be.1 You have no assurance that you’re not being exploited by someone on your local network, by someone on your ISP’s network, the NSA, the CIA, or whoever else.
No it isn't, "can theoretically happen" is not the same as "will happen".
This is like saying that eating bread might as well be eating poison because someone could've poisoned it.
23
u/[deleted] Nov 16 '15
"To avoid installing code that you didn't audit, install this code that I haven't audited."