lab-hardware-cad

Warn

Audited by Gen Agent Trust Hub on Oct 2, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [DYNAMIC_EXECUTION]: The import_model function in scripts/_common.py utilizes importlib.util to load and execute Python model files from the user's filesystem. The run_model function then invokes the build() method within these modules. This design is necessary for parametric CAD modeling but enables the execution of arbitrary Python code in the environment.
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and execute external Python model files (*_model.py). The documentation acknowledges this attack surface by instructing the agent to manually review models from untrusted sources, recognizing that these files could contain malicious code or instructions intended to subvert the agent's behavior.
  • Ingestion points: User-supplied or agent-generated *_model.py files and the assets/standards.json file.
  • Boundary markers: The instructions mandate structured coding patterns (e.g., INTERFACE and DESIGN blocks) and a specific multi-step workflow to validate geometry.
  • Capability inventory: The skill allows the agent to use Bash, Write, Edit, and executes Python scripts using the build123d kernel.
  • Sanitization: The skill relies on manual human/agent review of script content and uses SHA-256 hashing for provenance tracking, but does not perform automated code sanitization.
  • [EXTERNAL_DOWNLOADS]: The skill references and encourages fetching data from several well-known industry and scientific platforms. These include the ANSI/SLAS standards documents, Thorlabs' optomechanical specification pages, and arXiv.org for research citations. These are treated as reputable sources for scientific metadata and fabrication constraints.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Oct 2, 2026, 05:00 PM