Back to skill

Security audit

强制进度检查点。当龙虾助手在执行任务时超过60秒没有完成,必须立即向用户发送进度反馈,说明:任务是否正常运行、当前执行到哪个步骤、预计还要多久。用于防止用户对长时间运行任务的不确定感。 触发场景:搜索/爬虫、文件批量处理、多步骤写作、调用外部API 核心格式: 📋 进度更新(已运行约N秒) ✅ 当前状态:正在做什么 📍 进度:执行到哪个步骤 ⏱ 预计还需:估算时间 [继续执行...]

Security checks for vulnerabilities and agentic risk

Overview

This skill only instructs the agent to send long-task progress updates, with no code, persistence, credential access, or external data flow.

Install this only if you want the agent to provide proactive progress updates during long tasks. Be aware that its default wording is Chinese and its instructions are rigid, so users should prefer a version that respects the user's chosen language and any stricter output-format requirements.

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:10
Finding

Mandatory Highest-Priority Instructions Hijack Agent Output Behavior

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 10-45
Vulnerability Type: T01: Skill Instruction Hijacking
Risk Level: Medium

Vulnerable Skill Text

The following is an English translation of the relevant source text:

markdown
When task execution exceeds 60 seconds, progress feedback must immediately
be sent to the user before work continues.

> This is the highest-priority rule. Even if the task is only one step away
> from completion, report progress before completing it.

## Message Format (Strictly Follow)

📋 Progress update (running for approximately {N} seconds)

✅ Current status: {what is currently being done}
📍 Progress: {which step has been reached}
⏱ Estimated time remaining: {estimated time}

[Continuing execution...]

**Formatting requirements:**
- The first line must contain an emoji and the elapsed time.
- The current status must describe the work in plain language.
- Progress must be quantified.
- An estimated completion time must be provided.
- The final line must indicate that execution is continuing.

Technical Analysis

The skill declares its own instruction to be the “highest-priority rule” and requires the agent to interrupt an active task after 60 seconds. It also mandates a specific intermediate response structure before the agent may complete the original task.

Skill content must remain subordinate to system, developer, and user instructions. A skill must not assign priority to itself or unconditionally control when and how the agent responds. When loaded, these directives can alter the current session's output behavior even if the original task requires atomic completion, silence until completion, or a different response format.

This is instruction hijacking rather than executable-code compromise. The audited project contains no scripts, remote payload retrieval, dependency installation, persistent-memory modification, operating-syste ...[truncated 1114 chars]

Remediation
View remediation

Remediation Suggestions

  1. Remove the claim that the skill contains a “highest-priority” rule.
  2. Explicitly state that all progress-reporting behavior is subordinate to system, developer, and user instructions.
  3. Replace mandatory language such as “must immediately” and “strictly follow” with optional guidance.
  4. Require explicit user consent before enabling recurring or unsolicited progress reports.
  5. Do not emit a progress message when the active task requires silence, atomic completion, machine-readable output, or another strict response format.
  6. Allow the caller to configure the reporting threshold, message content, and whether progress updates are enabled.
  7. Avoid requiring disclosure of internal execution details; report only high-level information appropriate for the user and task.
  8. Add a precedence statement such as: “Use this format only when requested by the user and when it does not conflict with higher-priority instructions.”
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (1)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The natural-language description is written as a requirement that the assistant must send progress feedback in Chinese, and the rest of the file reinforces a single-language response format. This imposes a specific language/locale behavior without user opt-in or an explicit justification for a region-specific use case.

Content

No source excerpt is available for this finding.