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, the import_model and run_model functions use importlib.util to load and execute user-defined *_model.py files. These scripts are then called by gen.py, check.py, and snapshot.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 in SKILL.md by warning that model files are executed rather than parsed and advising users to review code from untrusted sources.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 8, 2026, 04:43 AM