matlab
Pass
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The skill documents the use of
matlab -batchandoctave --evalfor executing code. However, it explicitly mitigates risks by usingscripts/plan_batch_command.pywhich only generates a non-executing plan (argv) for the user to review. It warns against executing untrusted.m, MEX, or MAT files. - [EXTERNAL_DOWNLOADS]: The skill mentions external dependencies such as MathWorks'
matlabengineand GNU Octave. It follows the [TRUST-SCOPE-RULE] as these are from well-known/trusted technology organizations (MathWorks, Octave.org). The helperscripts/plan_python_compatibility.pyuses pinned versions for these resources and does not perform active installation. - [DYNAMIC_EXECUTION]: The skill flags dangerous MATLAB functions like
eval,evalin, andfeval. The static analysis toolscripts/scan_m_code.pyis designed to detect these patterns in user-provided source code before any execution occurs. It also includes specific checks for Python and Java interoperability within the MATLAB environment. - [DATA_EXFILTRATION]: The skill includes a
scripts/inventory_mat_file.pytool that scans MAT files for metadata without deserializing objects or loading dataset values, preventing potential data-loading attacks. It also restricts filesystem access to a validated local project root, rejecting URLs and symlinks.
Audit Metadata