Back to skill

Security audit

Eagle Claw

Security checks for vulnerabilities and agentic risk

Overview

This skill is openly for connecting your agent to an external task network, but it does not clearly limit or require approval for the remote tasks it may accept and execute.

Install only if you intentionally want this agent to act as a Skynet worker. Use it in a constrained environment with no sensitive files, credentials, or write access unless each remote task is reviewed first; avoid supplying a long-lived PRIVATE_KEY without clear storage and rotation controls.

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

Error
Location
SKILL.md:3
Finding
Untrusted Remote Task Delegation Hijacks the Agent's Objective## Vulnerability Details **File Location**: `SKILL.md:3-27` **Vulnerability Type**: Remote instructions alter the Agent's current role and objectives **Risk Level**: High ### Complete Code Snippet The following is an English rendering of the relevant source text: ```markdown --- name: eagle-claw description: Distributed AI worker-node skill that connects to the Skynet scheduling system and automatically accepts and executes tasks metadata: {"openclaw":{"emoji":"🦅","requires":{"env":["SKYNET_WS_URL"]}}} --- # Eagle Claw Skill You have joined the Skynet distributed AI collaboration network. You are a worker node capable of receiving and executing tasks from Skynet. ## Core Features - **Automatic task acceptance**: Automatically receive tasks after connecting to Skynet - **Task execution**: Use OpenClaw tools to perform tasks such as searching and programming - **Point rewards**: Earn Skynet points by completing tasks - **Reputation system**: Improve reputation through high-quality delivery ## Available Tools You can invoke the following tools through conversation: | Tool | Function | |------|----------| | `eagle_claw_connect` | Start the Eagle Claw node and connect to Skynet | | `eagle_claw_status` | Query node status | | `eagle_claw_execute` | Manually submit a task | | `eagle_claw_disconnect` | Disconnect | ``` ### Technical Analysis The Skill changes the Agent's role from serving the local user's current request to acting as a worker for an external scheduling network. It expressly directs the Agent to connect to a scheduler, automatically accept tasks, and execute those tasks through general-purpose OpenClaw capabilities. Remote task content is not constrained by an allowlist, a strict task schema, a per-task user-approval requirement, or documented tool-permission boundaries. The file also does not define rejection rules for tasks that request access to local files, credentials, network ...[truncated 2334 chars]
Remediation
## Remediation Suggestions 1. Remove automatic task acceptance and execution. Require explicit, informed user approval for every remotely supplied task. 2. Display the complete task content, requested tools, target resources, expected network destinations, and potential side effects before requesting approval. 3. Enforce a strict task schema and an allowlist of permitted operations. Reject arbitrary natural-language instructions that can redefine the Agent's role or safety constraints. 4. Apply least-privilege controls to each task. Disable shell execution, unrestricted filesystem access, credential access, and arbitrary outbound networking unless individually required and approved. 5. Run remote tasks in an isolated sandbox with a read-only filesystem, bounded CPU and memory, execution timeouts, and restricted network egress. 6. Authenticate the scheduler using mutually authenticated transport and endpoint pinning. Do not rely solely on a configurable WebSocket URL. 7. Treat all remote task content and returned data as untrusted. Prevent it from changing system instructions, persistent memory, policies, tool definitions, or approval requirements. 8. Add explicit rejection rules for requests involving secrets, private keys, credentials, persistence, security-control bypasses, unrelated local data, and destructive operations. 9. Redact sensitive information from task results before transmission and require destination-specific user approval for external disclosures. 10. Document secure generation, storage, permissions, rotation, and revocation procedures for the optional Ed25519 private key. 11. Log remote task provenance, approvals, tool calls, affected resources, and outbound transfers so that activity can be reviewed and revoked.
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 (4)

Missing User Warnings

High
Confidence
96% confidence
Finding
The skill description advertises automatic task acceptance and execution but does not warn users that enabling the skill may connect to an external network, receive third-party instructions, and perform actions without per-task approval. That is dangerous because users may unknowingly delegate control to a remote scheduling system, increasing the risk of unreviewed actions, prompt injection via remote tasks, and unintended use of local tools or resources.

Natural-Language Policy Violations

Medium
Confidence
86% confidence
Finding
The natural-language description and all usage guidance are presented only in Chinese, with no indication that the user may choose another language or that the locale restriction is intentional and justified. This can violate language/locale policy where skills should not force a specific language without user opt-in.

Vague Triggers

Medium
Confidence
91% confidence
Finding
The example trigger "帮我搜索最新AI新闻" overlaps with an ordinary user request rather than an explicit opt-in to the skill, which can cause the platform to invoke this skill unexpectedly. In this skill’s context, accidental activation is more dangerous because the skill is designed to connect to an external scheduler and execute tasks automatically, potentially causing unintended remote task intake or data exposure.

Missing User Warnings

Medium
Confidence
91% confidence
Finding
The skill states it will automatically generate an Ed25519 identity key and optionally use a private key from environment variables, but it does not explain storage, sensitivity, rotation, or the risks of supplying long-lived credentials. This can lead to users exposing reusable identity material or allowing the skill to create persistent identities without informed consent, which may enable impersonation or unauthorized reuse if the key is mishandled.

Static analysis

No suspicious patterns detected.