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:
=

installation:
=

Versions:

  1. 1.0.5 October 04, 2024 (12 ko)
  2. 1.0.4 September 21, 2017 (10 ko)
  3. 1.0.2 September 15, 2017 (10 ko)
  4. 1.0.1 December 16, 2013 (7 ko)
  5. 1.0.0 December 10, 2013 (7 ko)
Voir toutes les versions (7)

Dépendances de Runtime (1):

Propriétaires:

Pushed by:

Auteurs:

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

Total de contrôle SHA 256:

=

Total de téléchargements 46 295

Pour cette version 370

Version publiée:

License:

MIT

Version de Ruby requise: >= 2.7

New versions require MFA: true

Version published with MFA: true

Liens: