Scan your whole stack
Are you using jlens-wasm?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.36.0
jlens-wasm was last scanned on 27 Nov 2026 at version 0.36.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.36.0 LATEST | 27 Nov 2026 | 1 rule fired |
| 0.34.0 | 14 Nov 2026 | 1 rule fired |
| 0.33.0 | 11 Nov 2026 | 1 rule fired |
| 0.32.0 | 10 Nov 2026 | Not shown |
| 0.30.0 | 7 Nov 2026 | Not shown |
Findings for v0.36.0. 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 package includes a WebAssembly (.wasm) module. It cannot be reviewed as source, but it runs sandboxed inside the JavaScript runtime and can access only what the host code gives it. WebAssembly is common in parsers, codecs and cryptography libraries. Shown for awareness.
LOWThe score describes 0.36.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
JSONata for the browser, compiled from Rust to WebAssembly. It evaluates expressions, explains how a result was reached, and gives editors completion, diagnostics and hover driven by a JSON Schema inferred from sample documents.
This is an ES module for browsers (--target web). It also runs in Node.js 20+ and Deno if you
pass the .wasm bytes to init. jlens.global.js is the same package as one classic script,
with the .wasm embedded, for a page opened from disk or a bundler that cannot resolve the
.wasm: it sets the global jlens (<script src="jlens.global.js">, or
import "jlens-wasm/global"), and await jlens.init() needs no argument.
Try it in the web editor, which is built on this package, and read the jlens book for the language and the API.
import init, { Expression } from "jlens-wasm";
await init(); // fetches jlens_bg.wasm next to jlens.js
const expr = new Expression("$sum(items[type = $kind].(price * qty))");
expr.evaluate({ items: [{ type: "a", price: 2.5, qty: 4 }] }, { kind: "a" }); // 10
| Export | Purpose |
|---|---|
init(options?) |
Loads the WebAssembly module; call (and await) it once before anything else |
new Expression(source) |
Compiles an expression; throws a JlensError on syntax errors |
expr.evaluate(input?, bindings?, options?) |
Evaluates against a JSON-compatible value; undefined when the result is undefined |
expr.evaluateJson(json?, bindings?, options?) |
The same with JSON text in and out (faster for large documents) |
new Document(input), Document.fromJson(text) |
A document converted once, for expr.evaluateDocument(doc, bindings?, options?) |
expr.evaluateWithAudit(input?, bindings?, options?) |
Result, audit tree and explanation; errors are reported, not thrown |
expr.ast() |
The processed syntax tree |
parseRecover(source) |
Partial syntax tree and every diagnostic, without throwing |
inferSchema(samples, overrides?) |
A JSON Schema (2020-12) inferred from sample documents |
missingOverridePaths(samples, overrides) |
The override paths the samples lack, with the path each most likely meant |
new LanguageService({ schema, variables, … }) |
complete, diagnostics, hover and signatureHelp for an editor |
functions() |
The built-in function catalog |
version() |
The jlens version |
options takes timeout (milliseconds) and maxDepth; for evaluateWithAudit also level
("off", "decisions", "full") and limits. Errors are Error objects named JlensError
with the JSONata error code, plus position, start, end and token when known.
All offsets, in both directions, are UTF-16 code units, like JavaScript string indexes.
The full guide is the WebAssembly chapter of the jlens book.
MIT. The code and documentation ported or adapted from JSONata are also under the MIT license;
see LICENSE.
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.