|
|
|
|
|
by simiones
21 days ago
|
|
My point is, if I want to create a malicious Emacs plugin, I can do the following: 1. Create a new Emacs package, create a PR to register my GitHub repo as a new package in MELPA's repo, and wait for them to accept the PR. Ideally the plugin should be benign at this point. 2. Wait for people to pick up this new extension, while it's still benign. 3. Push the malicious version to my own GitHub repo. MELPA will automatically pick it up, build it, and package it. 4. Anyone updating their Emacs packages from MELPA or installing it from MELPA will pick up this malicious version. Now, this does require that the malicious code is visible on the extension's GitHub page; I'm not sure if this would be true on VSCode as well. |
|
Good luck on that. Check the most popular packages and they all belong to fairly well known people in the community. If it’s something small, people usually just copy the relevant bit to their config. And rarely do huge systems pick up users without active advocacy (helm, ivy, vertico, company, magit, consult, hyperbole, emms, org-mode,…) which means collaboration and plenty of people looking at upstream.