solidworks-automation
Pass
Audited by Gen Agent Trust Hub on Oct 5, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONPRIVILEGE_ESCALATIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data which could potentially contain malicious instructions.
- Ingestion points: Reads project configuration from
parameters.jsonandproject.json(inapps/desktop/cad_workbench/core.py). It also performs knowledge retrieval (RAG) by scanning local skill files and user-provided directories for context interpolation (inapps/desktop/cad_workbench/knowledge_retrieval.py). - Boundary markers: Prompts are constructed with clear headers like "【任务目标】", "【强制规则】", and "【最终响应格式】" in
apps/desktop/cad_workbench/agent_contracts.pyto separate system instructions from data. - Capability inventory: The skill can execute system commands via
subprocess, compile source code, and has extensive file system access within the workspace (demonstrated inapps/desktop/cad_workbench/agent_contracts.pyandqueue_worker.py). - Sanitization: It implements ID and filename sanitization through
safe_idandvalidate_basename. A "Policy Gate" system is implemented to require human approval for high-risk capabilities likegit_pushanddanger-full-access(inapps/desktop/cad_workbench/agent_contracts.py). - [DYNAMIC_EXECUTION]: The skill compiles and executes code at runtime to interface with CAD applications.
- Evidence:
subskills/solidworks-fillet-chamfer-cnc/scripts/hold_line_bridge.pyinvokescsc.exe(.NET compiler) andcl.exe(MSVC compiler) to build bridge components for SolidWorks.subskills/autocad-automation/scripts/acad_dotnet_regression.pybuilds a C# project for AutoCAD. This is a functional requirement for deep CAD integration but increases the complexity of the execution environment. - [PRIVILEGE_ESCALATION]: The skill performs operations that typically require administrative privileges on Windows systems.
- Evidence:
dotnet/CadStudio.SolidWorks.AddinHost/SwAddin.cswrites toHKEY_LOCAL_MACHINE\SOFTWARE\SOLIDWORKS\Addinsto register its COM Add-in. The installation scriptmcp-server/register_all_ai_mcp.ps1uses the PowerShell-ExecutionPolicy Bypassflag. These behaviors are documented as part of the tool's core installation and setup process. - [COMMAND_EXECUTION]: Extensive use of shell command execution for system automation.
- Evidence: Various scripts use
subprocess.runandsubprocess.check_callto manage worker processes, run CAD solvers (CalculiX), and manage environment dependencies (e.g., inscripts/fea_analysis.pyandscripts/sw_preflight.py).subskills/autocad-automation/scripts/acad_preview.pyexecutes a dynamically generated PowerShell script to perform image conversions.
Audit Metadata