Scan your whole stack
Are you using vega-interpreter?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2.3.2
vega-interpreter was last scanned on 14 Aug 2026 at version 2.3.2. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 2.3.2 LATEST | 14 Aug 2026 | No rules fired |
Findings for v2.3.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 2.3.2; other versions have their own rules, not their own score.
0 CRITICAL 1 HIGH 0 MEDIUM 0 LOW
The publisher’s own README, as collected from the registry.
An interpreter for Vega expressions, that is Content Security Policy (CSP) compliant. By default, the Vega parser performs code generation for parsed Vega expressions, and the Vega runtime then uses the Function constructor to create JavaScript functions from the generated code. Although the Vega parser includes its own security checks, the runtime generation of functions from source code nevertheless violates security policies designed to prevent cross-site scripting.
In addition to generated code, the Vega parser output can include the parsed Abstract Syntax Tree (AST) of an expression. This package provides an interpreter that evaluates expressions by traversing an AST and performing each operation in turn. Use of the interpreter enables compliance with CSP, but can incur a performance penalty. In tests of initial parse and dataflow evaluation times, the interpreter is on average ~10% slower. Interactive update performance may incur higher penalties, as it is often more expression-heavy and also amortizes the one-time cost of Function constructor parsing.
To use the interpreter, three steps must be taken:
{ ast: true } option to enable inclusion of parsed ASTs in the output.const spec; // Vega specification to show.
// Parse the Vega specification with AST output enabled
// Pass a null configuration value as the second argument
const runtimeSpec = vega.parse(spec, null, { ast: true });
// Call the Vega View constructor with an 'expr' interpreter option
const view = new vega.View(runtimeSpec, {
expr: vega.expressionInterpreter, // use interpreter
renderer: 'canvas', // renderer (canvas or svg)
container: '#view', // parent DOM container
hover: true // enable hover processing
});
view.runAsync(); Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.