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.p contains 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.m uses run() to execute MATLAB scripts, while scripts/profile_function.m, scripts/quick_profile.m, and scripts/profile_test.m execute function handles. Additionally, scripts/compare_profiles.m uses load() to read data from .mat files, 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.m reads 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.m constructs shell commands (e.g., matlab -batch) and displays them for the user to execute manually in their terminal.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 13, 2026, 06:13 PM