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: 25,651 of 186,995
Downloads: 53,121

Daily

Ranking: 13,299 of 186,959
Downloads: 74

Depended by

RankDownloadsName
7,229554,137langchainrb
126,9614,766smart_prompt
133,4014,401partial_compiler
183,288567asciidoctor-rubyeval

Depends on

RankDownloadsName
159273,815,381childprocess

Owners

#GravatarHandle
1iconukutaht
2iconjeromeag