Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Sandbox Python Execution #2

@okennedy

Description

@okennedy

If we're going to rely on Python as heavily as we do, it needs to be executed in a sandboxed context.

Here's some discussion about how to possibly pull this off.

https://stackoverflow.com/questions/3688708/python-safe-sandbox#3688718

Jupyter does this on their hosted services, as, presumably does GitHub. Other services like CodePad also need to play similar games. http://codepad.org/about describes the trick as using chroot and blocking most system calls with ptrace. Sandstorm.io does something similar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions