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: 23,285 of 191,335
Downloads: 65,423

Daily

Ranking: 12,371 of 191,296
Downloads: 62

Depended by

RankDownloadsName
5,7181,085,311langchainrb
101,6237,997smart_prompt
131,2484,840partial_compiler
184,289932asciidoctor-rubyeval

Depends on

RankDownloadsName
167290,329,727childprocess

Owners

#GravatarHandle
1iconukutaht
2iconjeromeag