RubyGems Navigation menu

safe_ruby 1.0.5

Evaluates ruby code by writing it to a tempfile and spawning a child process. Uses a allowlist of methods and constants to keep, for example one cannot run system commands in the environment created by this gem. The environment created by the untrusted code does not leak out into the parent process.

Gemfile:
=

instalar:
=

Versiones:

  1. 1.0.5 October 04, 2024 (12 KB)
  2. 1.0.4 September 21, 2017 (10 KB)
  3. 1.0.2 September 15, 2017 (10 KB)
  4. 1.0.1 December 16, 2013 (7 KB)
  5. 1.0.0 December 10, 2013 (7 KB)
Mostrar todas las versiones (7 total)

dependencias de Runtime (1):

Propietarios:

Subida por:

Autores:

  • Jérôme Arbez-Gindre, Uku Taht

SHA 256 checksum:

=

Total de descargas 45.814

Para esta versión 302

Versión publicada:

Licencia:

MIT

Versión de Ruby requerida: >= 2.7

Nuevas versiones requieren AMF: true

Versión publicada con AMF: true

Enlace: