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

@guestlinelabs/oc-vite

Latest version: v1.0.0-alpha.4

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: dave-hillier, davethemac, greg.plenzler, guru_fordy, imperium02, jb-access, missbruni, mkredz, pbazydlo, rachel.sinclair, rameshanandakrishnan
0 Stars
0 Forks
5 Versions
1.1K Downloads
TypeScript Repo language

Scan summary

@guestlinelabs/oc-vite was last scanned on 29 Nov 2026 at version 1.0.0-alpha.4. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 5 versions; the latest 2 were published within 4 days (26–29 Nov 2026).
  • Findings: No rules fired in version 1.0.0-alpha.4.
  • Downloads: 1,062 downloads.

Versions

5 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.0.0-alpha.4 LATEST 29 Nov 2026 No rules fired
1.0.0-alpha.2 26 Nov 2026 No rules fired
1.0.0-alpha.1 22 Nov 2026 No rules fired
1.0.0-alpha.0 22 Nov 2026 Not shown
0.0.0-stage 22 Nov 2026 Not shown

No rules fired in 1.0.0-alpha.4

Findings

Findings for v1.0.0-alpha.4. 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 1.0.0-alpha.4; other versions have their own rules, not their own score.

README

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

@guestlinelabs/oc-vite

Vite plugin and runtime for OpenComponents components. vite build (or oc package from @guestlinelabs/oc) writes _package/ with the template.js, server.js, static files and package.json an OC registry expects, as an oc-template-esm component.

  • Runtime: Bun ≥ 1.4.3
  • Peer dependency: vite 6, 7 or 8

Entry points

Import Contents
@guestlinelabs/oc-vite Server, ServerError and the data-provider types
@guestlinelabs/oc-vite/client serverClient, getInitialData, getSettings, InitialData, ActionOutput, window.oc and CSS module types
@guestlinelabs/oc-vite/renderer createComponent, getShadowRoot
@guestlinelabs/oc-vite/plugin oc() Vite plugin (also the default export)

Usage

// vite.config.ts
import { oc } from '@guestlinelabs/oc-vite/plugin';
import react from '@vitejs/plugin-react';
import { defineConfig } from 'vite';

export default defineConfig({
  plugins: [react(), oc()],
  build: { rollupOptions: { external: ['react', 'react-dom/client'] } }
});
// src/server.ts
import { Server } from '@guestlinelabs/oc-vite';

export const server = new Server()
  .withParameters({
    name: { type: 'string', mandatory: true, example: 'World' }
  })
  .handler(async ({ name }) => ({ greeting: `Hello ${name}` }));

declare module '@guestlinelabs/oc-vite' {
  interface Register {
    server: typeof server;
  }
}

The component's package.json points oc.files.data at the server entry and oc.files.template.src at a client entry that exports createComponent({ mount, unmount }) from @guestlinelabs/oc-vite/renderer.

bunx --bun vite starts a single-component dev server: preview page, data provider, actions, mocked plugins from oc.json and HMR. It must run under Bun. Query-string parameters are resolved against the declared schema (query > example > default, with per-type coercion) and a parameters panel (oc({ panel: false }) to disable) lets you edit them live; oc({ port }) picks the dev-server port.

Multiple instances on one page

A page can mount the same component version several times with different parameters. Builds evaluate the component's code once per mounted instance, as the function-based OC templates did, so getInitialData(), getSettings() and serverClient always see the instance's own values, and module-level state (stores, caches, i18n instances) is per instance too. Code that must run once per page, such as customElements.define, needs a guard. oc({ isolateInstances: false }) shares one module scope between instances instead; getInitialData() then returns the last-mounted instance's data, so pass mount's props down explicitly. The vite dev server always shares one scope.

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 @guestlinelabs/oc-vite

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?

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229