Scan your whole stack
From OX Research Newsroom
Are you using @feltdb/webllm?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.23.0
@feltdb/webllm was last scanned on 23 Nov 2026 at version 0.23.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.23.0 LATEST | 23 Nov 2026 | No rules fired |
| 0.20.0 | 3 Nov 2026 | No rules fired |
| 0.19.0 | 3 Nov 2026 | No rules fired |
| 0.18.0 | 2 Nov 2026 | Not shown |
| 0.17.1 | 2 Nov 2026 | Not shown |
Findings for v0.23.0. 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.23.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Studio proposes and previews. CLI applies to the repository. FeltDB validates and stores the proposal as application state. Human approves. Nothing else writes source.
This package performs local inference and returns hash-bound proposals. It has no repository filesystem authority.
Pass model to select another WebLLM-compatible local model. Hosted and other
OpenAI-compatible models are configured with feltdb ai model set; the CLI
keeps their credentials out of the browser. All providers share the Core-owned
FlowSpec guide, contract grounding, validation, and constrained repair pass.
Run a small language model entirely in the browser and use it as a FeltDB AI provider. Prompts and inference stay on the user's device; no frontier-model account or hosted inference API is required.
npm install @feltdb/webllm
The package requires a browser with WebGPU. On first use, WebLLM downloads the selected model's artifacts and caches them in the browser.
import { WebLLMProvider } from '@feltdb/webllm';
const llm = new WebLLMProvider({
onProgress: ({ progress, text }) => {
console.log(`${Math.round(progress * 100)}%`, text);
},
});
const answer = await llm.generate([
{ role: 'system', content: 'Return concise JSON.' },
{ role: 'user', content: 'Design a FeltDB task tracker.' },
], {
responseFormat: { type: 'json_object' },
});
WebLLMDecisionRuntime is a browser-only evaluator for authorized context. It
supports binary, choice, score, and isolated DecisionBatch requests using
temperature 1 direct-label logprobs; it has no database or persistence
authority.
const runtime = new WebLLMDecisionRuntime({ modelRevision: 'pinned-model-sha' });
const result = await runtime.decide({
kind: 'choice',
question: 'Which tier?',
options: ['free', 'pro'],
context: authorizedContext,
});
Initialization is lazy: the model loads on the first call to generate() or
stream(). Call initialize() earlier to show loading progress sooner.
The default is SmolLM2-360M-Instruct-q4f32_1-MLC, a deliberately small model
that needs roughly 580 MB of VRAM. Model selection is configurable:
import { RECOMMENDED_MODELS, WebLLMProvider } from '@feltdb/webllm';
const llm = new WebLLMProvider({
model: RECOMMENDED_MODELS.balanced,
});
smallest: the default 360M modelbalanced: SmolLM2 1.7B for stronger generation on capable deviceslowMemoryWithShaderF16: a smaller 360M quantization for devices supporting
the WebGPU shader-f16 featurePass any model ID from WebLLM's prebuilt catalog, or call
getAvailableModels() to inspect the installed catalog.
generateFlow() grounds a proposal in the deterministic, secret-free contract
snapshot shared by Core, the CLI, and Studio. It preserves generic
generate() and stream() behavior and never writes files or publishes an
application.
const llm = new WebLLMProvider({ contract: snapshot });
const proposal = await llm.generateFlow(
'Add invitations for organization owners.',
{ currentFlow },
);
The proposal carries the base contract and flow hashes. The CLI refuses stale
proposals, parses and semantically validates the proposed DSL, highlights
authorization changes, and requires human approval before synchronizing
feltdb.flow and the generated integration source. The snapshot contains
schema and application definitions, not application records, credentials,
connections, or environment configuration.
WebGPU is required only for local inference. Projects that decline the optional WebLLM dependency retain the complete non-AI FeltDB experience.
WebLLMProvider implements FeltDB's message-generation provider contract:
import { ApplicationFactory } from '@feltdb/ai';
import { WebLLMProvider } from '@feltdb/webllm';
const factory = new ApplicationFactory({
provider: new WebLLMProvider(),
});
const application = await factory.generateApplication(
'A collaborative, offline-first field inspection app',
);
@feltdb/ai is currently an experimental repository workspace. This package
is independently usable through its generate() and stream() APIs.
Inference runs in the bundled Web Worker by default so execution does not block
the UI. Set useWorker: false for main-thread execution, or pass an
application-owned worker for custom hosting or CSP behavior.
Call interrupt() to stop generation and shutdown() to unload the model and
terminate a package-owned worker.
The model executes locally. Hosting and analytics code can still transmit data, and model files must be fetched before they are cached, so review your app's network and content-security policies. This package does not send prompts to FeltDB or an inference provider.
MIT licensed.
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.