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.py utilizes the subprocess.run function 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_feedback function in scripts/orchestrate.py automatically reads from global feedback stores (e.g., ~/.claude/skills/session-feedback-analyzer/feedback-store/feedback.jsonl) and local .improvement-memory directories. User-provided paths via the --source argument 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 the importlib module to dynamically load and execute the orchestrator's logic for verification purposes.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 13, 2026, 01:06 AM