category-selection
Pass
Audited by Gen Agent Trust Hub on Oct 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/workflow.pyutilizessubprocess.runto executecurlcommands for communicating with the Sorftime API. While this involves local shell command execution, it is performed using a list-based command structure (preventing shell injection) and targets a specific vendor-owned domain (mcp.sorftime.com) for its primary functional purpose. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data (Amazon product titles, brand names, and descriptions) retrieved from an API, which constitutes an indirect prompt injection surface.
- Ingestion points: External data is ingested through the
category_reportandproduct_detailAPI calls inscripts/workflow.pyandscripts/analyze_category.py. - Boundary markers: The skill does not implement specific delimiter-based boundaries to isolate external data from internal instructions.
- Capability inventory: The skill possesses the capability to write files to the local disk (generating
.md,.xlsx, and.htmlreports) and make network requests viacurland therequestslibrary. - Sanitization: The implementation includes several layers of sanitization, including
escape_control_chars_in_json_stringsto handle raw control characters andfix_mojibaketo correct encoding issues before the data is used in reports.
Audit Metadata