matlab-upgrade-mex-ic
Pass
Audited by Gen Agent Trust Hub on Aug 2, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [SAFE]: The skill follows established MathWorks workflows for MEX file migration. All external links point to official MathWorks domains, and the technical advice provided aligns with the documented changes introduced in MATLAB R2018a.
- [COMMAND_EXECUTION]: The skill provides standard MATLAB
mexbuild commands (e.g.,mex -R2018a) for the user to execute. These commands are necessary for the skill's stated purpose and are intended for manual execution by the user for verification. - [PROMPT_INJECTION]: The skill processes user-provided source code files to identify legacy API calls. This ingestion of untrusted data represents an attack surface, though the risk is minimized by the skill's specific focus on structural API mapping. 1. Ingestion points: The skill reads source files (.c, .cpp, .F, etc.) in the 'Pre-Upgrade Verification' step. 2. Boundary markers: No explicit instructions are present to delimit the code data from the agent's internal instructions. 3. Capability inventory: The skill is designed to create or modify local files and recommend shell commands for compilation. 4. Sanitization: No explicit sanitization of code content is performed, as the skill operates by performing structural substitutions based on static mapping tables.
Audit Metadata