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,724 of 188,047
Downloads: 58,080

Daily

Ranking: 15,206 of 188,026
Downloads: 36

Depended by

RankDownloadsName
6,424760,941langchainrb
112,1286,425smart_prompt
131,8104,683partial_compiler
183,393785asciidoctor-rubyeval

Depends on

RankDownloadsName
161280,593,288childprocess

Owners

#GravatarHandle
1iconukutaht
2iconjeromeag