Back to skill

Security audit

Nano Banana 2 电商爆款素材生成 | LinkPix

Security checks for vulnerabilities and agentic risk

Overview

The skill is a disclosed e-commerce image-generation helper that uses the qhkit service, but users should be aware it may install tools and store an API token for that service.

Install this only if you intend to use the qhkit/iqinghu image-generation service and are comfortable providing an API key, uploading referenced images to that service, and allowing the agent to install npm/Node tooling. Review paid generation parameters and credit estimates before approving any generate command.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (6)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill metadata description includes very broad trigger terms such as general e-commerce image generation/editing phrases, making accidental invocation likely. Over-broad invocation is dangerous in this context because the skill can drive package installation, configuration changes, network access, and billable image-generation operations, so misrouting a user request can cause unintended side effects.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The 何时触发 section uses ambiguous examples like ad-image generation, cover optimization, and 'best quality' custom image generation without hard boundaries. In a skill that can install tools, request API keys, and submit paid generation jobs, such ambiguity increases the risk of unintended activation and inappropriate escalation into external service usage.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
90% confidence
Finding

The skill instructs use of npx @iqinghu/qhkit without pinning a specific version, which causes execution of whatever package version is current at invocation time. That creates a supply-chain risk: behavior can change unexpectedly, and a compromised or maliciously published version could be executed in the agent environment.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
82% confidence
Finding

This duplicate finding points to the same persistence behavior: installing Node under the user's home directory and exporting a modified PATH, with mention of appending to ~/.bashrc. In an agent skill, persistent environment mutation is risky because it can silently influence future sessions and combine with other runtime-fetched tools to expand long-term attack surface.

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

This duplicate finding points to the same persistence behavior: installing Node under the user's home directory and exporting a modified PATH, with mention of appending to ~/.bashrc. In an agent skill, persistent environment mutation is risky because it can silently influence future sessions and combine with other runtime-fetched tools to expand long-term attack surface.

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

The fallback command npx --yes sharp-cli fetches and executes an unpinned package from the registry at runtime. In an agent skill, this is risky because it authorizes ad hoc code execution from the supply chain during normal task handling, increasing exposure to package compromise, typosquatting, or unexpected breaking changes.

Content

No source excerpt is available for this finding.