Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@effect-uai/retrieval

Latest version: v0.20.0-dev-20261130203344

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: jantxu
79 Stars
5 Forks
13 Versions
1.2K Downloads
TypeScript Repo language

Scan summary

@effect-uai/retrieval was last scanned on 30 Nov 2026 at version 0.20.0-dev-20261130203344. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 13 versions; the latest was published on 30 Nov 2026.
  • Findings: No rules fired in version 0.20.0-dev-20261130203344.
  • Downloads: 1,248 downloads.

Versions

13 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.20.0-dev-20261130203344 LATEST 30 Nov 2026 No rules fired
0.20.0-dev-20261117200714 17 Nov 2026 No rules fired
0.20.0-dev-20261117184007 17 Nov 2026 No rules fired
0.20.0-dev-20261110202152 10 Nov 2026 Not shown
0.19.0 10 Nov 2026 Not shown

No rules fired in 0.20.0-dev-20261130203344

Findings

Findings for v0.20.0-dev-20261130203344. 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 0.20.0-dev-20261130203344; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@effect-uai/retrieval

Retrieval-pipeline utilities for @effect-uai/core: chunking, rank fusion, and a tokenizer layer.

The pieces of a retrieval pipeline that are plain functions rather than providers. The capability tags they implement (Chunker, Tokenizer) live in core, so your ingest code never names a strategy.

This package exposes:

  • Chunking - four chunkers (recursive, sentences, markdown, fixed), each reporting the offsets every passage came from, so a search hit can be traced back to its source. layer serves one through the core Chunker tag; withTokenizer sizes chunks by real tokens.
  • Rank - rrf, reciprocal rank fusion, for merging a keyword leg and a vector leg whose scores mean nothing to each other.
  • HuggingFaceTokenizer - the core Tokenizer tag over any Hugging Face repo with a tokenizer.json. Downloading and building are separate, so you cache the vocabulary instead of refetching on every boot.

Install

pnpm add @effect-uai/retrieval @effect-uai/core effect

The tokenizer needs one optional peer:

pnpm add @huggingface/tokenizers

ESM-only. Requires effect@>=4.0.1 (Effect 4.0 stable) as a peer.

Usage

import { chunk } from "@effect-uai/core/Chunker"
import * as Chunking from "@effect-uai/retrieval/Chunking"
import * as Rank from "@effect-uai/retrieval/Rank"

const ingest = Effect.gen(function* () {
  const passages = yield* chunk(document)
  // embed and store
})

const chunker = Chunking.layer(Chunking.recursive, { targetSize: 512 })

const fused = Rank.rrf([keywordIds, vectorIds], { weights: [1, 2] })

Docs

Full docs: https://effect-uai.com/retrieval/

See Chunking, Tokenizers, and Agentic search for a pipeline using all of it.

License

MIT

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm @effect-uai/retrieval

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229