Back to skill

Security audit

Shopee-店铺品牌分析 | 青虎AI

Security checks for vulnerabilities and agentic risk

Overview

The skill’s Shopee brand-analysis purpose is clear, but it tells the agent to install and upgrade unpinned tooling and Node.js during use, which is too much host-environment control for a narrow query skill.

Review before installing. The data-query behavior and paid-call consent rules are reasonable, but do not let the skill automatically install or upgrade qhkit/Node.js unless you trust that npm package and want host-level tooling changes. Prefer preinstalling a pinned, reviewed qhkit version and providing tokens only when needed.

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
  • 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 (5)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The manifest description is entirely framed in Chinese and says requests using specific Chinese phrases '必须触发', but it does not offer any language choice or state that Chinese is optional. This can violate language/locale policy by implicitly requiring a specific language for activation without user opt-in.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill goes far beyond its stated purpose by instructing the agent to install Node.js, download binaries, install npm packages, and configure API tokens. That significantly expands the attack surface from a narrow data-query skill into environment modification and remote code acquisition, creating supply-chain and privilege/persistence risks if the instructions are followed automatically.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
89% confidence
Finding

The skill instructs use of npx @iqinghu/qhkit without pinning a specific version, which allows whatever package version is current at execution time to run. In a security-sensitive agent context, this creates a supply-chain risk and makes behavior non-reproducible, especially because the package is later used to access credentials and invoke remote services.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
93% confidence
Finding

This duplicate finding identifies the same persistence behavior: extracting Node into a user directory and exporting a modified PATH. In the context of an agent skill, that is dangerous because it changes the host environment outside the narrow query workflow and can influence subsequent sessions or tasks.

Content

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

This duplicate finding identifies the same persistence behavior: extracting Node into a user directory and exporting a modified PATH. In the context of an agent skill, that is dangerous because it changes the host environment outside the narrow query workflow and can influence subsequent sessions or tasks.

Content

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

Static analysis

No suspicious patterns detected.