elasticsearch-file-ingest
Warn
Audited by Socket on Jun 28, 2026
1 alert found:
AnomalyAnomalyscripts/ingest.js
LOWAnomalyLOW
scripts/ingest.js
No strong evidence of embedded malware, credential theft, or covert exfiltration in this file itself. The primary security concern is the high-impact design feature that executes a user-specified JavaScript module via import()/require() when --transform is used, which can lead to arbitrary code execution if the CLI argument or transform source is untrusted. Treat this CLI as unsafe in multi-tenant or untrusted-invocation scenarios unless --transform is tightly controlled.
Confidence: 75%Severity: 55%
Audit Metadata