[Python-Dev] Challenge: Please break this! (a.k.a restricted mode revisited)

Victor Stinner victor.stinner at gmail.com
Sat Apr 9 08:43:19 EDT 2016

Please don't loose time trying yet another sandbox inside CPython. It's
just a waste of time. It's broken by design.

Please read my email about my attempt (pysandbox):

And the LWN article:

There are a lot of safe ways to run CPython inside a sandbox (and not rhe

I started as you, add more and more things to a blacklist, but it doesn't

See pysandbox test suite for a lot of ways to escape a sandbox. CPython has
a list of know code to crash CPython (I don't recall the dieectory in
sources), even with the latest version of CPython.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160409/1e372d1f/attachment.html>

More information about the Python-Dev mailing list