indygreg / indygreg/PyOxidizer

Can PyOxidizer be a sandboxer?

Open
#81 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
6.2k
Forks
256
PR merge metrics
No merged PRs in 30d

Description

I want to build a website where people (among other things) will run arbitrary Python code. For that, I was thinking about running a submitted Python code in a sandboxed Docker container (with [gVisor](https://gvisor.dev/docs/)). However, that approach makes the project a little bit bloated.
I think it would be cool to have pyOxidizer with options to mock Linux syscalls. There's a crate called [syswall](https://github.com/polaris64/syswall), but not sure it would help.
What do you think?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the proposed Linux syscall mocking approach and the linked syswall and gVisor projects. Determine whether the request is feasible for PyOxidizer and define the required sandboxing behavior and security guarantees before identifying implementation files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python, rust
Domain
operating-systems, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.