gsd-path-undo
Pass
Audited by Gen Agent Trust Hub on Sep 29, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes bundled Python scripts (
pipeline_undo.py,loop_run.py, etc.) to execute system commands, primarily targetinggitfor repository state management. - Evidence:
scripts/_common.pyprovides wrappers forsubprocess.run(e.g.,run_git) used throughout the skill's scripts.scripts/loop_run.pycontains arun_shellfunction that executes commands defined in a repository'sLOOP.mdspec file. This is gated by resource limits (wall-clock time) and process group management to prevent orphaned processes.- [DYNAMIC_EXECUTION]: Several scripts use dynamic module loading and argument substitution to handle configuration and model selection.
- Evidence:
scripts/path_config.pyusesimportlib.import_moduleto dynamically load sibling scripts likepipeline_stateandreview_panel. This is restricted to internal project helpers.scripts/model_policy.pyperforms string substitution ({model_args},{effort_args}) in command templates based on resolved model policies, facilitating flexible sub-agent dispatching.- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted repository files (e.g.,
PLAN.md,LOOP.md,STATE.md) which could theoretically contain malicious instructions. - Evidence:
scripts/review_panel.pyparsesPLAN.mdto configure cross-model review panels.scripts/loop_run.pyexecutes verification commands directly fromLOOP.mdheaders.- Sanitization: These scripts use specific regex patterns and deterministic logic to parse machine-readable fields, reducing the risk of accidental instruction following from free-text sections. The risk is considered low and inherent to development automation tools.
Audit Metadata