Categories: None [Edit]

safe_ruby

https://rubygems.org/gems/safe_ruby
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.

Total

Ranking: 22,672 of 193,188
Downloads: 70,498

Daily

Ranking: 17,044 of 193,154
Downloads: 34

Depended by

RankDownloadsName
5,4911,260,455langchainrb
88,74910,151smart_prompt
131,2824,952partial_compiler
185,1121,026asciidoctor-rubyeval

Depends on

RankDownloadsName
169297,029,542childprocess

Owners

#GravatarHandle
1iconukutaht
2iconjeromeag