Back to skill

Security audit

Shopee 商品图、主图套图、详情图、活动图生成 | LinkPix

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly coherent for Shopee image generation, but it asks users to share an API key in chat and installs/upgrades unpinned command-line tools with persistent local configuration.

Review before installing. Use a secure local secrets mechanism or environment variable instead of pasting an API key into chat, confirm any paid generation before it runs, and consider pinning package versions or installing qhkit through a controlled process. Be aware that product images and prompts will be uploaded to the qhkit provider for generation.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (7)

Missing User Warnings

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill explicitly tells the agent to ask the user to send an API key in chat and then use it in a shell command. Requesting secrets through conversational channels materially increases the risk of credential disclosure in logs, transcripts, model context, or accidental reuse beyond the intended task.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The description says the skill 'must trigger' whenever a user asks for Shopee product images, main images, detail images, or activity images. This is broad enough to capture many ordinary requests about Shopee visuals, and it does not provide negative examples or boundaries for when another skill should be used instead.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
95% confidence
Finding

The skill instructs use of npx @iqinghu/qhkit without pinning an exact version, which allows whatever version is current at execution time to be fetched and run. This creates a supply-chain risk: a compromised or breaking upstream release could execute unexpected code in the agent environment.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
80% confidence
Finding

This duplicated finding points to the same persistence behavior: unpacking binaries into the user's home directory and recommending PATH changes that can survive beyond the immediate task. In agent contexts, persistent tool installation can enable unintended reuse, drift, or abuse by future workflows.

Content

Scanner excerpt · SKILL.md (reported line 64)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
80% confidence
Finding

This duplicated finding points to the same persistence behavior: unpacking binaries into the user's home directory and recommending PATH changes that can survive beyond the immediate task. In agent contexts, persistent tool installation can enable unintended reuse, drift, or abuse by future workflows.

Content

Scanner excerpt · SKILL.md (reported line 64)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

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
83% confidence
Finding

The file instructs that installation/configuration failures should be reported to the user in a specific way, and elsewhere notes that CLI messages are already user-facing Chinese. This imposes a Chinese-language interaction pattern without explicit user opt-in or a documented locale-specific justification.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
96% confidence
Finding

The fallback command npx --yes sharp-cli pulls and executes the latest package version at runtime without version pinning. In a skill that may automatically process user-supplied images, this increases exposure to dependency hijacking or malicious upstream package updates.

Content

No source excerpt is available for this finding.