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: 26,937 of 183,021
Downloads: 45,803

Daily

Ranking: 19,982 of 183,007
Downloads: 14

Depended by

RankDownloadsName
13,055144,198langchainrb
133,7274,128partial_compiler
176,8941,078smart_prompt
181,673338asciidoctor-rubyeval

Depends on

RankDownloadsName
142249,642,493childprocess

Owners

#GravatarHandle
1iconukutaht
2iconjeromeag