model-based-testing
Pass
Audited by Gen Agent Trust Hub on Dec 2, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: Executes shell commands via
npm,npx,playwright, andvitestto manage dependencies, list tests, and run test suites. It also runs custom Node.js scripts (coverage-viewer.mjsandparity-check.mjs) for local coverage reporting and test verification. - [EXTERNAL_DOWNLOADS]: Fetches packages from the official NPM registry, including
@xstate/test,xstate,fast-check, and the author's@statelyai/sdkpackage. - [INDIRECT_PROMPT_INJECTION]:
- Ingestion points: Processes local end-to-end test files, JSON test inventories, and execution reports to generate model tests and verify parity (documented in
SKILL.mdandscripts/parity-check.mjs). - Boundary markers: While it instructs the agent to read documentation and confirm models with the user, it lacks explicit delimiters to ignore embedded instructions within the processed test code.
- Capability inventory: Includes shell command execution and script-based file reading across multiple files.
- Sanitization: No specific sanitization of logic within the end-to-end test files is performed before they are used to influence model generation.
Audit Metadata