FICHA · AUR

python-restrictedpython

A restricted execution environment for Python to run untrusted code

  • Restricted execution library
  • LIBRARY
  • Dependency only
official+codex · reviewed · Jun 3, 2026 description in en

Description

Untrusted Python snippets can be constrained with a restricted execution environment for controlled embedding scenarios. Developers can limit available builtins and operations when evaluating user-supplied code, policies, or templates. It is a defense-in-depth library and should not be treated as a complete security boundary by itself.

Permissions

Permissions not analysed for this source yet.