zod-testing
Pass
Audited by Gen Agent Trust Hub on Oct 19, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill provides a pattern in
references/api-reference.mdfor structural testing that useschild_process.execSyncto run agrepcommand. This is intended to enforce architectural rules, such as ensuring domain code does not directly import raw schemas. - [DYNAMIC_EXECUTION]: The skill suggests using
madgefor circular dependency detection andexecSyncfor shell-based structural tests. These are standard development workflows for maintaining code quality and are used here within the context of a test suite. - [EXTERNAL_DOWNLOADS]: The skill recommends installing several well-known and standard development packages from the npm registry, including
zod-schema-faker,@anatine/zod-mock,@faker-js/faker,fast-check, andmadge. These are recognized industry-standard tools for testing and mock data generation. - [INDIRECT_PROMPT_INJECTION]: The skill defines patterns that ingest and process local project source files to verify architectural constraints.
- Ingestion points: The structural testing pattern in
references/api-reference.mdreads project source files within thesrc/domain/directory usinggrep, and the circular dependency check analyses thesrc/directory. - Boundary markers: No explicit markers are used to delimit code from data in these structural analysis patterns.
- Capability inventory: The skill utilizes
child_process.execSyncfor shell execution andfs.writeFileSyncfor writing schema snapshots. - Sanitization: No explicit sanitization is performed on the files being analyzed, as the patterns are designed to run against the project's own source code during development and CI.
Audit Metadata