Categories: None [Edit]
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,724 of 188,047
Downloads: 58,080
Daily
Ranking: 15,206 of 188,026
Downloads: 36
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 6,424 | 760,941 | langchainrb |
| 112,128 | 6,425 | smart_prompt |
| 131,810 | 4,683 | partial_compiler |
| 183,393 | 785 | asciidoctor-rubyeval |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 161 | 280,593,288 | childprocess |