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,832 of 196,619
Downloads: 91,177

Daily

Ranking: 8,885 of 196,594
Downloads: 145

Depended by

RankDownloadsName
5,1141,592,437langchainrb
71,66614,624smart_prompt
131,9615,087partial_compiler
188,1161,130asciidoctor-rubyeval

Depends on

RankDownloadsName
172309,329,628childprocess

Owners

#GravatarHandle
1iconukutaht
2iconjeromeag