server-mocha-to-vitest
Pass
Audited by Gen Agent Trust Hub on Oct 17, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill is a developer-focused guide for migrating test suites from Mocha to Vitest within a specific project (@packages/server). All code snippets provided are standard Vitest/Node.js testing patterns.
- [COMMAND_EXECUTION]: The skill contains instructions to run local development commands such as 'yarn workspace @packages/server test-unit-vitest' and 'yarn lint'. These are standard project verification steps and do not involve remote code execution or suspicious parameters.
- [DYNAMIC_EXECUTION]: The skill describes advanced mocking techniques using 'createRequire' and 'require.cache' to intercept CommonJS modules in a Vitest environment. While these involve low-level Node.js APIs, they are documented and necessary practices for mocking legacy dependencies during test migration and do not represent a security risk in this context.
Audit Metadata