Prior art: Racket Sandboxed Evaluation Lassi Kortela 18 Jul 2019 13:26 UTC

(require racket/sandbox)

"The racket/sandbox module provides utilities for creating “sandboxed”
evaluators, which are configured in a particular way and can have
restricted resources (memory and time), filesystem and network access,
and much more. Sandboxed evaluators can be configured through numerous
parameters"

<https://docs.racket-lang.org/reference/Sandboxed_Evaluation.html>