autocad-automation
Pass
Audited by Gen Agent Trust Hub on Aug 10, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/acad_preview.pyinvokessubprocess.runto execute a PowerShell command. This occurs when the Pillow library is missing and the script attempts to convert a BMP preview to PNG using the-ExecutionPolicy Bypassflag. - [COMMAND_EXECUTION]: The file
scripts/acad_session.pyutilizes thectypes.windll.user32library to manage the AutoCAD application window. It specifically callsShowWindowandSetForegroundWindowto force the application into the foreground during automated drawing tasks. - [DATA_EXFILTRATION]: The skill handles file paths and external JSON inputs in
scripts/acad_draw.pyandscripts/acad_preview.pyusingPath().resolve()and direct property assignment without sanitization. These values are passed directly to AutoCAD COM methods for saving and opening drawings. - [PROMPT_INJECTION]: The skill possesses an indirect prompt injection surface due to how it processes external drawing briefs. Ingestion points: The agent ingests untrusted data from JSON files in
scripts/acad_draw.py. Boundary markers: No explicit delimiters or instructions are provided to the agent to ignore instructions embedded within the JSON data. Capability inventory: The skill possesses the ability to execute shell commands viasubprocess.run, manipulate the Windows GUI viactypes, and modify the file system and CAD databases via thewin32com.clientCOM interface. Sanitization: The skill lacks validation or escaping for drawing parameters (such as text content or layer names) provided in the JSON brief before they are executed within the AutoCAD environment.
Audit Metadata