improvement-orchestrator
Pass
Audited by Gen Agent Trust Hub on Oct 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/orchestrate.pyutilizes thesubprocess.runfunction to execute a sequence of Python scripts for generating, scoring, evaluating, and executing skill improvements. The commands are constructed using absolute paths derived from the repository root, which mitigates simple shell injection but enables the management and execution of other functional modules within the environment. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to process external feedback and memory data, which serves as a potential vector for indirect prompt injection. Malicious instructions hidden in these data sources could influence the improvement proposals generated by the pipeline.
- Ingestion points: The
_auto_discover_feedbackfunction inscripts/orchestrate.pyautomatically reads from global feedback stores (e.g.,~/.claude/skills/session-feedback-analyzer/feedback-store/feedback.jsonl) and local.improvement-memorydirectories. User-provided paths via the--sourceargument are also ingested. - Boundary markers: The orchestrator does not implement explicit boundary markers or delimiters when passing these feedback strings to the generation scripts.
- Capability inventory: The pipeline includes the ability to apply modifications to local skill files (
improvement-executor) and run system commands via subprocesses. - Sanitization: There is no evidence of content sanitization or instruction-filtering in the orchestrator script for the data it collects before passing it to the generator.
- [DYNAMIC_EXECUTION]: The orchestrator manages dynamic workflows by calculating script paths at runtime. Additionally, the test suite (
tests/test_orchestrate.py) uses theimportlibmodule to dynamically load and execute the orchestrator's logic for verification purposes.
Audit Metadata