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

@opengeni/network

Latest version: v6.42.2-canary.46215620633001

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: benyhh, davletdz, jorgensandhaug
229 Stars
23 Forks
410 Versions
36.7K Downloads
TypeScript Repo language

Scan summary

@opengeni/network was last scanned on 29 Nov 2026 at version 6.42.2-canary.46215620633001. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 410 versions; the latest 5 were published within 2 days (28 and 29 Nov 2026).
  • Findings: No rules fired in version 6.42.2-canary.46215620633001.
  • Downloads: 36,741 downloads.

Versions

410 versions published
Versions and the rules that fired in each
VersionPublishedStatus
6.42.2-canary.46215620633001 LATEST 29 Nov 2026 No rules fired
6.42.2-canary.46212353262001 29 Nov 2026 No rules fired
6.42.2-canary.46209805821001 29 Nov 2026 No rules fired
6.42.2-canary.46198876537001 28 Nov 2026 Not shown
6.42.2-canary.46176952817001 28 Nov 2026 Not shown

No rules fired in 6.42.2-canary.46215620633001

Findings

Findings for v6.42.2-canary.46215620633001. 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.42.2-canary.46215620633001; other versions have their own rules, not their own score.

README

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

@opengeni/network

@opengeni/network is the low-level outbound transport used by Opengeni's credential-bearing MCP and OAuth paths. It resolves a destination hostname once, rejects private and special-use answers unless the caller has explicitly enabled the local/test or private-target escape, and supplies the vetted address through a per-request Undici 6.x Agent lookup. TLS hostname verification remains enabled: the URL hostname is still the TLS identity and is never replaced with an IP or used with rejectUnauthorized: false.

The response body owns the dispatcher lifecycle. The per-request agent is closed after a body completes and destroyed after cancellation, stream failure, or a fetch failure. This keeps long-lived MCP SSE streams alive while preventing a completed or abandoned response from retaining a socket pool.

Callers must put credential-resolution wrappers outside the pinned transport:

const guarded = (input: string | URL, init?: RequestInit) =>
  pinnedFetch(input, init, settings, { fetchImpl: undiciFetch });
const withCredentials = resolveHeadersThenCall(guarded);

The wrapper must add Authorization, API-key, or OAuth form credentials before calling pinnedFetch; the policy resolution and pinned Agent are the final network boundary. Callers must not preflight with one fetch and then call a second global fetch.

The pinned transport uses Undici's request() implementation from its explicit undici/index.js entrypoint and adapts the result to a web Response. This avoids Bun/Undici fetch() body-stream interoperability stalls while preserving the vetted per-request Agent. The separately exported undiciFetch remains a fetch-compatible adapter for callers that do not use pinnedFetch. Bun's bare undici specifier resolves to a compatibility shim whose Agent does not expose the required dispatcher methods, and Bun's native fetch does not provide a portable guarantee that an Undici dispatcher is honored. This package does not follow redirects; each caller must make a manual redirect decision and call the transport again so every hop is independently resolved and pinned.

The default pinned request adapter sends User-Agent: Opengeni unless the caller supplies its own value, including through a Request object. This keeps OAuth discovery and provider requests compatible with servers that require an identified HTTP client.

The package also exports readJsonBase64Field for provider APIs that return large binary artifacts inside JSON. It validates declared and streamed limits, decodes canonical base64 incrementally, and avoids retaining the JSON envelope or encoded string. Callers remain responsible for validating the decoded media.

MCP OAuth discovery

resolveMcpOAuthDiscovery provides the shared MCP OAuth discovery state machine used by runtime connections and catalog diagnostics. It prefers RFC 9728 Protected Resource Metadata and permits the MCP 2025-03-26 compatibility path only after every PRM candidate is explicitly absent with HTTP 404 or 410. The legacy path requires a Bearer/OAuth challenge, RFC 8414 metadata on the MCP origin, an exact issuer match, same-origin resource binding, and PKCE S256.

The resolver is transport-independent. Its fetchMetadata callback must validate each candidate before I/O, bound response size and duration, disable automatic redirects, and independently validate and DNS-pin every redirect hop. It must return status: "absent" only for HTTP 404 or 410 and throw for network, redirect, destination-policy, HTTP, body, and JSON failures; otherwise an unsafe or unreachable PRM endpoint could be mistaken for legacy absence. validateEndpoint and canonicalizeResource provide the caller's deployment policy and canonical identifier rules.

Successful results include the discovery mode, normalized metadata, structured classification, and a stable SHA-256 provenance digest. Fail-closed errors carry classifications for broken discovery, unverified legacy defaults, or a legacy cross-origin configuration that requires an explicit reviewed profile. These classifications are diagnostics; callers still decide whether a provider profile is supported and must perform fresh runtime discovery before granting credentials.

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 @opengeni/network

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

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?

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Copy of Template Design OX Blog (1)
Research

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

Frame 2085668439 (1)
Group 1261154229