typescript-unit-testing
Pass
Audited by Gen Agent Trust Hub on May 7, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill uses standard shell commands (
npm test,grep,tail,rm) to execute unit tests and manage output. It specifically implements a 'Context Efficiency' pattern by redirecting verbose test output to temporary files in/tmp/using unique session IDs to prevent bloating the AI's context. This is a standard and safe practice for developer-oriented skills. - [EXTERNAL_DOWNLOADS]: The skill recommends installing common, well-known testing libraries from the official npm registry, such as
@nestjs/testing,jest,ts-jest,@golevelup/ts-jest,mongodb-memory-server, andpg-mem. These are standard dependencies for the TypeScript/NestJS ecosystem. - [INDIRECT_PROMPT_INJECTION]: The skill has an attack surface in Category 8 because it reads and analyzes user-provided source code and test files. However, it follows best practices by emphasizing isolation through mocking and provides structured workflows to guide the agent's behavior, minimizing the risk of accidental obedience to instructions embedded in the code it analyzes. The risk is considered low and inherent to the skill's purpose.
Audit Metadata