dwg-extraction
Fail
Audited by Gen Agent Trust Hub on Mar 17, 2026
Risk Level: HIGHEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The
compile_libredwg.shscript performs agit clonefromhttps://github.com/LibreDWG/libredwg.gitduring execution. This external repository is not part of the trusted vendors list. - [REMOTE_CODE_EXECUTION]: The skill downloads C source code and compiles it at runtime using
gccinto an executable binary (dwg2dxf). This binary is then executed to process user-provided DWG files. This pattern of downloading, building, and running code from an external source at runtime is a high-risk activity. - [COMMAND_EXECUTION]: The skill uses
bashto run compilation scripts,gccto produce the converter tool, andpython3to execute the entity parser. It also invokes the compiled binary via the command line for file conversion. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection. 1. Ingestion point:
parse_dxf.pyprocesses data from user-supplied DWG files converted to DXF. 2. Boundary markers: No delimiters or "ignore embedded instructions" warnings are used when processing the extracted text. 3. Capability inventory: The skill has the capability to execute subprocesses, rungcc, and perform file system operations. 4. Sanitization: The parser only performs regex-based cleaning of CAD formatting and does not validate the semantic content of the extracted text before it enters the agent context.
Recommendations
- AI detected serious security threats
Audit Metadata