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

@fevex/openai

Latest version: v0.1.0-alpha.18

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: cristian.mendez
1 Stars
0 Forks
15 Versions
4.7K Downloads
TypeScript Repo language

Scan summary

@fevex/openai was last scanned on 25 Nov 2026 at version 0.1.0-alpha.18. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 15 versions; the latest 3 were published within 6 days (20–25 Nov 2026).
  • Findings: No rules fired in version 0.1.0-alpha.18.
  • Downloads: 4,732 downloads.

Versions

15 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.0-alpha.18 LATEST 25 Nov 2026 No rules fired
0.1.0-alpha.17 24 Nov 2026 No rules fired
0.1.0-alpha.16 20 Nov 2026 No rules fired
0.1.0-alpha.14 11 Nov 2026 Not shown
0.1.0-alpha.13 10 Nov 2026 Not shown

No rules fired in 0.1.0-alpha.18

Findings

Findings for v0.1.0-alpha.18. 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.1.0-alpha.18; other versions have their own rules, not their own score.

README

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

@fevex/openai

Official OpenAI ModelGateway adapter for Fevex. See the compatibility and release policy.

npm install @fevex/core @fevex/openai
import { createOpenAI } from '@fevex/openai';

const model = createOpenAI({
  apiKey: process.env.OPENAI_API_KEY!,
  organization: process.env.OPENAI_ORG_ID,
  project: process.env.OPENAI_PROJECT_ID,
  schemaPolicy: 'strict',
})('gpt-5.6');

The adapter uses native fetch and implements only the Fevex model contract. Runtime behavior such as tool execution, validation, events and retries belongs to @fevex/core. Returned gateways include metadata: { provider: "openai", model: modelId } for traces, eval cost calculators and OpenTelemetry export.

Text, tools and continuation

Without outputSchema, OpenAI text is returned as the exact string supplied by the Responses API, even when it looks like JSON. With outputSchema, the adapter requires valid JSON before Fevex performs local schema validation. Refusals, incomplete responses and malformed function calls fail explicitly.

During tool loops the adapter stores the original response items, including reasoning items required by Responses API, in opaque providerState. Fevex returns that state to the next model step automatically. Direct ModelGateway consumers must do the same; the state is run-local and must not be inspected. The adapter's stateCodec lets Fevex persist it only inside a private durable checkpoint.

Core reasoning efforts are forwarded to reasoning.effort; provider-default leaves provider options untouched. The core contract includes none, minimal, low, medium, high, xhigh and max so current GPT-5.6 models can use their documented effort levels. Model-specific support still belongs to OpenAI, so an unsupported value is reported by the API. Provider-only settings can be supplied through modelOptions.reasoning.

createOpenAI receives the connection settings (apiKey, optional organization, project, baseURL, schema policy and fetch) and the model ID is supplied when creating the gateway. Reasoning effort is intentionally a per-request setting forwarded through ModelInput, not a factory setting.

The adapter always uses the Responses streaming API. It emits only response.output_text.delta as visible output and builds the terminal result from response.completed; reasoning and partial function arguments remain private.

Tool names and schemaName must match [A-Za-z0-9_-]{1,64}. Fevex-owned fields such as model, input, tools, tool choice, schema format, parallel calls and output caps override conflicting modelOptions. Background provider jobs and built-in tools remain outside this gateway.

Schema policy

schemaPolicy defaults to "strict". Before sending a request, the adapter checks tool inputs and final outputs against OpenAI's documented Structured Outputs subset. Every schema must have an object root; every object must require all its properties and set additionalProperties: false. Unsupported keywords and documented size limits throw OpenAIError with code: "PROVIDER_SCHEMA_UNSUPPORTED" before fetch runs.

Set schemaPolicy: "best-effort" to send tools with strict: false. Object outputs use JSON mode and other JSON values use a schema instruction. Fevex still validates the returned value locally, but OpenAI does not guarantee schema adherence in this mode, so the caller may need to retry an invalid result.

Policy Tool input Final output
strict OpenAI strict function schema Structured Outputs
best-effort Non-strict function schema JSON mode or JSON instruction

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 @fevex/openai

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

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229