T06 · System Persistence
- Location
skills/autoloop-controller/references/scheduling-guide.md:3- Finding
Non-expiring system cron job enables persistent unattended execution
- Content
View full analysis
&1 | tee -a "${STATE_ROOT}/autoloop.log" ``` The controller then starts the orchestrator in automatic mode: ```python cmd = [ sys.executable, str(ORCHESTRATOR_SCRIPT), "--target", str(target), "--state-root", str(state_root), "--auto", ] proc = subprocess.run(cmd, capture_output=True, text=True, timeout=3600) ``` ### Technical Analysis The scheduling guide recommends registering an operating-system cron entry that executes every four hours, survives terminal and Agent sessions, and has no expiration. Although recurring evaluation is consistent with the controller's declared scheduling functionality, recommending permanent system-level persistence exceeds the privileges needed for an ordinary one-shot or supervised evaluation. The scheduled command ultimately invokes the improvement orchestrator with `--auto`. Consequently, evaluation and Skill mutation can continue without a currently active user session or per-run approval. The shell wrapper quotes its parameters correctly, and the Python subprocess uses an argument list rather than `shell=True`, so no direct shell injection was identified in this path. The risk arises from persistence and unattended authority rather th ...[truncated 1116 chars]- Remediation
View remediation
