RubyGems Navigation menu

safe_ruby 1.0.4

Evaluates ruby code by writing it to a tempfile and spawning a child process. Uses a whitelist 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.

Versions:

  1. 1.0.4 - September 21, 2017 (10 KB)
  2. 1.0.2 - December 04, 2013 (10 KB)
  3. 1.0.1 - December 04, 2013 (7 KB)
  4. 1.0.0 - December 04, 2013 (7 KB)
  5. 0.0.1 - December 04, 2013 (7 KB)
Show all versions (6 total)

Runtime Dependencies (1):

Development Dependencies (3):

Authors:

  • Uku Taht

Owners:

051d7d3cccb9ec47de909157ce759f42

SHA 256 checksum:

b48adc670932063e1d63b2d208cf377baf4048b0e0bd0a721bcffd19b4af21f5

Total downloads 4,297

For this version 338

Gemfile:
= Copy to clipboard Copied!

install:
=

License:

MIT

Required Ruby Version: >= 0

Links: