segment-anything-model
Pass
Audited by Gen Agent Trust Hub on Sep 27, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill provides instructions to download pre-trained model checkpoints (ViT-H, ViT-L, ViT-B) from Meta AI's official public storage servers.
- [REMOTE_CODE_EXECUTION]: The skill includes commands to install the Segment Anything and Segment Anything 2 libraries directly from the official Facebook Research GitHub repositories.
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process image data from external sources, creating a potential surface for indirect injection if used in conjunction with text-prompted models like Grounding DINO.
- Ingestion points: The skill reads image files from the local filesystem (
cv2.imread) and handles image uploads in the FastAPI service example. - Boundary markers: None are specified for the incoming image data.
- Capability inventory: Capabilities are limited to image transformation, feature extraction, and mask generation; no evidence of arbitrary code execution or unauthorized network operations involving processed data.
- Sanitization: The skill relies on standard image processing libraries (OpenCV, PIL) for decoding and normalization.
Audit Metadata