Back to skill

Security audit

Seedream Volcengine

Security checks for vulnerabilities and agentic risk

Overview

The skill appears to do what it claims, but its setup instructions tell users to run an unverified remote installer directly in the shell.

Review the setup steps before installing. Prefer installing uv through a trusted package manager or a download-then-verify process instead of piping a remote script into `sh`; use `VOLC_API_KEY` rather than `--api-key`; avoid sending confidential prompts or private images because they are transmitted to Volcengine and web search may send prompt-derived context externally.

Vulnerability Patterns
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • 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
Findings (3)

T03 · Remote Payload Retrieval and Execution

Error
Location
README.md:55
Finding

Remote Installer Downloaded and Executed Without Integrity Verification

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
scripts/generate_image.py:3
Finding

Unpinned Runtime Dependency Resolution

Content
View full analysis
=3.10" # dependencies = [ # "requests>=2.31.0", # ] # /// ``` ### Technical Analysis The inline dependency metadata permits any future `requests` release satisfying `>=2.31.0`. The project contains no lockfile, exact version constraint, package hash, or recorded package-index policy. When the script is invoked through `uv run`, dependency resolution can therefore depend on mutable package-repository state. A future compromised, malicious, or unexpectedly incompatible release could be selected without a corresponding change to this repository. This is principally a supply-chain hardening issue. There is no evidence that the legitimate `requests` package or the currently selected version is malicious. ### Attack Path 1. An attacker compromises a compatible future `requests` release, its maintainer account, the configured package index, or the dependency delivery infrastructure. 2. The compromised version remains compatible with the broad `requests>=2.31.0` constraint. 3. A user invokes the script with `uv run` in an environment where that version has not already been securely locked and cached. 4. The resolver selects and installs the attacker-controlled compatible release. 5. Malicious package installation or import-time code executes under the user's account. ### Impact Assessment A successfully compromised dependency could execute Python code with the same privileges as the Skill process. It could potentially: - Read the `VOLC_API_KEY` environment variable. - Access prompts, reference-image data, and generated API responses. - Read or modify files available to the user. - Make arbitrary network requests. - Alter the behavior or output of the image-generation workflow. The practical scope ...[truncated 94 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Note
Location
scripts/generate_image.py:206
Finding

API Key May Be Exposed Through Command-Line Arguments

Content
View full analysis
`. 2. The complete command is recorded in shell history or exposed through process-argument inspection, logging, or diagnostics. 3. A local actor, administrator, monitoring service, or later account compromise obtains the recorded argument. 4. The exposed key is used to make unauthorized requests to the Volcengine account. ### Impact Assessment An exposed key may permit unauthorized use of the Volcengine API within the permissions and quotas assigned to that credential. Potential consequences include: - Unauthorized image-generation requests and associated charges. - Consumption of rate limits or account quotas. - Access to other Volcengine API functionality if the key has broader permissions. - Account abuse until the credential is revoked or rotated. This issue does not independently provide operating-system privilege escalation. ...[truncated 63 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (12)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · README.md (reported line 46)May include surrounding context.

安装 / Setup

  1. 从 火山方舟控制台 获取 API Key Get API key from Volcengine Ark Console

  2. 设置环境变量 / Set environment variable:

    bash

Chaining Abuse

High
Category
Tool Misuse
Confidence
98% confidence
Finding

The explicit curl ... | sh pattern enables arbitrary code execution from a remote source in a single command, making chaining abuse straightforward if the fetched installer is malicious or tampered with. In the context of a skill installation guide, this materially increases the chance of users executing unreviewed code on their systems.

Content

Scanner excerpt · README.md (reported line 55)May include surrounding context.

  1. 安装 uv(Python 包运行器)/ Install uv:
    bash
    curl -LsSf https://astral.sh/uv/install.sh | sh
    

OpenClaw 安装 / OpenClaw Installation

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The README advertises a web-search feature but does not clearly warn that prompts and possibly related request context will be transmitted to external Volcengine services and potentially search-integrated systems. Users may unknowingly include sensitive data in prompts, creating a privacy and data-handling risk even if the feature itself is legitimate.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The README documents image editing and multi-image fusion using external URLs, but it does not warn that supplied images are uploaded or otherwise transmitted to a third-party API for processing. This can expose private, copyrighted, or sensitive images to external infrastructure without sufficiently informed user consent.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
90% confidence
Finding

The skill invokes a Python script that uses environment variables and external network access, but the manifest declares no explicit tool scope or allowed-tools boundary. That omission weakens least-privilege controls and can allow broader execution or data egress than reviewers and users would expect.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill advertises web search and external image URL inputs, which means user prompts, referenced images, and possibly search-derived context may be sent to third-party services. Without a clear warning and consent-oriented language, users may unknowingly expose sensitive prompts, proprietary images, or personal data to external systems.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The reference documents a web_search tool that the model may invoke based on prompt content, but it does not warn users that portions of their prompt may be transmitted to an external search capability. In an image-generation skill, prompts may contain sensitive personal, business, or unpublished information, so omitting this disclosure can lead to unintended data exposure and privacy/compliance issues.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The script sends user prompts and optional reference images directly to a third-party Volcengine API, but it does not provide an explicit user-facing notice that potentially sensitive text and images will leave the local environment. In an agent-skill context, users may assume processing is local, so private data could be transmitted externally without informed consent.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
87% confidence
Finding

This code performs external network transmission of user-supplied prompts and optional image data to a remote API endpoint. In this skill's context, that behavior is expected for image generation, but it still creates privacy and data-governance risk if users are not clearly informed that their content will be sent off-box to a third party.

Content

Scanner excerpt · scripts/generate_image.py (reported line 134)May include surrounding context.

python
payload["tools"] = [{"type": "web_search"}]

    try:
        response = requests.post(GENERATE_URL, headers=headers, json=payload, timeout=300)
        response.raise_for_status()
        result = response.json()

External Script Fetching

Low
Category
Supply Chain
Confidence
97% confidence
Finding

The README recommends piping a remotely fetched script directly into the shell, which prevents users from inspecting the script before execution and creates a supply-chain risk if the hosting site, transport path, or installer content is compromised. This is especially risky in installation documentation because users are likely to copy-paste it verbatim.

Content

Scanner excerpt · README.md (reported line 55)May include surrounding context.

  1. 安装 uv(Python 包运行器)/ Install uv:
    bash
    curl -LsSf https://astral.sh/uv/install.sh | sh
    

OpenClaw 安装 / OpenClaw Installation

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

The documentation suggests passing the API key via --api-key without warning that command-line arguments can be exposed through shell history, process listings, logs, or telemetry. This increases the chance of accidental credential disclosure, especially on shared systems or in recorded execution environments.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

Reading credentials from environment variables is normal, but this file lacks any explicit disclosure or note that a sensitive API key will be consumed for authenticated external requests. Under the stated audit criteria, sensitive environment variable access should have some user disclosure through comments, docstrings, or user-facing help.

Content

No source excerpt is available for this finding.