Back to skill

Security audit

clawec-shopee-item-hotword

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Shopee keyword lookup helper that discloses its external ClawEC API use and does not show hidden persistence, credential theft, or unrelated behavior.

Install only if you are comfortable sending Shopee item IDs, site/type parameters, optional dates, and your ClawEC bearer token to clawec.com for keyword analysis. Store the API key in CLAWEC_API_KEY rather than hardcoding it, and review ClawEC's account/API terms for handling of your marketplace data.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (7)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

引流词:

bash
curl -s -X POST "https://www.clawec.com/api/aigc/ec/shopee/data/item/hotword" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $CLAWEC_API_KEY" \
  -d '{"site":"tw","itemIds":"1234567890","type":1}'

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · scripts/query.sh (reported line 30)May include surrounding context.

sh
print(json.dumps(body, ensure_ascii=False))
' "$SITE" "$ITEM_IDS" "$TYPE" "$TIMEST")

curl -s -X POST "https://www.clawec.com/api/aigc/ec/shopee/data/item/hotword" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $API_KEY" \
  -d "$PAYLOAD"

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

This code performs an HTTP POST to an external API and includes both the request payload and a bearer token from an environment variable. The file contains no comment, echo/logging, or prompt disclosing that user-supplied item data will be transmitted to a third-party endpoint.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

The instruction "默认中文报告" specifies a default output language in natural language, but the document does not indicate that users can opt into another language. This can violate a language/locale policy when a skill constrains responses to a specific language without explicit user choice or justification.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

The entire schema and guidance are written as Chinese-only instructions and labels, with no indication that users may choose another language or locale. Under the policy rule for natural-language constraints, this can be considered a language/locale restriction unless explicitly offered as an opt-in or justified as region-specific behavior.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

Usage and validation messages are hardcoded in Chinese, which imposes a specific language on users. Under the policy, locale-specific language should be optional or clearly justified; this file provides no opt-in or documentation for the restriction.

Content

No source excerpt is available for this finding.