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,159 of 187,239
Downloads: 55,642

Daily

Ranking: 16,155 of 187,224
Downloads: 30

Depended by

RankDownloadsName
6,864638,322langchainrb
117,2925,796smart_prompt
132,1154,575partial_compiler
183,296677asciidoctor-rubyeval

Depends on

RankDownloadsName
159276,859,176childprocess

Owners

#GravatarHandle
1iconukutaht
2iconjeromeag