Back to skill

Security audit

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

Security checks for vulnerabilities and agentic risk

Overview

The skill’s image-generation purpose is coherent, but it asks the agent to install unpinned tooling and persist API credentials on the host, so users should review it before installing.

Install only if you are comfortable with this skill installing Node/npm tooling, running npm/npx packages from the network, uploading product images to qhkit, and storing a qhkit API token on the machine. Prefer reviewing or pinning package versions and using an environment-scoped token before use.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (7)

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill expands beyond image generation into host bootstrapping by directing the agent to install Node.js and global npm packages. This materially increases attack surface by encouraging arbitrary software installation and execution on the local machine, especially from network sources during normal task handling.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
89% confidence
Finding

The skill instructs the agent to execute npx @iqinghu/qhkit without pinning an exact package version. That allows whatever package version is current at execution time to run with the agent's privileges, increasing supply-chain risk if a future release is malicious, compromised, or simply incompatible.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
87% confidence
Finding

This duplicated finding identifies the same persistence behavior: installing Node.js into a user directory and altering PATH for continued use. Such host-state modification is unnecessary for a content-generation skill and increases the chance of unintended persistence, environment drift, and later abuse of the installed runtime.

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
87% confidence
Finding

This duplicated finding identifies the same persistence behavior: installing Node.js into a user directory and altering PATH for continued use. Such host-state modification is unnecessary for a content-generation skill and increases the chance of unintended persistence, environment drift, and later abuse of the installed runtime.

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

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill instructs the agent to persist authentication credentials using qhkit config set --token <密钥> or environment variables on the host. Persisting user-supplied API secrets on the machine creates a credential-handling risk: tokens may be exposed to later processes, other sessions, logs, shell history, or unintended reuse.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

Line L076 instructs the agent that the site 'must' be 'cn' and to override an existing international configuration unless the user explicitly says they use AutoAGC. This imposes a locale/region choice by default rather than offering the user a choice, which matches the language/locale policy violation criteria.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

The command npx --yes sharp-cli fetches and executes the latest published package at runtime without version pinning. Because this occurs in an automated remediation path, it could silently pull and run unreviewed code on the host, turning a simple image-processing step into a supply-chain execution risk.

Content

No source excerpt is available for this finding.