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: 19,207 of 198,774
Downloads: 98,665

Daily

Ranking: 8,450 of 198,739
Downloads: 275

Depended by

RankDownloadsName
4,8921,811,330langchainrb
69,86515,515smart_prompt
132,8885,128partial_compiler
189,3481,177asciidoctor-rubyeval

Depends on

RankDownloadsName
177317,155,480childprocess

Owners

#GravatarHandle
1iconukutaht
2iconjeromeag