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: 23,137 of 192,071
Downloads: 67,132

Daily

Ranking: 7,498 of 192,060
Downloads: 284

Depended by

RankDownloadsName
5,6351,146,357langchainrb
98,0528,556smart_prompt
131,2454,887partial_compiler
184,618978asciidoctor-rubyeval

Depends on

RankDownloadsName
168292,814,162childprocess

Owners

#GravatarHandle
1iconukutaht
2iconjeromeag