ai-ecommerce-expert-product-material-detail-image
Audited by Socket on Aug 25, 2026
3 alerts found:
Anomalyx2Security该技能总体与声明的电商图片精修目的相符,主要风险来自通过 npx 直接运行未固定版本的外部 npm CLI,并把 MCP_TOKEN 转交给该包。数据流主要指向声明中的 IMIVA/ECPro 服务,未见明显凭证窃取或无关外传证据;应归类为可疑但非明确恶意,风险以供应链与凭证转交为主。
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.