factory
Warn
Audited by Socket on Oct 13, 2026
1 alert found:
AnomalyAnomalyscripts/lib.mjs
LOWAnomalyLOW
scripts/lib.mjs
This is a specification loader that intentionally executes JavaScript from disk. It shows no direct malicious behavior, but accepting untrusted `specPath` content is a significant code-execution risk because Node's `vm` should not be relied upon to sandbox hostile code. Risk depends on whether the specification files are trusted.
Confidence: 98%Severity: 68%
Audit Metadata