matlab

Warn

Audited by Gen Agent Trust Hub on Jul 10, 2026

Risk Level: MEDIUMCOMMAND_EXECUTION
Full Analysis
  • [PRIVILEGE_ESCALATION]: The SKILL.md file contains instructions to install GNU Octave using sudo apt install octave, which requires executing commands with root privileges.
  • [DYNAMIC_EXECUTION]: The references/executing-scripts.md file provides a run_mfile.sh bash script that accepts an optional command string (CMD) and executes it directly via matlab -batch or octave --eval, facilitating arbitrary command execution.
  • [DYNAMIC_EXECUTION]: The references/python-integration.md reference documents the use of pyrun and pyrunfile, 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 -batch and octave --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, and load (found in references/data-import-export.md). 2. Boundary markers: Absent. 3. Capability inventory: Subprocess execution via matlab -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
Risk Level
MEDIUM
Analyzed
Jul 10, 2026, 04:33 PM