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

@vizejs/router

Latest version: v0.811.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: ubugeeei
951 Stars
54 Forks
94 Versions
17.6K Downloads
Rust Repo language

Scan summary

@vizejs/router was last scanned on 28 Nov 2026 at version 0.811.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 94 versions; the latest 5 were published within 2 days (27 and 28 Nov 2026).
  • Findings: No rules fired in version 0.811.0.
  • Downloads: 17,572 downloads.

Versions

94 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.811.0 LATEST 28 Nov 2026 No rules fired
0.810.0 27 Nov 2026 No rules fired
0.809.0 27 Nov 2026 No rules fired
0.808.0 27 Nov 2026 Not shown
0.807.0 27 Nov 2026 Not shown

No rules fired in 0.811.0

Findings

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

README

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

@vizejs/router

Experimental: the route table, SSR handoff shape, and generated metadata contract may change during the Vize alpha line.

The package is released on npm as @vizejs/router; the route and navigation contracts remain experimental throughout the Vize alpha line.

@vizejs/router provides the first typed route-table kernel for Vize applications. It is intentionally SSR-safe: matching and serialization do not touch browser globals, timers, or reactive scope state.

import { createRouterMatcher, defineRoutes } from "@vizejs/router";

const routes = defineRoutes([
  { name: "home", path: "/", component: "./routes/home.vue" },
  { name: "user", path: "/users/:id/:tab?", component: "./routes/user.vue" },
] as const);

const router = createRouterMatcher(routes);
const match = router.match("/users/42/settings?from=ssr");

router.resolve("user", { id: "42" });

A string location is an in-app reference. match, navigate, and the activation URL given to hydrateRouteState report no match when it resolves to another origin (//host/path, an absolute URL) or cannot be parsed or decoded; pass a URL object for an absolute URL such as a request URL. History adapters receive the normalised path, query, and hash, never the caller's raw string. resolve rejects a param that is empty or a ./.. segment, so a built path names its own route.

Route components are declared as .vue specifiers. JavaScript render-function component sources are not part of this package surface.

SSR integrations can pass serializeRouteMatch(match, data) through their own safe serialization channel, then call hydrateRouteState(routes, state, currentUrl) during client activation. Hydration rematches the pathname against the current table and checks route identity, decoded params, query, and hash. Malformed or stale handoffs return undefined; match and load the current URL afresh in that case. The optional third argument checks the activation URL without reading browser globals. Omitting it reconciles the serialized pathname and params only; it cannot detect navigation since the server render. Query key order is ignored, while repeated-value order is preserved.

Navigation lifecycle

createRouter(routes, adapters) adds cancellable guards, loaders, redirects, stale-result custody, history commits, and explicit focus/scroll/announcement effects without reading browser globals. Integrations provide the browser or native adapters they support; missing adapters are deliberate no-ops rather than implicit global access.

import { createRouter } from "@vizejs/router";

const router = createRouter(routes, {
  history: {
    push: (url, leaving) => history.pushState(leaving, "", url),
    replace: (url, leaving) => history.replaceState(leaving, "", url),
  },
  announce: (title) => announceRoute(title),
});

router.beforeEach(({ to }) => (to.meta.requiresAuth && !session.value ? "/login" : undefined));
await router.navigate({ name: "user", params: { id: "42" } });

Starting a second navigation aborts the first one. A late loader result is reported as stale and cannot replace current state. Explicit cancellation reports cancelled; loader/guard failures report error and retain the route's optional .vue error boundary. History traversal passes saved scroll/focus values through navigate(..., { history: "pop", scroll, focus }).

File routes and evidence

createFileRoutes maps index.vue, [id].vue, [[tab]].vue, and [...slug].vue into explicit route records. Each source can override its generated name/path while retaining the same manifest, SSR, and navigation contracts. vp run --filter './npm/compose/router' bench records cold table construction, warm matching, warm navigation, and a 1,000-route table in one machine-readable row.

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 @vizejs/router

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

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?

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?

Frame 2085668439 (1)
Group 1261154229