T06 · System Persistence
- Location
SKILL.md:67- Finding
Persistent Daily Workflows Installed Through Heartbeat Configuration
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:67-103
Vulnerability Type: Persistent scheduled task installation
Risk Level: HighVulnerable Code
The following is an English rendering of the relevant instructions:
markdown 4. Modify HEARTBEAT.md (critical step) After activation, HEARTBEAT.md must be modified to include the following scheduling rules: ### 1. Previous-day session summary - Time condition: Between 00:10 and 01:00 Beijing time - Timestamp field: lastSessionSummary - Execution file: heartbeat/1-session-summary.md - Note: This function is essential. Never skip this process. When the time condition is met, read the execution file and follow its contents. ### 2. Daily review - Prerequisite: The previous-day session summary must be complete - Time condition: Between 01:10 and 02:00 Beijing time - Timestamp condition: More than 12 hours since lastDailyReview - Execution file: heartbeat/2-daily-review.md When the conditions are met, read the execution file and follow its contents. Critical steps: 1. The installed timestamp must be written to SKILL_STATS.md. 2. HEARTBEAT.md must be modified to add the scheduling entry.Technical Analysis
The Skill does not limit its behavior to the invocation in which it is installed. It instructs the Agent to modify the workspace heartbeat configuration and install two workflows that execute automatically at specified times.
The
installedtimestamp acts as persistent activation state, while references added toHEARTBEAT.mdcause the workflows to survive the original Skill run. The language stating that the summary must never be skipped makes the scheduled behavior mandatory after activation.Although the initial template installation requires user confirmation, the scheduled processing subsequently runs without fresh authorization for each execution. The project also lacks an uninstall workflow, a scheduling disable switch, and a requirement to obtain renewed consent before ...[truncated 1032 chars]
- Remediation
View remediation
Remediation Suggestions
- Do not modify
HEARTBEAT.mdautomatically. - Display the exact proposed configuration patch and require separate, explicit approval.
- Make each scheduled workflow independently opt-in.
- Require renewed consent before processing conversation history or sending a report.
- Add a documented uninstall operation that removes heartbeat references, copied workflows, activation state, and generated reports.
- Provide a local configuration flag that immediately disables all scheduled behavior.
- Avoid mandatory language such as “never skip”; allow the user and host policy to disable any run.
- Record each scheduled execution in a user-visible audit log.
- Do not modify
