lab-hardware-cad
Warn
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill's primary mechanism for generating hardware designs involves executing arbitrary Python code. In
scripts/_common.py, theimport_modelandrun_modelfunctions useimportlib.utilto load and execute user-defined*_model.pyfiles. These scripts are then called bygen.py,check.py, andsnapshot.py. This functionality is intentional for parametric CAD but creates a medium-severity risk as the agent environment will execute whatever logic is contained within the model files.\n- [INDIRECT_PROMPT_INJECTION]: Because the skill processes and executes code from external model files, it is vulnerable to indirect injection if an attacker provides a malicious model script. The execution of such a file occurs when the agent follows the design workflow (e.g., generating artifacts or running checks). The skill acknowledges this risk inSKILL.mdby warning that model files are executed rather than parsed and advising users to review code from untrusted sources.
Audit Metadata