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 -batch and octave --eval for executing code. However, it explicitly mitigates risks by using scripts/plan_batch_command.py which 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' matlabengine and GNU Octave. It follows the [TRUST-SCOPE-RULE] as these are from well-known/trusted technology organizations (MathWorks, Octave.org). The helper scripts/plan_python_compatibility.py uses pinned versions for these resources and does not perform active installation.
  • [DYNAMIC_EXECUTION]: The skill flags dangerous MATLAB functions like eval, evalin, and feval. The static analysis tool scripts/scan_m_code.py is 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.py tool 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
Risk Level
SAFE
Analyzed
Sep 8, 2026, 04:43 AM