SkillTotal

Is lodash safe?

No malicious indicators - review capabilities before installing
Notable — review in context (capabilities are not malware):
  • Node.js shell/command execution
  • Node.js filesystem write/delete

lodash is an AI npm_package analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators, though 2 risky constructs are reported for review. It can: filesystem write and shell execution — capabilities are what the code can do, not a verdict on intent. Risk score 0/100 (low).

lodash 4.18.1

npm_package · npm:lodash
LOW
0
/ 100 risk score
Snapshot · scanned Aug 19, 2026 · lodash@4.18.1 · engine 0.41.0 / ruleset 45

Automated static-analysis result. It can contain false positives and false negatives, and is not a claim about the intent of lodash's authors. Report a false positive.

Capabilities — what this component can do (not a risk score):
filesystem writeshell execution

Behavioral traits

How this component maps to the CSA agentic threat model. Descriptive — it never affects the risk score.

Execution authority
Tool Access Control / Direct Tool Access
Filesystem reach
Tool Execution Context

Findings (2)

HIGHNode.js shell/command executionST-SHELL-NODE

The component can run operating-system commands or spawn processes.

var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
separator = RegExp(separator.source, toString(reFlags.exec(separator)) + 'g');
while ((match = separator.exec(substring))) {
separator = RegExp(separator.source, toString(reFlags.exec(separator)) + 'g');
while ((match = separator.exec(substring))) {

Why it matters: Powerful and often legitimate — confirm the commands aren't built from untrusted input.

Fix: Confirm the command and its arguments are fully controlled and not derived from untrusted input; prefer execFile with an argument array.

MEDIUMNode.js filesystem write/deleteST-FS-NODE-WRITE

The component writes or deletes files on disk.

* fs.writeFileSync(path.join(process.cwd(), 'jst.js'), '\
* fs.writeFileSync(path.join(process.cwd(), 'jst.js'), '\

Why it matters: Usually legitimate, but worth confirming the paths can't be controlled by untrusted input.

Fix: Confirm which files are written/deleted and that paths cannot be influenced by untrusted input.

Check your own component

Run the same evidence-backed scan on any MCP server, agent skill, or package.

Scan your own component

How we determine this: deterministic static analysis (regex + AST), evidence-anchored, no code execution. Methodology →