ai-ecommerce-expert-shoes-bags-ecommerce-content
Audited by Socket on Aug 25, 2026
3 alerts found:
Anomalyx2Security总体为可解释的企业电商内容生成技能,目的、所需素材与 API 方向基本一致,未见明显恶意外传或越权读取。但其核心工作流依赖新发布且未固定版本的 npm CLI,并将 MCP_TOKEN 直接交给该外部代码执行,形成显著供应链与凭证转发风险。判定为 SUSPICIOUS,而非明确恶意。
This snippet does not contain overt malware, but it creates a meaningful supply-chain execution risk: it uses npx to run an unpinned '@latest' package (non-deterministic, changeable at runtime) and it passes a sensitive token via environment variables to that external dependency. If the dependency or its supply chain is compromised, the attacker would likely gain the token and the ability to perform arbitrary actions on the host and/or make authenticated API calls. Pin versions, verify integrity, minimize token exposure (scoping/least privilege), and restrict outbound network access for the spawned process.
No direct evidence of malware (no obfuscated payloads, no command execution beyond running a known external package, no direct data theft routines). However, the module dynamically executes an npm dependency via npx using the unpinned '@latest' tag and forwards MCP_TOKEN and API_URL to that dependency. This creates a significant supply-chain and credential-handling risk: if the npm package is compromised or changes behavior, it can access the token and act on the user's behalf.