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,379 of 188,802
Downloads: 60,041

Daily

Ranking: 20,103 of 188,779
Downloads: 5

Depended by

RankDownloadsName
6,148862,131langchainrb
107,3277,072smart_prompt
131,5264,759partial_compiler
183,723867asciidoctor-rubyeval

Depends on

RankDownloadsName
162283,490,756childprocess

Owners

#GravatarHandle
1iconukutaht
2iconjeromeag