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,915 of 187,603
Downloads: 56,820

Daily

Ranking: 12,205 of 187,591
Downloads: 39

Depended by

RankDownloadsName
6,635695,615langchainrb
114,8776,090smart_prompt
131,9684,632partial_compiler
183,146745asciidoctor-rubyeval

Depends on

RankDownloadsName
160278,597,694childprocess

Owners

#GravatarHandle
1iconukutaht
2iconjeromeag