selection-toolkit
Pass
Audited by Gen Agent Trust Hub on Oct 14, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill reads and processes external Word documents (.docx) to extract criteria, weights, and dates. While the driver script uses structured parsing logic, the ingestion of untrusted external documents constitutes a surface for indirect prompt injection.\n
- Ingestion points: The
read_sourcefunction inscripts/selection_toolkit.pyextracts text and tables from external .docx files.\n - Boundary markers: No explicit boundary markers or instructions to ignore embedded content are present in the prompt context.\n
- Capability inventory: The skill possesses capabilities to write Excel files and execute PowerShell snippets via Excel COM (through the
ane_packagedependency).\n - Sanitization: The script uses regex-based validation for weights (
NUMBER) and dates (DATE_PATTERNS) which limits the impact of arbitrary text.\n- [DYNAMIC_EXECUTION]: Thescripts/selection_toolkit.pyscript uses dynamic path manipulation (sys.path.insert) to bootstrap theane_packagelibrary (a vendor resource) from the user's environment. It also executes a hardcoded PowerShell script (VERIFY_BODY) via an Excel COM bridge to automate workbook recalculation and verification, which is a functional requirement for the toolkit's operation.\n- [COMMAND_EXECUTION]: The included test suite (scripts/test_selection_toolkit.py) usessubprocess.runto execute the driver script during integration testing. This is a standard and safe practice for testing command-line interfaces.
Audit Metadata