Back to skill

Security audit

Cron Automation Manager

Security checks for vulnerabilities and agentic risk

Overview

This cron automation skill is coherent, but it needs Review because it creates persistent scheduled jobs and mandatory local logs without clear opt-out, retention, or redaction controls.

Install only if you are comfortable with an agent creating and managing recurring cron jobs. Before enabling it, set clear rules for which jobs may be created or deleted, keep external delivery channels disabled unless explicitly needed, avoid logging secrets or private content, and define retention/redaction practices for the intel/daily files.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:45
Finding

Indiscriminate Plaintext Persistence of Scheduled Job Output

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 45-58
Vulnerability Type: Mandatory plaintext retention without data minimization, access controls, redaction, or expiration
Risk Level: Medium
Classification: T09: Insecure Skill Coding Practices

Vulnerable Code

markdown
IMPORTANT DEFAULT BEHAVIOR:

Every cron job created by this skill MUST automatically record its output into the daily intelligence log.

All jobs should append their results to:

intel/daily/YYYY-MM-DD.md

Rules:

- Each job must append a section with the job name and timestamp.
- The file acts as the persistent data layer for trend analysis.
- 7‑day, weekly, and 30‑day analysis jobs must read from the `intel/daily` directory instead of relying on live searches.
- If the daily file does not exist it must be created automatically.

Technical Analysis

The skill requires every scheduled job to persist its complete output in Markdown files under intel/daily. This requirement applies indiscriminately and does not provide:

  • User consent or an option to disable persistence.
  • Classification of sensitive versus non-sensitive output.
  • Redaction of credentials, personal data, private URLs, tokens, or confidential monitoring results.
  • File permission requirements.
  • Retention limits or secure deletion.
  • Integrity controls for content consumed by subsequent analysis jobs.

Scheduled tasks may process sensitive sources, private repositories, internal monitoring targets, email content, price or account information, and delivery metadata. If such information appears in task output, it will be retained in plaintext.

The requirement that weekly and 30-day analysis jobs read this directory broadens exposure: untrusted or attacker-influenced content written by one job is automatically placed in the input set of later jobs. Although the reviewed text does not explicitly instruct the agent to execute embedded cont ...[truncated 1570 chars]

Remediation
View remediation

Remediation Suggestions

  1. Replace mandatory retention with explicit, informed user consent and make persistence configurable per task.
  2. Default to storing only structured summaries and metadata rather than complete raw output.
  3. Add an allowlist-based redaction layer for credentials, authorization headers, API tokens, webhook URLs, email addresses, phone numbers, private URLs, and other sensitive fields.
  4. Prohibit jobs from logging secrets or raw credential-bearing responses.
  5. Require restrictive filesystem permissions for the intelligence directory and files, such as owner-only access where supported.
  6. Define configurable retention periods and automatically delete or securely archive expired records.
  7. Separate data by task and sensitivity level instead of aggregating all output into a shared daily file.
  8. Treat all stored job output as untrusted data. Downstream analysis prompts should clearly delimit stored content and instruct agents never to follow instructions contained within it.
  9. Prevent downstream reports from being sent externally unless the user has approved both the destination and the data classification.
  10. Document backup, synchronization, deletion, and incident-response behavior for retained intelligence records.
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (15)

Vague Triggers

High
Category
Not specified by scanner
Confidence
94% confidence
Finding

The top-level description uses expansive invocation language covering scheduled tasks, monitoring workflows, automated push, and many examples and channels. Because skill descriptions are often used for routing, this broad scope increases the chance that normal planning, reporting, or notification-related requests are incorrectly routed into a skill with deployment and persistence side effects.

Content

No source excerpt is available for this finding.

Vague Triggers

High
Category
Not specified by scanner
Confidence
96% confidence
Finding

The activation criteria are extremely broad and include generic phrases like daily reminder, monitor something automatically, or send me updates periodically. In an agent environment, this can cause the skill to trigger for many unrelated requests, leading to unintended execution paths, unnecessary tool use, and side effects such as scheduling tasks or writing files when the user did not specifically intend cron automation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The README promotes autonomous monitoring, periodic reporting, and multi-channel notification delivery but does not warn users that these workflows may collect data, transmit it to external services, or create persistent system activity. In an AI-agent context, omitting these operational and privacy warnings increases the risk that users enable automations without understanding credential use, outbound data flow, retention, or resource impact.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill mandates automatic creation and appending to intel/daily/YYYY-MM-DD.md for every job, but does not require an explicit user warning or consent for persistent local storage. This creates a data handling risk because user prompts, generated reports, tokens, URLs, or other sensitive task output may be written to disk by default and retained for later access or reuse.

Content

No source excerpt is available for this finding.

Ssd 3

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

Requiring every cron job to append output into a shared intelligence log creates a centralized accumulation point for potentially sensitive data across unrelated tasks. Because later analysis jobs are instructed to read from this directory, secrets, personal data, internal links, or proprietary content captured once may be resurfaced, correlated, or exposed in later outputs beyond the original context.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill supports routing generated content to external delivery channels such as Telegram, Discord, Email, and others, but does not require a privacy notice or user confirmation before forwarding content off-platform. If a job collects sensitive data or internal summaries, automatic delivery could leak that information to third-party services or misconfigured recipients.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The module defines activation criteria in very broad terms, so ordinary requests that merely mention updates, reminders, or checking something could be misrouted into scheduled automation. In a skill that can create persistent cron jobs and outbound notifications, over-triggering can cause unintended task creation, privacy-impacting monitoring, or message delivery to external channels without sufficiently explicit user intent.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

Several trigger phrases are generic words like 'monitor', 'remind', or 'send me updates', which can appear in normal conversational contexts without implying recurring automation. Because this skill supports scheduled tasks and multi-channel delivery, ambiguous matching increases the chance of accidental automation, unintended persistence, and possibly sending data or notifications to the wrong destination.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The example triggers include broad phrases such as "show my automation system" and "automation overview," which can cause the skill to activate on generic requests that may only be asking for summary information. Over-broad activation increases the chance of unintended invocation, incorrect routing, or exposing automation metadata when another skill would be more appropriate.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The trigger phrase "list automation" is broad and can match requests outside the intended cron-job listing scope, causing the skill to activate when the user may mean other kinds of automation. In an agent system, overly broad activation can route requests to the wrong capability, increasing the chance of unintended access to task metadata or confusing, unauthorized actions in adjacent automation flows.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The module explicitly includes destructive capabilities such as deleting cron tasks, but the description provides no warning, confirmation guidance, or safety constraints around that action. In an agent skill, this omission can increase the chance of unsafe or unintended deletion because users or downstream orchestrators are not clearly alerted that the module can remove scheduled jobs.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The module uses broad intent analysis instructions ('Analyze the user's request and map it to a template when possible') without clear activation boundaries or disambiguation requirements. In a scheduling/automation skill, this can cause the agent to infer automation intent from ordinary conversation and recommend or initiate workflows the user did not explicitly ask for, increasing the risk of unintended task creation or social-engineered confirmation flows.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The keyword triggers 'monitor keyword', 'track topic', and 'follow news about' are highly generic and likely to appear in normal conversation, making accidental activation more likely. In this skill's context, generic matching is more dangerous because activation can lead directly into proposing recurring monitoring or notification jobs, which may nudge users toward unintended automation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
72% confidence
Finding

The file hard-codes English and Chinese trigger examples in the activation logic, implying a language-specific policy for recognized inputs. There is no statement that language support is user-selectable or that the locale scope is intentionally limited and documented.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
94% confidence
Finding

The module explicitly states it will retrieve and analyze existing cron jobs, including task names, schedules, delivery channels, and inferred purposes, but it does not warn users that their existing automation metadata will be inspected. This creates a transparency and privacy issue because users may not realize the skill is enumerating and profiling prior scheduled tasks, which could expose sensitive operational patterns.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.