matlab
Pass
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [SAFE]: The skill demonstrates a high security posture by implementing defensive measures against path traversal, symlink attacks, and resource exhaustion. Its core utility scripts (
scripts/_common.py) enforce strict boundaries on local file access and input sizes. - [INDIRECT_PROMPT_INJECTION]: The skill handles untrusted data in the form of MATLAB source code (
.m) and binary MAT files. It provides specific triage tools (scripts/scan_m_code.pyandscripts/inventory_mat_file.py) to detect risky patterns like dynamic evaluation or object deserialization before they are processed by the agent. - Ingestion points: Processes local MATLAB files, project manifests, and binary data files provided by the user.
- Boundary markers: Instructions explicitly direct the agent to treat all external files as untrusted and to perform static review before interaction.
- Capability inventory: The skill possesses capabilities for local file writing and command planning, but no automated execution or network access.
- Sanitization: Helper scripts sanitize JSON inputs into escaped MATLAB literals and validate all identifiers to prevent injection.
- [COMMAND_EXECUTION]: The
scripts/plan_batch_command.pytool generates command-line arguments for numerical runtimes. The skill documentation explicitly prohibits the agent from executing these commands automatically, requiring a manual review and approval process by the user. - [EXTERNAL_DOWNLOADS]: The skill mentions official scientific Python packages (e.g.,
matlabengine,scipy,h5py) and references documentation from trusted organizations like MathWorks and Octave. No automated installation or remote script execution is performed.
Audit Metadata