nsjail
Pass
Audited by Gen Agent Trust Hub on Jun 24, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The
nsjail_runfunction inscripts/commands.pyfacilitates the execution of arbitrary commands within an nsjail sandbox. - [COMMAND_EXECUTION]: The implementation utilizes
subprocess.runwith a list of arguments andshell=False, which is a recommended security practice to mitigate shell injection risks. - [COMMAND_EXECUTION]: The sandbox configuration mounts key system directories (
/,/tmp,/usr) in read-only or restricted modes by default, leveraging nsjail's isolation features.
Audit Metadata