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: 26,901 of 183,477
Downloads: 46,343

Daily

Ranking: 16,639 of 183,470
Downloads: 7

Depended by

RankDownloadsName
12,063169,602langchainrb
133,7414,158partial_compiler
176,2321,333smart_prompt
181,783376asciidoctor-rubyeval

Depends on

RankDownloadsName
142252,116,158childprocess

Owners

#GravatarHandle
1iconukutaht
2iconjeromeag