codemod
Warn
Audited by Socket on Sep 18, 2026
1 alert found:
AnomalyAnomalyscripts/run-codemod.mjs
LOWAnomalyLOW
scripts/run-codemod.mjs
No direct malicious operations (e.g., network calls, credential access, or destructive filesystem actions) are present in this wrapper module. The dominant security concern is that it dynamically imports and executes codemod/transform.mjs without sandboxing, making the supply-chain/trustworthiness of that transform module critical. The wrapper includes reasonable constraints to limit which files it will persist changes to (within targetRoot; avoids .git/dist/node_modules), but these controls do not mitigate arbitrary side effects performed by transform.mjs during execution.
Confidence: 72%Severity: 66%
Audit Metadata