isolate is a sandbox focused on safely executing untrusted programs while limiting their ability to interact with the host system.
It originated in programming contest infrastructure, where submitted executables need to run automatically without being trusted, but its underlying model is useful anywhere controlled execution of arbitrary programs is required. Each sandbox receives a dedicated working area and a restricted view of system resources. The tool is intentionally specialised around process execution rather than providing a general-purpose container management platform.
This is free and open source software.
Key Features
- Uses Linux namespaces to separate sandboxed processes from the host environment.
- Employs control groups to account for and restrict resource consumption.
- Can impose limits on processor time, wall-clock time, memory and other resources.
- Provides a dedicated working directory for each sandbox instance.
- Controls which directories and files from the host are visible inside the sandbox.
- Supports read-only, read-write and temporary filesystem mappings.
- Can mount selected virtual filesystems including proc, sysfs, tmpfs and devpts.
- Provides syscall filtering through seccomp.
- Restricts communication with the outside world unless explicitly permitted.
- Records execution statistics and termination information for the calling system.
- Designed for automated judging systems and other services that repeatedly execute untrusted binaries.
- Includes separate initialisation, execution and cleanup stages so sandbox lifecycle management can be incorporated into larger systems.
Website: github.com/ioi/isolate
Support:
Developer: Martin Mareš and Bernard Blackham
License: GNU General Public License v2.0
isolate is written in C. Learn C with our recommended free books and free tutorials.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.