ai-ecommerce-expert-xiaohongshu-cover-image
Audited by Socket on Aug 25, 2026
3 alerts found:
Securityx2Anomaly该技能的业务目的与主要数据流大体一致,但实现方式存在明显供应链与凭证转发风险:运行时通过 `npx -y` 执行未固定的最新外部 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.