next-step
Warn
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
analyze.jsscript executes multiple shell commands to inspect the repository state, includinggit diff,git status, andgit branch. It also spawns child processes to run a local review-state checker script (scripts/review-state.js). - [DYNAMIC_EXECUTION]: The
analyze.jsscript uses a dynamic path resolution mechanism for_pluginRootto load internal modules (utils,feature-resolver,request-status) viarequire. This resolution depends on environment variables (PLUGIN_ROOT) or runtime directory traversal, which is a form of dynamic loading from computed paths. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from the repository, including filenames and the content of markdown files in the
docs/features/directory. - Ingestion points:
analyze.jsreads file paths fromgit statusoutput and reads file content fromdocs/features/**/*.mdto parse status and acceptance criteria. - Boundary markers: No explicit delimiters or boundary markers are used when processing the content of these files.
- Capability inventory: The skill can execute subprocesses via
analyze.jsand can invoke further agent commands through theSkilltool as defined in theDispatch Modesection ofSKILL.md. - Sanitization: The skill attempts to sanitize arguments for its auto-execution mode by filtering tokens to only include those that start with
--, include a/, or include a.(intended to allow only flags and paths). However, malicious file names could potentially be crafted to satisfy these conditions while attempting to influence command behavior.
Audit Metadata