dineway-building-restaurant

Warn

Audited by Socket on Aug 27, 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
Aug 27, 2026, 08:58 PM
Package URL
pkg:socket/skills-sh/dineway%2Fdineway-skills%2Fdineway-building-restaurant%2F@54243a45358b49ef452d3cb97f2f33e9702daf8c9b20b534796476ada7d2a0d5
Security Audit — socket — dineway-building-restaurant