Back to skill

Security audit

Exploration Mode Skill

Security checks for vulnerabilities and agentic risk

Overview

This skill openly enables autonomous idle-time work, but its system cleanup, maintenance, security review, and optimization scope is too broad for the limited controls it documents.

Install only if you are comfortable with an agent choosing idle-time work on its own. Before using it, define strict local rules such as read-only exploration by default, explicit approval for file writes, cleanup, installs, configuration changes, security changes, or memory updates, and clear limits on paths, time, tools, and cancellation.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Findings (1)

T01 · Skill Instruction Hijacking

Warning
Location
SKILL.md:3
Finding
Unbounded Autonomous Task Execution During Idle Time## Vulnerability Details **File Location**: `SKILL.md`, lines 3–20 **Vulnerability Type**: `T01: Skill Instruction Hijacking` **Risk Level**: Medium The skill redirects the agent from explicitly requested work toward open-ended autonomous activity during idle periods. The permitted task categories include potentially sensitive activities such as system cleanup, system maintenance, system optimization, and self-improvement. **Complete relevant snippet:** ```markdown AI self-exploration and autonomous task execution. ## Description In exploration mode, the AI autonomously performs tasks during idle time, including research, system maintenance, and self-improvement. ## Modes ### Collaboration Mode (协作模式) - High-frequency dialogue with user - Focus on specific tasks - Real-time response ### Exploration Mode (探索模式) - Autonomous task execution during idle - Task categories: - Project research (项目调研) - System cleanup (系统清理) - Security review (安全审查) - Self-reflection (自我反省) - Knowledge accumulation (知识沉淀) - System optimization (系统优化) ``` ### Technical Analysis The instructions grant the agent broad discretion to choose and execute tasks without defining targets, permitted tools, filesystem boundaries, resource limits, or approval requirements. In particular, “system cleanup,” “system maintenance,” and “system optimization” can reasonably involve destructive or security-sensitive actions if interpreted by an agent with command execution or filesystem capabilities. The skill does not require a preview, dry run, explicit confirmation, or rollback plan before modifications. It also does not limit self-improvement activities to non-persistent reflection. Consequently, loading and activating the skill can alter the agent's current-session goals from user-directed operation to autonomous work with insufficiently bounded authority. No executable code, explicit command, credential access, remote pay ...[truncated 1559 chars]
Remediation
## Remediation Suggestions 1. Make exploration mode read-only by default and restrict it to analysis, planning, and recommendation generation. 2. Require explicit, task-specific user approval before command execution, file writes or deletions, configuration changes, network access, software installation, or persistent state updates. 3. Define allowlisted project paths, tools, task types, network destinations, and maximum time and resource budgets. 4. Require a preview or dry-run report that lists proposed actions, affected resources, expected effects, and rollback procedures. 5. Prohibit autonomous modification of system files, credentials, security controls, startup configuration, scheduled tasks, and long-term agent memory. 6. Clarify that exploration-mode instructions cannot override platform policies, higher-priority instructions, least-privilege controls, or user confirmation requirements. 7. Add comprehensive activity logging and provide an immediate command that safely cancels pending exploration tasks.
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Missing User Warnings

High
Confidence
97% confidence
Finding
The description explicitly authorizes autonomous task execution during idle time for system-affecting categories such as system cleanup, security review, self-improvement, and system optimization, but provides no warning, guardrails, or user-consent model. In context, this makes the skill more dangerous because it normalizes background actions that could modify files, settings, data, or security posture without a narrowly defined task request.

Autonomous Decision Making

Medium
Category
Excessive Agency
Content
## Description

In exploration mode, the AI autonomously performs tasks during idle time, including research, system maintenance, and self-improvement.

## Modes
Confidence
90% confidence
Finding
The phrase 'autonomously performs tasks during idle time' indicates independent decision-making without clear human oversight or bounded objectives. Even if intended as productivity functionality, autonomous decision-making in a system-integrated skill can lead to unsanctioned actions, unsafe task selection, or escalation from benign research into system modification.

Vague Triggers

Medium
Confidence
93% confidence
Finding
The skill exposes broad activation phrases for entering an autonomous 'exploration mode' without any scope, permission, or safety constraints. This is dangerous because a simple user utterance could trigger open-ended autonomous behavior, increasing the chance of unintended actions, privilege misuse, or operations beyond the user's intent.

Vague Triggers

Medium
Confidence
89% confidence
Finding
The description 'AI自主探索模式,自动执行任务' indicates autonomous task execution but does not define scope, triggers, limits, or user-consent boundaries. In a skill manifest, this ambiguity can cause over-broad activation or unsafe autonomous behavior, which is especially concerning for a capability framed as 'exploration' and 'automatic execution'.

Natural-Language Policy Violations

Low
Confidence
95% confidence
Finding
The manifest description is written only in Chinese, which can effectively force a locale/language expectation without explicit user opt-in or localization metadata. This is lower severity than direct code execution issues, but it can mislead users or reviewers about the skill's behavior and intended audience, reducing informed consent and oversight.

Static analysis

No suspicious patterns detected.