matlab
Warn
Audited by Gen Agent Trust Hub on Jul 10, 2026
Risk Level: MEDIUMCOMMAND_EXECUTION
Full Analysis
- [PRIVILEGE_ESCALATION]: The
SKILL.mdfile contains instructions to install GNU Octave usingsudo apt install octave, which requires executing commands with root privileges. - [DYNAMIC_EXECUTION]: The
references/executing-scripts.mdfile provides arun_mfile.shbash script that accepts an optional command string (CMD) and executes it directly viamatlab -batchoroctave --eval, facilitating arbitrary command execution. - [DYNAMIC_EXECUTION]: The
references/python-integration.mdreference documents the use ofpyrunandpyrunfile, which allow the MATLAB runtime to execute arbitrary Python code and scripts. - [COMMAND_EXECUTION]: The skill documents multiple patterns for executing MATLAB and Octave scripts via shell commands like
matlab -batchandoctave --no-gui, which could be exploited if user-supplied data is interpolated into command strings. - [INDIRECT_PROMPT_INJECTION]: The skill possesses an indirect prompt injection surface. 1. Ingestion points:
readtable,readmatrix,readcell, andload(found in references/data-import-export.md). 2. Boundary markers: Absent. 3. Capability inventory: Subprocess execution viamatlab -batch, file-write (writetable), file-delete (delete), and directory manipulation (rmdir). 4. Sanitization: Absent. The skill processes untrusted external data (CSV, Excel, MAT) while maintaining significant system-interaction capabilities.
Audit Metadata