solidworks-automation
Warn
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
subskills/solidworks-fillet-chamfer-cnc/scripts/hold_line_bridge.pydynamically compiles C# source code (HoldLineBridge.cs) and C++ source code (NativeHoldLineAddin.cpp) at runtime usingcsc.exeandcl.exeto create specialized DLLs and executables for SolidWorks interaction. - [INDIRECT_PROMPT_INJECTION]: The skill implements a RAG system that creates a potential injection surface:
- Ingestion points:
apps/desktop/cad_workbench/knowledge_retrieval.pyreads local.md,.txt, and.yamlfiles from the skill's reference and subskill directories to build a knowledge context for the AI. - Boundary markers: The prompt compiler in
apps/desktop/cad_workbench/agent_contracts.pyappends retrieved knowledge chunks to the prompt without utilizing strong delimiters or instructions to the AI to ignore potentially malicious embedded commands. - Capability inventory: The skill possesses high-privilege capabilities, including file system write access, optional network operations for cloud RAG, and the ability to execute arbitrary commands via subprocesses to control CAD software (
scripts/sw_connect.py,scripts/fea_analysis.py). - Sanitization: No specific filtering or sanitization of retrieved knowledge snippets is performed before they are interpolated into the agent's execution context.
- [COMMAND_EXECUTION]: The skill extensively uses
subprocess.runandsubprocess.check_callto interact with the host Windows environment, manage toolchains, and execute CAD commands or FEA solvers (e.g., inscripts/sw_preflight.py,scripts/fea_analysis.py, andsubskills/autocad-automation/scripts/acad_dotnet_regression.py). The Tauri-based worker process inapps/desktop/cad_workbench/queue_worker.pymanages a job queue that spawns subprocesses to run Agent CLI tools such as Codex and Claude Code.
Audit Metadata