Is assistant-stream safe?
- Node.js dynamic code execution
assistant-stream is an AI npm_package analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators, though 1 risky construct are reported for review. It can: dynamic code execution — capabilities are what the code can do, not a verdict on intent. Risk score 0/100 (low).
assistant-stream 0.3.45
Automated static-analysis result. It can contain false positives and false negatives, and is not a claim about the intent of assistant-stream's authors. Report a false positive.
Behavioral traits
How this component maps to the CSA agentic threat model. Descriptive — it never affects the risk score.
Findings (1)
The code turns strings into live code at runtime (eval / new Function / exec).
return runCachedRedisScript(() => client.evalsha(sha, keyCount, ...args), () => client.eval(script, keyCount, ...args));
() => client.eval(script, keyCount, ...args),
Why it matters: If those strings aren't fixed and trusted, they become a way to run arbitrary code.
Fix: Avoid evaluating dynamically constructed code; if unavoidable, ensure the input is a trusted constant and never derived from external data.
Check your own component
Run the same evidence-backed scan on any MCP server, agent skill, or package.
Scan your own componentHow we determine this: deterministic static analysis (regex + AST), evidence-anchored, no code execution. Methodology →