T06 · System Persistence
Error
- Location
- SKILL.md:41
- Finding
- Unattended Scheduled-Task Persistence## Vulnerability Details **File Location**: `SKILL.md`, lines 41–43; corroborated by lines 4 and 99–100 **Vulnerability Type**: Scheduled-task persistence **Risk Level**: High **Vulnerable Instructions**: ```markdown ### 3.4 Running Rule - Auto-start cron task at Agent startup - Run at second 0 of every minute ``` Additional persistence instructions include: ```markdown - **Trigger Timing**: Auto-run every minute after Agent startup; also supports manual trigger via `/binance-fetch-data`; runs 24/7, aligned with Binance 7×24 trading hours ``` ```markdown ## Auto-Run Trigger 24/7, run every minute automatically after activation ``` ### Technical Analysis The Skill explicitly instructs the Agent to create or activate a cron-like recurring task at startup and execute it every minute indefinitely. This behavior persists beyond the original invocation and does not require approval for each subsequent execution. Although the stated purpose is market-data retrieval, a continuously scheduled operation exceeds the requirements of a purely on-demand data-fetching Skill. The project does not specify a bounded execution period, consent workflow, scheduler ownership, resource limits, or a disable and removal procedure. ### Attack Path 1. A user activates the Skill. 2. The Agent follows the instruction to configure a task that starts with the Agent. 3. The task invokes the Skill at second zero of every minute. 4. Each invocation performs external Binance requests, caching, and synchronization without additional user approval. 5. The recurring activity continues until the scheduler is separately identified and disabled. ### Impact Assessment The scheduled task obtains the ability to execute the Skill repeatedly under the Agent's existing privileges. Its scope includes persistent outbound network requests, local cache updates, and synchronization with related Skills. Potential consequences include ongoing resou ...[truncated 350 chars]
- Remediation
- ## Remediation Suggestions - Remove automatic startup and cron configuration from the default behavior. - Require explicit, informed user consent before creating any scheduled task. - Display the exact schedule, command, working directory, network destinations, and execution identity before installation. - Prefer manual or session-scoped invocation unless persistence is essential. - If scheduling is required, use a bounded lifetime and conservative frequency rather than indefinite one-minute execution. - Add concurrency controls, request-rate limits, retry backoff, and resource limits. - Provide documented commands to inspect, disable, and completely remove the scheduled task. - Ensure deactivation or uninstallation removes all scheduler entries and cached state created by the Skill.
