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,960 of 192,588
Downloads: 68,468

Daily

Ranking: 14,608 of 192,564
Downloads: 40

Depended by

RankDownloadsName
5,5661,198,184langchainrb
90,9799,664smart_prompt
131,2994,914partial_compiler
184,911995asciidoctor-rubyeval

Depends on

RankDownloadsName
168294,852,497childprocess

Owners

#GravatarHandle
1iconukutaht
2iconjeromeag