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: 20,402 of 195,762
Downloads: 85,606

Daily

Ranking: 12,161 of 195,747
Downloads: 68

Depended by

RankDownloadsName
5,2111,484,207langchainrb
75,00713,541smart_prompt
131,3335,066partial_compiler
186,7851,107asciidoctor-rubyeval

Depends on

RankDownloadsName
171304,784,783childprocess

Owners

#GravatarHandle
1iconukutaht
2iconjeromeag