Scan your whole stack
Are you using @next/routing?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v16.5.0-canary.62
@next/routing was last scanned on 23 Nov 2026 at version 16.5.0-canary.62. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 16.5.0-canary.62 LATEST | 23 Nov 2026 | No rules fired |
| 16.5.0-canary.61 | 22 Nov 2026 | No rules fired |
| 16.5.0-canary.60 | 21 Nov 2026 | No rules fired |
| 16.5.0-canary.59 | 20 Nov 2026 | Not shown |
| 16.5.0-canary.58 | 20 Nov 2026 | Not shown |
Findings for v16.5.0-canary.62. 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 16.5.0-canary.62; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Shared route resolving package for Next.js.
This package provides a comprehensive route resolution system that handles rewrites, redirects, middleware invocation, and dynamic route matching with support for conditional routing based on headers, cookies, queries, and host.
npm install @next/routing
import { resolveRoutes } from '@next/routing'
const result = await resolveRoutes({
url: new URL('https://example.com/api/users'),
basePath: '',
requestBody: readableStream,
headers: new Headers(),
pathnames: ['/api/users', '/api/posts'],
routes: {
beforeMiddleware: [],
beforeFiles: [],
afterFiles: [],
dynamicRoutes: [],
onMatch: [],
fallback: [],
},
invokeMiddleware: async (ctx) => {
// Your middleware logic
return {}
},
})
if (result.resolvedPathname) {
console.log('Resolved pathname:', result.resolvedPathname)
console.log('Resolved query:', result.resolvedQuery)
console.log('Invocation target:', result.invocationTarget)
}
Each route can have:
sourceRegex - Regular expression to match against pathnamedestination - Destination path with support for replacements ($1, $name)headers - Headers to apply on matchhas - Conditions that must matchmissing - Conditions that must not matchstatus - HTTP status code (3xx for redirects)When a route has:
Location or RefreshThe routing will end immediately and return a redirect result with the destination URL and status code.
Conditions support:
header - Match HTTP headerscookie - Match cookiesquery - Match query parametershost - Match hostnameValues can be:
undefined - Match if key existsFind 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.