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, and vitest to manage dependencies, list tests, and run test suites. It also runs custom Node.js scripts (coverage-viewer.mjs and parity-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/sdk package.
  • [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.md and scripts/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
Risk Level
SAFE
Analyzed
Dec 2, 2026, 07:54 AM