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: 24,063 of 189,199
Downloads: 61,460

Daily

Ranking: 11,947 of 189,169
Downloads: 41

Depended by

RankDownloadsName
6,000923,984langchainrb
106,0627,280smart_prompt
131,3734,786partial_compiler
183,886883asciidoctor-rubyeval

Depends on

RankDownloadsName
163285,291,425childprocess

Owners

#GravatarHandle
1iconukutaht
2iconjeromeag