Scan your whole stack
From OX Research Newsroom
Are you using @fevex/deepseek?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.0-alpha.18
@fevex/deepseek was last scanned on 25 Nov 2026 at version 0.1.0-alpha.18. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 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.13 | 10 Nov 2026 | Not shown |
| 0.1.0-alpha.12 | 9 Nov 2026 | Not shown |
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.
The publisher’s own README, as collected from the registry.
Official DeepSeek ModelGateway adapter for Fevex. See the
compatibility and release policy.
npm install @fevex/core @fevex/deepseek
import { createDeepSeek } from '@fevex/deepseek';
const model = createDeepSeek({
apiKey: process.env.DEEPSEEK_API_KEY!,
schemaPolicy: 'best-effort',
})('deepseek-v4-flash');
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: "deepseek", model: modelId } for traces, eval cost calculators and OpenTelemetry export.
Without outputSchema, DeepSeek content is returned as the exact provider
string, even when it looks like JSON. With outputSchema, the adapter requires
valid JSON before Fevex performs local schema validation. Truncated, filtered
or malformed responses fail explicitly.
Thinking-mode tool calls
require reasoning_content to be sent back on the next request. The adapter
keeps it in opaque providerState, and Fevex carries that state automatically
between model steps. Direct ModelGateway consumers must pass it unchanged; it
is run-local and must not be inspected. The adapter's stateCodec lets Fevex
persist it only inside a private durable checkpoint.
reasoning: "none" disables thinking. low, high and max map directly to
DeepSeek's native reasoning_effort; neutral xhigh maps to high for
deepseek-v4-flash and max for deepseek-v4-pro. minimal and medium
are rejected before HTTP with PROVIDER_REASONING_UNSUPPORTED. Provider-only
low, high and max remain available through modelOptions when core
reasoning is provider-default.
The adapter always uses native Chat Completions SSE with usage enabled. Visible
content is streamed immediately, while reasoning and partial tool calls are
accumulated privately until the required [DONE] marker.
Tool names must match [A-Za-z0-9_-]{1,64}. Fevex-owned fields such as model,
messages, tools, tool choice, schema format, parallel calls and output caps
override conflicting modelOptions. Provider tools outside Fevex's function
contract are not enabled by this gateway.
schemaPolicy defaults to "strict". DeepSeek strict tool schemas require a
baseURL ending in /beta; the adapter validates their documented subset and
sets strict: true on every function according to the
Tool Calls guide.
Unsupported keywords throw
DeepSeekError with code: "PROVIDER_SCHEMA_UNSUPPORTED" before fetch runs.
DeepSeek JSON Output
guarantees valid JSON but does not enforce a supplied JSON Schema, so final
outputSchema is rejected in strict mode. Use
schemaPolicy: "best-effort" to include the schema as a model instruction and
let Fevex validate the response locally. This mode does not guarantee adherence
and the caller may need to retry invalid output.
const strictTools = createDeepSeek({
apiKey: process.env.DEEPSEEK_API_KEY!,
baseURL: 'https://api.deepseek.com/beta',
})('deepseek-v4-flash');
| Policy | Tool input | Final output |
|---|---|---|
strict |
DeepSeek strict subset on /beta |
Unsupported |
best-effort |
Non-strict function schema | JSON instruction plus local validation |
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.