Back to skill

Security audit

Agentoctopus Openclaw

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed router, but it delegates prompts to a large mutable community skill catalog and installs/runs tooling in ways users should review carefully.

Review this before installing if you handle private or sensitive prompts. Use only with downstream skills and AgentOctopus sources you trust, avoid secrets or confidential data in routed queries, prefer pinned/verified installation over global latest npm installs, and require confirmation or an allowlist for downstream skill execution where possible.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (3)

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:45
Finding

Command Injection Through Unsafely Interpolated User Query

Content
View full analysis
" ``` ### Technical Analysis The documented execution pattern places an untrusted, natural-language user query directly inside a shell command. Double quotation marks do not prevent all shell interpretation. For example, command substitutions using `$(...)` or backticks may still be evaluated by the shell. A query containing quotation marks may also terminate the intended argument and append additional shell syntax. The vulnerability applies when an agent or integration follows this example by constructing a command string and passing it to a shell. It can be avoided if the executable is invoked directly using a structured argument array with shell processing disabled, but that safe execution requirement is not documented. ### Attack Path 1. An attacker submits a query containing shell metacharacters or command-substitution syntax. 2. The agent substitutes the complete query into the documented command template. 3. The resulting command string is executed through a shell. 4. The shell evaluates the attacker's substitution or injected command. 5. The injected command executes with the privileges and environmental access of the agent process. ### Impact Assessment Successful exploitation could provide arbitrary command execution under the account running OpenClaw or AgentOctopus. Depending on that account's privileges, an attacker could read or modify accessible files, obtain credentials exposed through files or environment variables, invoke network utilities, alter local configuration, or compromise subsequent agent operations. The scope is limited by the operating-system permissions and sandbox restrictions applied to the agent process. ]]>
Remediation
View remediation

T08 · Insecure Dependencies

Error
Location
SKILL.md:51
Finding

Unpinned Global Installation of a Third-Party Package

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Error
Location
SKILL.md:28
Finding

Automatic Execution of Mutable, Unreviewed Community Skills

Content
View full analysis
# Sync 5,000+ community skills octopus sync # Filter by category octopus sync --category productivity ``` ``` ### Technical Analysis The skill directs requests to a large community-maintained catalog and automatically executes the selected downstream skill. It can also retry alternative candidates. The documented synchronization and execution model does not specify an audited allowlist, immutable versions, integrity hashes, capability restrictions, isolation boundaries, or user approval before execution. Consequently, the effective code and instructions executed for a request may depend on mutable remote community content that was not part of this project's static audit. Automatic fallback further expands the trust boundary because a failed candidate can cause a different, potentially less appropriate skill to run without an additional approval step. This finding identifies an insecure dependency and execution model. The audited file does not establish that any particular downstream community skill is currently malicious. ### Attack Path 1. An attacker publishes a malicious community skill or compromises an existing skill or catalog entry. 2. The local catalog is populated or updated using `octopus sync`, or the malicious skill is otherwise made available to the router. 3. The attacker crafts a request whose wording causes the routing logic to rank the malicious ...[truncated 1022 chars]
Remediation
View remediation
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)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This is a real issue because the skill is explicitly designed to route user queries to one of 5,000+ downstream community skills and execute them automatically, yet the description does not clearly warn users that their prompts may be sent to external tools or third-party services. That omission can lead to unintentional disclosure of sensitive data and reduces informed user consent, especially in a router/orchestrator skill that may forward requests broadly and retry across multiple candidates.

Content

No source excerpt is available for this finding.