skills/anivar/zod-testing/zod-testing/Gen Agent Trust Hub

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.md for structural testing that uses child_process.execSync to run a grep command. This is intended to enforce architectural rules, such as ensuring domain code does not directly import raw schemas.
  • [DYNAMIC_EXECUTION]: The skill suggests using madge for circular dependency detection and execSync for 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, and madge. 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.md reads project source files within the src/domain/ directory using grep, and the circular dependency check analyses the src/ 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.execSync for shell execution and fs.writeFileSync for 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
Risk Level
SAFE
Analyzed
Oct 19, 2026, 06:52 PM