Scan your whole stack
Are you using @opengeni/jev?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v6.43.1-canary.46538214675001
@opengeni/jev was last scanned on 30 Nov 2026 at version 6.43.1-canary.46538214675001. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 6.43.1-canary.46538214675001 LATEST | 30 Nov 2026 | No rules fired |
| 6.43.1-canary.46516970545001 | 30 Nov 2026 | No rules fired |
| 6.43.1-canary.46506970889001 | 30 Nov 2026 | No rules fired |
| 6.43.1-canary.46497939286001 | 30 Nov 2026 | Not shown |
| 6.43.1-canary.46442691944001 | 30 Nov 2026 | Not shown |
Findings for v6.43.1-canary.46538214675001. 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 6.43.1-canary.46538214675001; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
@opengeni/jev@opengeni/jev holds Opengeni's client for TypeSafe Jev, its adapter to the shared
@opengeni/decisions interface, and the provider-neutral code_search engine.
Its only runtime dependency is that shared typed contract. It uses global fetch, runs under Node 18+ and Bun, and makes no filesystem or process
calls of its own.
const jev = new JevClient({ apiKey });
const r = await jev.ask(state, { urgent: noul("Does this convey urgency?") }, { signal });
r.answers.urgent.probability; // 0..1
r.costUsd; // $0.042 per 1M input tokens; output is free
The client calls POST {baseUrl}/v1/systemone with {state, model, questions}. When the state plus
the longest question would exceed 32k tokens, or the state plus all questions would exceed 64k tokens,
it splits the questions across several requests. It runs those requests concurrently (16 at a time by
default) and merges the answers.
Answers are normalized as follows:
{type: "noul", probability}.{type: "choice", option, probabilities?, confidence?}.Retries and errors work like this:
retry-after hint is honoured up to maxRetryAfterMs (2 s by default).JevUnavailableError covers network errors, timeouts, 5xx, 429 after the last retry, and 401, 402
or 403 (auth or billing, never retried). status carries the HTTP status.JevRequestError covers every other 4xx (including 400 max_tokens_exceeded) and a state too large
to fit the limits (code: "state_too_large"). These are never retried.AbortSignal cancels queued and in-flight requests, and the call rejects with the
signal's reason.JevCircuitBreaker is an in-process breaker, and the worker keeps one per process:
JevUnavailableErrors open it for 5 minutes. If the failure that opens it is a 401,
402 or 403, it opens for 30 minutes instead.tryAcquire() returns a lease ({id, trial}) for each admitted call, or null when it refuses the
call. The caller settles the lease exactly once, with recordSuccess(lease),
recordFailure(error, now, lease) or release(lease) (the call never reached Jev).tryAcquire() admits one trial call at a time.
Others are refused until the trial ends or has run for 10 minutes. That is longer than one Jev
retry cycle at the largest allowed request timeout (3 attempts of 120 s), plus backoff and sandbox
recall, so a slow trial is not mistaken for a stuck one.release() and other errors neither count nor reset the streak. They end the trial only when their
lease is the trial's, so a call admitted while closed cannot free the slot of a trial running now.
Leases are matched by identity.isOpen() and status() are for metrics and diagnostics. Never use them to decide which tools a
turn is offered: the tool list is part of the model's cached prompt prefix, and a breaker is
per process, so tools that come and go with it break the provider's prompt cache.createJevDecisionModel(client) adapts the existing client without replacing its
transport policy. JevError, JevUnavailableError and JevRequestError remain
exported aliases of the shared decision errors. The existing breaker accepts those
same canonical errors for every provider, with unchanged thresholds and cooldowns.
The direct client's numeric usage fields remain compatible; inputTokensReported
distinguishes missing counts. The shared adapter reports null token/cost values
when any successful chunk omitted a valid count, not a zero-cost estimate.
runCodeSearch({question, keywords, subQuestions?, paths?, workspace, decisionModel, signal?, budgetTokens?})
is scout-0.4. It keeps the recall, triage and verification defaults of the validated research tool
scout-0.3.1, and adds the stages that let an agent read less irrelevant code without reading less relevant code.
The legacy jev: JevClient input remains supported when decisionModel is absent.
Stages now use the shared typed interface; the following Jev-based pipeline was
the original validated configuration, not a performance claim for every backend.
Usage is under stats.decision (nullable token/cost counts, model/provider and
cost source); stage events are named decision. Refusals fail rather than turning
into lexical scores. See decision models.
The pipeline:
text is the rendered pack. Its first line is a status header such as
code_search: evidence rating 0.55 (s1 0.81) | 9 passages from 6 files, ~7.9k tokens | 3.1s.
status gives the label and scores, and stats gives wall time, stage times, counts, workspace calls
and Jev requests, tokens and cost.
A Jev failure makes the whole search throw. There is no keyword-only fallback, because it lowered
answer quality in the study. The one exception is a failure of the final sufficiency check: the
fully Jev-scored pack is still returned, with evidence rating unknown (check failed) and the
error in statusCheckError.
All file and process access goes through CodeSearchWorkspace: ripgrep, readText and
pathKinds, all with workspace-relative paths.
The engine passes ripgrep only these flags, so an adapter can enforce an allowlist: --files,
--null, --line-number, --with-filename, --no-heading, --color never, -i, -w,
--no-require-git, --hidden, -m N, --max-columns N, --max-filesize N, -g GLOB and
-e PATTERN. These are followed by -- and then . or workspace-relative paths.
A pattern is at most CODE_SEARCH_MAX_PATTERN_CHARS (16,000) characters. The engine splits a longer
keyword union or definition search into several ripgrep calls, runs 4 at a time and merges their
output, so the result is the same as one call.
If ripgrep output is truncated or timedOut, the search continues with what it got, and the header
reports it, for example code_search (partial search: ...).
An adapter reports problems as follows:
readText returns null for a missing file. Per-file problems should also be returned as null
rather than thrown.CodeSearchWorkspaceError when the workspace is unreachable. When ripgrep is
missing, it throws CodeSearchRipgrepMissingError, or a CodeSearchWorkspaceError whose message
says ripgrep is not installed.The package exports the pieces the worker needs to register the tool:
CODE_SEARCH_TOOL_NAME, CODE_SEARCH_TOOL_DESCRIPTION and codeSearchInputSchema.parseCodeSearchArguments, which trims, dedupes and normalizes paths, and rejects absolute paths,
.. and unknown keys.renderCodeSearchError, which turns a failure into short model-facing text.scout-0.4 adds symbol discovery, whole-file tiling, the change-together judgment, call sites of leads, the adaptive pack and the gap-reporting footer (above). .opengeni/ sandbox state is never searched.
There is no lexical judge and no whole-run lexical fallback.
There are no Jev caches, file traces, CPU accounting or CLI. The optional onStage callback
replaces the trace.
The header names code_search instead of scout, and the footer notes say "paths" instead of -p.
Truncated or timed-out ripgrep output is reported in the header.
File reads and binary checks run in parallel (8 at a time) through the workspace. Selecting candidates gives the same result as the original sequential scan.
ripgrep patterns over 16,000 characters are split into several calls with the same merged result.
A file that reads shorter than ripgrep saw it, or not at all (for example UTF-16), no longer fails the search. Hits and lead definitions past its end are skipped.
bun test ./packages/jev/test
The tests use a fixture repository, a LocalCodeSearchWorkspace (local rg via Bun.spawn, with the
ripgrep allowlist enforced) and a deterministic fake Jev. They never call the real API.
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.