Registry / utility / sandbox

sandbox

JSON →
library0.1.1rbrubygemsunverified

A really small filesystem sandbox for Ruby.

gem install sandbox
INSTALL
IMPORT
SIG · SANDBOX
S
sandbox
utilityrubyv0.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Sandbox
require 'sandbox'

Run code in a restricted filesystem sandbox

require 'sandbox' Sandbox.safe { File.read('/etc/passwd') }
Debug
Known issues
gotchaMay not provide complete security isolation
fix
Use with caution; consider more robust sandboxing solutions for untrusted code
affects: >= 0
Upgrade
Version history
0.1.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
sandbox — gem install sandbox · libregistry