matlab
Pass
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes user-provided MATLAB code, MAT file metadata, and project manifests, which presents an attack surface for indirect prompt injection via embedded malicious instructions.
- Ingestion points: The scripts
scripts/scan_m_code.py,scripts/inventory_mat_file.py, andscripts/validate_project_manifest.pyread content from local.m,.mat, and.jsonfiles provided by the user. - Boundary markers: The instructions in
SKILL.mdand reference documents mandate an "assume-malicious" posture, requiring all external files to be treated as untrusted and stating that static review is not proof of safety. - Capability inventory: The Python helper scripts use standard libraries for file I/O, regex scanning, and hashing. They do not employ subprocess execution, shell access, or dynamic evaluation (e.g.,
eval()orexec()) to process user data. - Sanitization:
scripts/_common.pyimplements rigorous path validation, including a function to reject symlinks and absolute paths, effectively preventing directory traversal attacks. It also enforces strict limits on input file sizes and JSON nesting complexity. - [SAFE]: The skill is designed as a security-conscious utility that facilitates the review of proprietary and free numerical environments without executing unverified code. It includes specific checks to detect and refuse dangerous artifacts, such as Python pickle signatures hidden within MAT files.
Audit Metadata