skills/datadrivenconstruction/ddc_skills_for_ai_agents_in_construction/defect-detection-ai/Gen Agent Trust Hub
defect-detection-ai
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: The
DefectDetectionModelclass inSKILL.mdusestorch.load()to load model weights. This function utilizes thepicklemodule for deserialization, which can execute arbitrary code if an untrusted or malicious model file is supplied via themodel_pathargument. - [EXTERNAL_DOWNLOADS]: The code references
torchvision.modelswith thepretrained=Trueparameter (e.g., ResNet18 and Faster R-CNN). This triggers the download of model weights from official PyTorch infrastructure, which is a well-known and trusted service. - [SAFE]: The skill uses established libraries for construction quality control tasks, including OpenCV for edge detection and Pandas for generating inspection reports. The declared filesystem permission in
claw.jsonis consistent with its intended purpose of reading images and writing Excel reports.
Audit Metadata