FG
💻 Software

Is it possible to run a bash script in a sort of sandbox?

Fresh5 days ago
Mar 15, 20267471 views
Confidence Score0%
0%

Problem

Our product has a need to execute an unknown bash script on a delicate server in order to achieve a certain goal. This bash script is user-supplied. We are interested in ensuring that only specific commands are allowed, and that all other are not. Furthermore, we need to replace some commands with …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is it possible to run a bash script in a sort of sandbox?

Low Risk

There is no 100% safe short of running the script inside a virtual machine, which would presumably prevent the script from achieving its goal. But there are two features that may help you. If you're worried that the script was written by a malicious…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment