dineway-building-restaurant

Warn

Audited by Socket on Sep 17, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/restaurant_site_data.js

Overall, 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.

Confidence: 62%Severity: 58%
Audit Metadata
Analyzed At
Sep 17, 2026, 01:57 AM
Package URL
pkg:socket/skills-sh/dineway%2Fdineway-skills%2Fdineway-building-restaurant%2F@0fa82df02a20ed9b7625e0338d7fef594a7c2f7239738c2d736da97c44c7948d