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: 22,229 of 193,756
Downloads: 73,039
Daily
Ranking: 9,344 of 193,649
Downloads: 137
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 5,404 | 1,322,548 | langchainrb |
| 84,767 | 11,029 | smart_prompt |
| 131,141 | 4,981 | partial_compiler |
| 185,305 | 1,041 | asciidoctor-rubyeval |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 171 | 299,250,751 | childprocess |