T06 · System Persistence
- Location
SKILL.md:2339- Finding
Optional Cron Configuration Creates Persistent Execution of Mutable User-Writable Scripts
- Content
View full analysis
> ~/.openclaw/customers/{user_name}/floreo/.daily-prompt # Every Sunday at 8pm 0 20 * * 0 cd ~/.openclaw/customers/{user_name}/floreo && ./generate-weekly-reflection.sh ``` ### Technical Analysis The Skill instructs users to register recurring cron jobs that survive the current Skill or Agent session. These jobs execute shell scripts stored beneath a user-writable Floreo directory. Cron therefore turns later changes to those scripts into unattended code execution under the account that installed the jobs. Scheduled report generation is related to the declared optional automation feature, so the mechanism is not inherently unrelated or a demonstrated backdoor. However, cron persistence is not required for the core journaling functionality and exceeds the minimum privileges needed for manual entry, local analysis, and on-demand report generation. The instructions do not provide: - Script ownership or permission validation. - Integrity verification before scheduled execution. - A protected installation directory for executable files. - Logging or failure handling. - A documented removal or disable procedure. - A clear confirmation step explaining that the configura ...[truncated 1127 chars]- Remediation
View remediation
