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: 20,085 of 196,338
Downloads: 88,444

Daily

Ranking: 7,783 of 196,320
Downloads: 85

Depended by

RankDownloadsName
5,1611,537,401langchainrb
73,98813,884smart_prompt
131,6035,081partial_compiler
187,4131,120asciidoctor-rubyeval

Depends on

RankDownloadsName
172306,987,160childprocess

Owners

#GravatarHandle
1iconukutaht
2iconjeromeag