dineway-enrich-places
Warn
Audited by Socket on Aug 7, 2026
1 alert found:
AnomalyAnomalyscripts/enrich_place_details.js
LOWAnomalyLOW
scripts/enrich_place_details.js
The code is not obviously malicious in the sense of backdoors or dynamic code execution, but it has significant supply-chain-adjacent risk characteristics: it obtains authentication tokens from a remote API and writes accessToken/refreshToken (plus user identity fields) to a local forgeway.json, and it can send those tokens to an attacker-controlled destination if baseUrl is overridden. If baseUrl/env/CLI inputs are trustworthy, the main risk is sensitive token storage and potential terminal/log leakage on errors.
Confidence: 70%Severity: 60%
Audit Metadata