vitest
Pass
Audited by Gen Agent Trust Hub on Nov 3, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill facilitates the execution and analysis of test suites, creating a surface where an agent could be influenced by instructions embedded in test code, failure messages, or snapshots.\n
- Ingestion points: The agent is expected to read and process test files (*.test.ts), snapshot files, and reporter outputs.\n
- Boundary markers: The skill mentions the 'agent' reporter which helps scope output, but there are no specific prompt delimiters for the test content itself.\n
- Capability inventory: The documented tool (Vitest) can execute code (tests), write files (snapshots), and access the network (via tests/mocks).\n
- Sanitization: No specific sanitization of test output content is mentioned.\n- [DYNAMIC_EXECUTION]: The documentation includes usage of 'node:vm' for isolated test environments and 'vi.mock' for dynamic module replacement. These are standard features of the testing framework but involve runtime code manipulation.\n- [EXTERNAL_DOWNLOADS]: The skill provides instructions for installing common development dependencies such as 'jsdom', 'happy-dom', and 'playwright' from the NPM registry. These are well-known packages used for browser simulation.\n- [COMMAND_EXECUTION]: The skill documents numerous CLI commands for running, filtering, and debugging tests, which involve executing code in various environments (Node, browser, VM).
Audit Metadata