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: 19,716 of 197,085
Downloads: 92,616

Daily

Ranking: 11,892 of 197,066
Downloads: 37

Depended by

RankDownloadsName
5,0641,641,086langchainrb
71,17314,886smart_prompt
132,2955,098partial_compiler
188,5571,142asciidoctor-rubyeval

Depends on

RankDownloadsName
173311,010,345childprocess

Owners

#GravatarHandle
1iconukutaht
2iconjeromeag