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: 22,229 of 193,756
Downloads: 73,039

Daily

Ranking: 9,344 of 193,649
Downloads: 137

Depended by

RankDownloadsName
5,4041,322,548langchainrb
84,76711,029smart_prompt
131,1414,981partial_compiler
185,3051,041asciidoctor-rubyeval

Depends on

RankDownloadsName
171299,250,751childprocess

Owners

#GravatarHandle
1iconukutaht
2iconjeromeag