ai-ecommerce-expert-pinduoduo-ecommerce-content
Audited by Socket on Aug 25, 2026
3 alerts found:
Securityx2AnomalyThis 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.
SUSPICIOUS. 业务目的与电商内容生成基本一致,未见明显恶意窃密指令;但核心执行依赖未固定、可验证性不足的外部 npm CLI,并向其转发企业 Token。数据终点表面上是官方域名,主要风险来自供应链与凭证交给黑箱工具。
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.