Back to skill

Security audit

Seedream 5.0 Pro 爆款电商图 | LinkPix

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed image-generation workflow that installs and configures the expected qhkit CLI, with ordinary dependency and API-token risks users should understand.

Install only if you are comfortable giving qhkit an API key, uploading product/reference images to the service, and letting the agent install Node/npm tooling or image-compression dependencies. Prefer pinned package versions or preinstalled trusted tooling in managed environments.

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
Vulnerability Patterns
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Rogue AgentSelf-Modification, Session Persistence
  • 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 (4)

Rp1

Medium
Category
MCP Rug Pull
Confidence
93% confidence
Finding

The skill instructs use of npx @iqinghu/qhkit without pinning a specific package version. That allows whatever version is current at execution time to be fetched and run, creating a supply-chain risk if a malicious or compromised release is published or if behavior changes unexpectedly. In this skill, that risk is heightened because the fetched CLI is then used to handle API tokens and submit remote jobs.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
78% confidence
Finding

This duplicate finding points to the same behavior: unpacking Node under the user's home directory and exporting a new PATH, with guidance to make it persistent across shells. Even though the binary is checksum-verified, the persistence itself is the issue because it leaves long-lived tooling on the system and alters command resolution for future sessions. In the context of an agent skill, persistent environment mutation is more dangerous than in ordinary documentation because it can affect unrelated later tasks.

Content

Scanner excerpt · SKILL.md (reported line 67)May include surrounding context.

Linux 二进制安装(装到用户目录,无需 root;先校验官方 SHA256 再解包):

cd /tmp && curl -fsSLO https://nodejs.org/dist/v22.22.3/node-v22.22.3-linux-x64.tar.xz cd /tmp && curl -fsSL https://nodejs.org/dist/v22.22.3/SHASUMS256.txt | grep ' node-v22.22.3-linux-x64.tar.xz$' | sha256sum -c - mkdir -p "$HOME/.local/lib" && tar -xJf /tmp/node-v22.22.3-linux-x64.tar.xz -C "$HOME/.local/lib" export PATH="$HOME/.local/lib/node-v22.22.3-linux-x64/bin:$PATH"

text

Session Persistence

Medium
Category
Rogue Agent
Confidence
78% confidence
Finding

This duplicate finding points to the same behavior: unpacking Node under the user's home directory and exporting a new PATH, with guidance to make it persistent across shells. Even though the binary is checksum-verified, the persistence itself is the issue because it leaves long-lived tooling on the system and alters command resolution for future sessions. In the context of an agent skill, persistent environment mutation is more dangerous than in ordinary documentation because it can affect unrelated later tasks.

Content

Scanner excerpt · SKILL.md (reported line 67)May include surrounding context.

Linux 二进制安装(装到用户目录,无需 root;先校验官方 SHA256 再解包):

cd /tmp && curl -fsSLO https://nodejs.org/dist/v22.22.3/node-v22.22.3-linux-x64.tar.xz cd /tmp && curl -fsSL https://nodejs.org/dist/v22.22.3/SHASUMS256.txt | grep ' node-v22.22.3-linux-x64.tar.xz$' | sha256sum -c - mkdir -p "$HOME/.local/lib" && tar -xJf /tmp/node-v22.22.3-linux-x64.tar.xz -C "$HOME/.local/lib" export PATH="$HOME/.local/lib/node-v22.22.3-linux-x64/bin:$PATH"

text

Rp1

Medium
Category
MCP Rug Pull
Confidence
94% confidence
Finding

The skill falls back to npx --yes sharp-cli without a pinned version, which will download and execute the latest package version at runtime. This is a classic supply-chain exposure: if the package or one of its dependencies is compromised, arbitrary code may execute in the agent environment. The danger is increased here because this path is presented as an automatic remediation step for oversized user-supplied images.

Content

No source excerpt is available for this finding.