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.md and references/library-setup.md use APIs such as library.settingsLookup(), library.LibraryConfig.save(), and satk.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.md contains a "Promote project config to prefdir" section that uses rmdir(destSATK, 's') to delete existing configuration directories and copyfile to 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.md reads 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_edit tool 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
Risk Level
SAFE
Analyzed
Dec 1, 2026, 02:59 AM