openscad
Fail
Audited by Gen Agent Trust Hub on Sep 13, 2026
Risk Level: HIGHDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The scripts
scripts/validate.jsandscripts/test-design.jsutilize theeval()function within theirextractParametersmethods to parse variable values from.scadfiles. This pattern is highly insecure as it allows for arbitrary JavaScript code execution if a processed OpenSCAD file contains malicious payloads within its parameter assignments (e.g.,value = (function(){ /* malicious code */ })();). Since the agent is instructed to run these scripts on files in the workspace, this represents a significant Remote Code Execution (RCE) vector. - [COMMAND_EXECUTION]: Multiple utility scripts, including
scripts/analyze-geometry.js,scripts/check-bed-fit.js,scripts/test-design.js, andscripts/validate.js, execute theopenscadbinary usingexecSync. These scripts pass file paths and parameter values directly into the shell command string. While they attempt to use quotes, the reliance on external file content to build command arguments creates a risk of command injection if the input files contain specially crafted filenames or parameter strings designed to break out of the shell quoting context.
Recommendations
- AI detected serious security threats
Audit Metadata