dineway-building-restaurant
Audited by Socket on Aug 27, 2026
1 alert found:
AnomalyOverall, this code appears to be a legitimate media ingestion pipeline (download images/images-from-data-URLs, compute dimensions, write manifests, select items, and upload via an external CLI). However, from a supply-chain/security perspective, the snippet has notable risk points: it performs network fetches to URLs derived from the input manifest (SSRF risk) and writes files to paths derived from input fields (path traversal/overwrite risk unless slug and paths are strictly sanitized by validateDownloadTargetDir()). It also executes 'npx' during upload, which can introduce code execution/supply-chain risk depending on how the invoked package/CLI is resolved and pinned in the environment. No direct evidence of overt malware/backdoor behavior is present in the shown fragment.