subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
exit; """ subprocess.run([ "matlab", "-batch", matlab_script ])- Confidence
- 93% confidence
- Finding
- subprocess.run([ "matlab", "-batch", matlab_script ])
Security checks across malware telemetry and agentic risk
This skill appears intended for FreeSurfer brain-analysis work, but it runs MATLAB code built from unescaped input paths and depends on analyzer code that is not packaged for review.
Review before installing or running. Use only trusted file paths in a contained working directory, and ask the publisher to include the MATLAB analyzer source and fix argument handling so paths cannot be interpreted as MATLAB code.
exit;
"""
subprocess.run([
"matlab", "-batch", matlab_script
])56/56 vendors flagged this skill as clean.