matlab-setup-worker-state
Pass
Audited by Gen Agent Trust Hub on Jun 16, 2026
Risk Level: SAFECREDENTIALS_UNSAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [CREDENTIALS_UNSAFE]: The evaluation file evals/files/parallelQueryFetch.m contains hardcoded database credentials ("user", "pass"). These are intended as placeholders for an optimization exercise.
- Evidence: evals/files/parallelQueryFetch.m: database("MyDB", "user", "pass");.
- [COMMAND_EXECUTION]: The evaluation file evals/files/loadlibraryInsideParfor.m uses loadlibrary to load a shared library into the process. This is a standard MATLAB function for interfacing with external code.
- Evidence: evals/files/loadlibraryInsideParfor.m: loadlibrary("mylib", "mylib.h");.
- [COMMAND_EXECUTION]: The file evals/files/spmdWorkerTempDirs.m uses file system commands like mkdir and cd to manage temporary scratch directories on parallel workers.
- Evidence: evals/files/spmdWorkerTempDirs.m: mkdir(scratchDir); cd(scratchDir);.
- [EXTERNAL_DOWNLOADS]: SKILL.md links to official MathWorks documentation for the createConnectionForPool function. This is a trusted reference to a well-known service.
- Evidence: SKILL.md: https://www.mathworks.com/help/database/ug/createconnectionforpool.html.
Audit Metadata