matlab-optimize-performance
Pass
Audited by Gen Agent Trust Hub on Nov 13, 2026
Risk Level: SAFEOBFUSCATIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [OBFUSCATION]: The file
scripts/sampling_profiler.pcontains MATLAB P-code, which is an opaque, non-human-readable binary format used by the author to protect the skill's core profiling logic. - [DYNAMIC_EXECUTION]: The skill performs dynamic execution to facilitate profiling of MATLAB workloads. Specifically,
scripts/profile_script.musesrun()to execute MATLAB scripts, whilescripts/profile_function.m,scripts/quick_profile.m, andscripts/profile_test.mexecute function handles. Additionally,scripts/compare_profiles.musesload()to read data from.matfiles, which can execute code via object methods. - [INDIRECT_PROMPT_INJECTION]: The skill possesses an attack surface for indirect prompt injection through its ingestion of MATLAB source code. \n
- Ingestion points:
scripts/annotate_source_lines.mreads MATLAB source files from the file system to provide context for annotated reports. \n - Boundary markers: The skill does not implement delimiters or explicit instructions to isolate processed source code content. \n
- Capability inventory: The skill possesses capabilities for file reading (
fopen,load), file writing (save,jsonencode), and arbitrary MATLAB code execution (run, function handles). \n - Sanitization: No specific sanitization or filtering is applied to the content of source files before they are read into the context.
- [COMMAND_EXECUTION]: The script
scripts/make_ab_commands.mconstructs shell commands (e.g.,matlab -batch) and displays them for the user to execute manually in their terminal.
Audit Metadata