scheduler
Warn
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: MEDIUMPERSISTENCEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PERSISTENCE]: The skill is explicitly designed to maintain execution across sessions by registering background tasks with native operating system schedulers.
- Evidence: The
scripts/setup-crontab.shscript modifies the Linux user's crontab using thecrontab -command. - Evidence: The
scripts/setup-launchd.shscript creates and loads macOS LaunchAgents by writing.plistfiles to~/Library/LaunchAgents/and usinglaunchctl load. - Evidence: The
scripts/setup-schtasks.ps1script creates scheduled tasks on Windows using theschtasks.execommand-line utility. - [DYNAMIC_EXECUTION]: The skill dynamically assembles and writes executable scripts or configuration files based on parameters passed to it at runtime.
- Evidence:
scripts/setup-launchd.shgenerates a complete XML plist file with shell commands embedded in theProgramArgumentskey. - Evidence:
scripts/setup-crontab.shconstructs a command string that includes directory changes and output redirection before passing it to the cron daemon. - Evidence:
scripts/setup-schtasks.ps1builds a PowerShell command array to create a Task Scheduler entry with a custom shell command string. - [INDIRECT_PROMPT_INJECTION]: The skill presents an attack surface for indirect prompt injection as it ingests untrusted commands for persistent background execution.
- Ingestion points: User-provided commands and scheduling parameters are accepted via the
/scheduler:schedule-addcommand defined inSKILL.md. - Boundary markers: The skill does not implement boundary markers or instructions to the agent to ignore potentially malicious content within the commands being scheduled.
- Capability inventory: The skill has the capability to write to sensitive directory paths (like
~/Library/LaunchAgents) and execute arbitrary shell commands via system schedulers across three different operating systems. - Sanitization: While
scripts/setup-launchd.shperforms basic XML entity escaping, there is no validation or sanitization of the actual command logic to prevent command injection or the scheduling of malicious tasks. - [COMMAND_EXECUTION]: The skill facilitates the execution of arbitrary shell commands through the use of system-level tools.
- Evidence:
SKILL.mdexplicitly allows the use ofBash(crontab:*),Bash(launchctl:*), andBash(schtasks:*)to manage background processes.
Audit Metadata