debug-menu-and-test-hooks
Warn
Audited by Gen Agent Trust Hub on Oct 18, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONDYNAMIC_CONTEXT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_CONTEXT_INJECTION]: The skill uses the
!commandsyntax inSKILL.md(Workflow step 9) to executenode ${CLAUDE_SKILL_DIR}/scripts/check-test-hooks.mjs .when the skill is accessed. This script performs an automated audit of the host project's test-only infrastructure. - [DYNAMIC_EXECUTION]: The checker implementation in
scripts/check-test-hooks.mjsand its helperscripts/lib/app-modules.mjsuses Node.jsmodule.registerHooksand dynamicimport()to load and execute the project's own TypeScript source code. This is used to run behavior probes against the app's internal logic, such as clock and connectivity simulations. - [COMMAND_EXECUTION]: The skill's utility library
scripts/check-lib.mjsprovides functions to spawn child processes usingchild_process.spawnSyncand perform extensive filesystem operations, including writing, deleting, and renaming files. These are primarily utilized by the skill's self-test suite and repository scanning logic.
Audit Metadata