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.py and scripts/gen.py involves dynamically importing and executing these user-provided *_model.py files. 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.py and scripts/check.py import and run user-supplied *_model.py files.
  • Boundary markers: SKILL.md contains 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, and Edit tools, and the skill can execute arbitrary Python via importlib.util.module_from_spec in scripts/_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
Risk Level
SAFE
Analyzed
Oct 31, 2026, 01:35 PM