selector-drift-recovery
Pass
Audited by Gen Agent Trust Hub on Oct 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: Utilizes standard developer tools (gh, npx, node, jq) to interact with GitHub, run the Playwright test suite, and execute local utility scripts. These commands are typical for QA automation workflows.- [EXTERNAL_DOWNLOADS]: Fetches Playwright trace artifacts from the project's own GitHub repository using the gh CLI. As these are user-controlled artifacts from a well-known service, they are considered safe references.- [INDIRECT_PROMPT_INJECTION]: The skill ingests Playwright reports and DOM snapshots (Ingestion: results.json, .aria.yml). While boundary markers for the data are not present, capabilities are limited to local file operations and test execution. The risk is addressed by sanitization and schema validation within failure-inventory.ts and score-candidates.mjs.- [DYNAMIC_EXECUTION]: Generates and applies code diffs to update test files. The process avoids unsafe evaluation (eval/exec) and includes a mandatory validation step where the recovered suite is re-run to confirm correctness.
Audit Metadata