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,571 of 189,968
Downloads: 63,794

Daily

Ranking: 16,591 of 189,933
Downloads: 31

Depended by

RankDownloadsName
5,8311,007,657langchainrb
103,9207,635smart_prompt
131,2564,816partial_compiler
184,041909asciidoctor-rubyeval

Depends on

RankDownloadsName
165287,862,229childprocess

Owners

#GravatarHandle
1iconukutaht
2iconjeromeag