all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* package security auditing and isolation
@ 2017-04-06 14:15 Ted Zlatanov
  2017-04-06 14:48 ` Stefan Monnier
  2017-04-06 14:57 ` Yuri Khan
  0 siblings, 2 replies; 10+ messages in thread
From: Ted Zlatanov @ 2017-04-06 14:15 UTC (permalink / raw)
  To: emacs-devel

After watching some discussions among the MELPA maintainers, I wanted to
ask what Emacs itself can do to audit and isolate packages from
modifying the user's system. This is a concern for almost all Emacs
users because any ELPA repository, its sources, and its signing process
can be compromised for at least a short time. I think it's good to
assume this will happen sooner or later, and to proactively defend Emacs
users from it.

I propose two specific pieces of functionality, which I think are
essential to this task:

1) tools for analyzing the source code and finding the function calls
that can be dangerous. This includes eval, calling the shell, etc.

I don't know how feasible this is, but IMHO it would be valuable. At the
very least it could make code reviews easier by focusing on the
potentially problematic sections. I think Emacs' core is the right place
to add such code, not modules or add-on packages.

2) establishing isolation levels in the C core. Simply put, not all
packages need to be able to run shell commands, delete or modify files,
and so on. When the user installs or updates a package, if the needed
access levels change, that should be noted and acknowledged.

Thanks
Ted




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-04-07  6:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-06 14:15 package security auditing and isolation Ted Zlatanov
2017-04-06 14:48 ` Stefan Monnier
2017-04-06 14:57 ` Yuri Khan
2017-04-06 15:45   ` Ted Zlatanov
2017-04-06 18:19     ` Stefan Monnier
2017-04-06 19:26       ` Ted Zlatanov
2017-04-06 20:12         ` Stefan Monnier
2017-04-06 21:57           ` Ted Zlatanov
2017-04-07  6:58             ` Tim Cross
2017-04-06 20:17         ` Clément Pit-Claudel

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.