integration-flow-testing
Warn
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/generate.pycontains logic in_load_snapshot_programmaticthat dynamically modifies the Python system path to include a directory based on the user's home path (~/.claude/skills/wiring-query/scripts) and imports a module namedloader. This dynamic loading from a computed path is a security risk as it makes the skill's behavior dependent on external files that may be modified or compromised. \n- [INDIRECT_PROMPT_INJECTION]: The skill is vulnerable to indirect injection via the contract map it processes. \n - Ingestion points: The skill reads the
contract-map.yamlfile provided via thecontract_map_pathargument ingenerate_tests. \n - Boundary markers: No explicit boundary markers or directives are used when processing the contract map to prevent the agent from obeying embedded instructions. \n
- Capability inventory: The skill has the capability to write
.py(pytest) and.js(jest) files to the filesystem and create transition requests in the.ledger/requests/directory. \n - Sanitization: The
_render_integration_test_pytestfunction inscripts/generate.pyinterpolatesendpointandfailure_modevalues from the contract map into docstrings without escaping sequences like\"\"\". This allows an attacker to inject arbitrary code into the generated test files.
Audit Metadata