headless-cron-creator
Pass
Audited by Gen Agent Trust Hub on Oct 18, 2026
Risk Level: SAFEPERSISTENCECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [PERSISTENCE]: The skill is designed to create persistent background tasks via the system crontab, which allows code to run outside of the active agent session.
- The skill automates the installation of crontab entries that are intended to be recurring and survive session termination.
- Mitigation: The instructions require explicit user confirmation before modifying the crontab and use a tagging system for safe management and removal of entries.
- [COMMAND_EXECUTION]: The skill uses the
Bashtool to execute Python scripts and shell commands for generating and validating cron wrapper scripts. - User-provided parameters like
name,prompt, andscheduleare interpolated into shell command strings during script generation and crontab installation. - The skill incorporates
bash -nfor syntax checking of the generated scripts to prevent accidental execution of malformed code. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted user input which is then embedded into executable shell scripts, creating a potential injection surface.
- Ingestion points: The
name,prompt, andschedulearguments provided by the user in theSKILL.mdparsing phase. - Boundary markers: The instructions in Phase 4 explicitly require the agent to display the proposed crontab entry and wait for human confirmation before final installation.
- Capability inventory: The skill uses the
Bashtool to run thecrontab-manager.pyhelper and theWritetool to create the wrapper scripts. - Sanitization: Instructions suggest using bash heredocs to prevent escaping issues and mandate safety flags like
set -euo pipefailand budget caps in the generated scripts. - [DYNAMIC_EXECUTION]: Generates shell wrapper scripts at runtime based on user-supplied task descriptions.
- The skill writes a
.shfile and then schedules it for execution, which is a form of dynamic script generation. - The process is managed via a template-based generation tool (
crontab-manager.py generate-wrapper) which reduces the risk of arbitrary code injection compared to manual script construction.
Audit Metadata