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: 24,548 of 188,635
Downloads: 59,120

Daily

Ranking: 13,412 of 188,368
Downloads: 51

Depended by

RankDownloadsName
6,251823,763langchainrb
109,4726,745smart_prompt
131,7154,720partial_compiler
183,516830asciidoctor-rubyeval

Depends on

RankDownloadsName
162282,310,424childprocess

Owners

#GravatarHandle
1iconukutaht
2iconjeromeag