lab-hardware-cad
Pass
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill uses Python scripts to define hardware geometry. The core logic in
scripts/_common.pyandscripts/gen.pyinvolves dynamically importing and executing these user-provided*_model.pyfiles. While this is the intended design for parametric CAD, it allows for arbitrary code execution in the agent's environment. The skill mitigates this risk through prominent warnings and a structured workflow that encourages verification. - [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect injection if an attacker provides a malicious model file.
- Ingestion points:
scripts/gen.pyandscripts/check.pyimport and run user-supplied*_model.pyfiles. - Boundary markers:
SKILL.mdcontains a 'Setup' section that explicitly instructs the agent to only run trusted files and to read any untrusted files before execution. - Capability inventory: The agent possesses
Bash,Write, andEdittools, and the skill can execute arbitrary Python viaimportlib.util.module_from_specinscripts/_common.py. - Sanitization: No automated code sanitization is performed; safety relies on the agent's manual review of the Python model source code.
Audit Metadata