setup-custom-libraries
Pass
Audited by Gen Agent Trust Hub on Dec 1, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes MATLAB commands to manage Simulink library configurations and block policies.
- Evidence:
SKILL.mdandreferences/library-setup.mduse APIs such aslibrary.settingsLookup(),library.LibraryConfig.save(), andsatk.Configuration.setPolicy()to interact with the system. - [PRIVILEGE_ESCALATION]: The skill has the capability to modify files and delete directories within the user's MATLAB preference directory (
prefdir()), which is a privileged location for application configuration. - Evidence:
references/library-setup.mdcontains a "Promote project config to prefdir" section that usesrmdir(destSATK, 's')to delete existing configuration directories andcopyfileto replace them. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from custom Simulink libraries (block names, descriptions, and category metadata) that could influence the agent's behavior during model building.
- Ingestion points:
references/library-setup.mdreads generated Knowledge Index files (e.g.,.satk/library-kg/custom/<lib>/index.md) to determine block intent and usage. - Boundary markers: Absent. The instructions tell the agent to read the index and use descriptions directly for decision-making.
- Capability inventory: The skill uses the
model_edittool and various file system operations (rmdir,copyfile,save). - Sanitization: Absent. There is no evidence of validation or escaping for the block descriptions inferred during the "Automatic" indexing process.
Audit Metadata