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

@vzn/vx-migrate

Latest version: v0.0.664

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: exelord
13 Stars
1 Forks
163 Versions
3.2K Downloads
TypeScript Repo language

Scan summary

@vzn/vx-migrate was last scanned on 29 Nov 2026 at version 0.0.664. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 163 versions; the latest 4 were published within 7 days (23–29 Nov 2026).
  • Findings: No rules fired in version 0.0.664.
  • Downloads: 3,206 downloads.

Versions

163 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.0.664 LATEST 29 Nov 2026 No rules fired
0.0.663 25 Nov 2026 No rules fired
0.0.662 24 Nov 2026 No rules fired
0.0.661 23 Nov 2026 Not shown
0.0.659 22 Nov 2026 Not shown

No rules fired in 0.0.664

Findings

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

README

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

@vzn/vx-migrate

Website: https://vznjs.github.io/vx/ · this plugin: https://vznjs.github.io/vx/plugins/vx-migrate/ · source: https://github.com/vznjs/vx

This package moves a repo to @vzn/vx. It has zero dependencies.

It reads Turborepo, Nx, Vite Task or plain package.json scripts. It holds four tools:

  • turbo(): a temporary start for a Turbo repo. It fills vx's tasks from turbo.json and each package's scripts until you write native config.
  • nx(): the same temporary start for an Nx repo, filled from Nx's resolved project graph.
  • bunx @vzn/vx-migrate: writes one vx.config.ts per workspace package, plus the workspace file every run needs.
  • turboCache() and nxCache(): keep the remote cache you have.
  • turbo() makes each package-manager member a project, through the discover stage. Core alone finds only directories holding a vx.config.
  • turbo() fills vx's project stage until the migrator writes native config.
  • Under nx(), executor targets (@nx/js:tsc, @nx/vite:build, your own) run as themselves through nx-exec, one executor per process.
  • nx() and nx-exec use the repo's own nx, versions 22 to 24 (an optional peer dependency).
  • bunx @vzn/vx-migrate reads your turbo.json, an exported Nx project graph, or vite-plus's run.tasks (Vite Task, vp run).
  • With none of those, it reads each package's package.json scripts.
  • It runs without a workspace file, so it is your first command, not your second.
  • vx init runs it in a repo with a turbo.json, turbo.jsonc, nx.json, an exported Nx graph or Lerna on Nx.
  • turboCache() speaks Turbo's /v8/artifacts API, so any such server works, Vercel's hosted cache included.
  • nxCache() speaks Nx's self-hosted /v1/cache spec.
bun add -d @vzn/vx @vzn/vx-migrate

In a Turbo or Nx repo, bunx @vzn/vx init --keep runs this package.

It writes the .vx/workspace.ts that declares turbo() or nx(), installs what it imports and writes the lock.

Where the repo shows a remote cache, it declares turboCache() or nxCache() too. Written by hand, the file reads:

// .vx/workspace.ts — a Turbo repo mid-migration, with its remote cache
import { defineWorkspace } from '@vzn/vx/config'
import { bun } from '@vzn/vx-lockfile'
import { turbo, turboCache } from '@vzn/vx-migrate'

export default defineWorkspace({ plugins: [turboCache(), turbo(), bun()] })

turbo() reads no package edges: the lockfile plugin (bun(), pnpm(), npm() or yarn() from @vzn/vx-lockfile) gives ^build its order. Without it, vx lock refuses a ^ edge.

The package exports turbo, nx, turboCache, nxCache and their options types.

The options types are TurboPluginOptions, NxPluginOptions, TurboCacheOptions and NxCacheOptions. The mappers and cache clients are internal.

turbo() — a Turbo repo, mid-migration

turbo() runs each package's scripts the way turbo run would, until bunx @vzn/vx-migrate writes native config.

// turbo.json
{ "tasks": { "build": { "dependsOn": ["^build"], "outputs": ["dist/**"] } } }

With this file, vx run build --all runs every package's build script after its dependencies' builds, and caches dist/**.

vx lock maps it. What it maps:

  • dependsOn edges: ^build, same-package deps and pkg#task.
  • inputs as every task's key, and outputs as cache: true.
  • env / passThroughEnv, cache: false and persistent.
  • Per-package turbo.json overlays.
  • Turbo's global fields (globalDependencies, globalEnv, globalPassThroughEnv, Turbo 1's globalDotEnv) are inlined into every task.
  • A * env name (NEXT_PUBLIC_*) is kept as written. Core matches it against each run's environment, as Turbo does.
  • * is Turbo's only wildcard: \*, a leading \!, ? and [ are literal.
  • A literal vx cannot key (unkey's NEXT_PUBLIC_\*) is left out and reported once.
  • A turbo.jsonc (Turbo 2.5+) is read wherever a turbo.json would be, at the root and in a package.
  • A directory holding both is refused, as Turbo refuses it. A workspace root with neither is refused, naming the fix.
  • An absolute path in inputs, outputs, globalDependencies or global.inputs is refused, naming the file, as Turbo refuses it.
  • Turbo 2's framework inference applies too. A package on next has NEXT_PUBLIC_* and NEXT_DEPLOYMENT_ID hashed and passed.
  • Turbo's whole framework table applies (expo, nuxt, remix, @sveltejs/kit and the rest).
  • Each package takes the first framework it matches, as Turbo does.
  • The prefix lands in that package's inputs.env as a pattern.
  • vx has no exclusion: a ! entry or TURBO_CI_VENDOR_ENV_KEY cannot take names back from it, so those stay keyed.
  • Turbo's builtin env applies as Turbo's source has it. VERCEL_ANALYTICS_ID and VERCEL_TARGET_ENV are keyed in every task.
  • A globalEnv ! entry such as !VERCEL* takes them back.
  • Next's skew rule keys VERCEL_DEPLOYMENT_ID always, where Turbo keys it under VERCEL_SKEW_PROTECTION_ENABLED=1. The lock does not depend on the machine.
  • Turbo's builtin pass-through list (TZ, HOME, CI, VERCEL_*, GITHUB_* and the rest) reaches every task unkeyed, patterns as written.
  • A written config carries none of Turbo's own env and none of the global fields. It holds only what each task declares.
  • So the first run after migrating runs each task once more.
Option Meaning
root Directory holding turbo.json, relative to the workspace root or absolute. Defaults to the workspace root.
Locking

vx lock makes the mapping, and nothing else does.

vx lock          # map turbo.json and the scripts into .vx/projects.lock
vx lock --check  # name each package the mapping now says otherwise for
  • vx lock maps turbo.json and the scripts, and records each package's final tasks in .vx/projects.lock.
  • A package with no vx.config is included.
  • A run reads that record and maps nothing. It reads no turbo.json, manifest, git or environment for the mapping.
  • So an edit to turbo.json or a script runs only after the next vx lock.
  • Until then a run runs what the lock holds, unrefused, as for an edited vx.config, on a fresh clone too. vx lock --check names the drift.
  • So does a package turbo.json added since.
  • A package added since has no tasks until vx lock.
  • Adding or dropping turbo(), or editing its options, changes nothing until vx lock either.
What it does not do
  • A task the package's own vx.config already declares is left alone: the plugin fills, it never overwrites.
  • Migrate a package by writing its config. The rest of the repo keeps running from turbo.json.
  • The mapping's gaps are the migration's gaps. vx lock (and vx lock --check) reports them as warnings, never a run.
  • They are warnings instead of TODO(vx-migrate) comments. bunx @vzn/vx-migrate --dry lists the same set once.
  • The cost is vx lock's: on a 1,000-package workspace with no vx.config files, the mapping takes about 42 ms.
  • A run pays none of it; it reads the lock.
  • Under vx watch, as on any run, a package.json script or turbo.json edit runs the locked command until vx lock.
  • The gaps include $TURBO_ROOT$ tasks and unknown turbo keys.
  • They include an env name vx cannot key that the run's environment sets (FOO_?, which Turbo reads literally).
  • A persistent task's readiness note (readyWhen) is reported only when something depends on it. With no dependent there is nothing to gate.
  • Each gap is one line for every task that carries it, not one per task.
  • A per-package { "extends": false } with nothing else is Turbo's opt-out, and maps to no task.
  • With other keys beside it, the task runs on those keys alone.
  • A glob that climbs out of the package (../../packages/app-store/*.generated.ts) is re-anchored on the workspace root as a workspaceFiles glob.
  • A glob's . and .. segments are cleaned first, as Turbo cleans them. ./src/** is src/**.
  • Likewise ./../shared/** and src/../../shared/** are ../shared/**.
  • A negated output under a literal-rooted one (dist/** minus !dist/**/*.map) takes its paths back (see outputs below).
  • One against a wildcard-rooted output (*/** minus !src/**) keeps what it names (see outputs below).
  • vx lock keeps the mapping in <cache dir>/vx-migrate-turbo-mapping.json. No run reads or writes it.
  • It is keyed on every turbo.json / turbo.jsonc, every package manifest, the files git ignores and the mapper's own code.
  • So a second vx lock (or --check) with none changed reads it instead of mapping.
  • On astro (562 packages) that is ~40 ms of mapping against ~12 ms of key reads.
The mapper (mapTurboWorkspace)

The plugin and the CLI read a repo the same way.

  • The mapper the plugin runs at vx lock is the one bunx @vzn/vx-migrate writes each vx.config.ts from.
  • The CLI runs it with ownOnly: no task carries Turbo's global fields or its implicit hash inputs.
  • The plugin inlines those into every task. A global input another task writes to is taken back (!packages/plugin/dist/**).
  • splice is what a global becomes in the plugin's arrays. uses names which globals a task drew on.

Rules:

Which tasks exist. A task exists for a package only when the package declares the script. That is Turbo's own rule.

  • An absent script is silent.
  • A script key whose value cannot be a command (a number, null, an empty string, an array) gives a task: null entry.
  • Its todo says why, rather than writing a config that fails to load.

Definition order. The root definition comes first, then each config the package's own turbo.json extends, then its own.

  • The root pkg#name is used if there is one, else the root name. The first replaces the second whole, as Turbo looks it up.
  • Extended package configs ("extends": ["//", "shared"]) come nearest last. Each wins field by field.
  • Turbo 2.11 reads such an extends, and 2.5 refuses it. A missing parent or a cycle is refused, as Turbo refuses it.
  • An overlay array holding $TURBO_EXTENDS$ (Turbo 2.5+) is the inherited list plus the overlay's other entries.
  • Example: inputs: ["$TURBO_EXTENDS$", "config.json"].

The command is the script body, with its pre<name> / post<name> hooks joined in, in that order, through core's foldScriptHooks.

  • Each part runs in its own subshell, and the chain stops at the first that fails.
  • Forwarded -- args reach the body alone.
  • A part reading $npm_lifecycle_event gets its own name (prebuild, build, postbuild), as npm gives each.
  • npm and pnpm run the hooks around <name> without being asked. For example, novu's prebuild copies the CSS its build inlines.
  • This costs one process less per task than pnpm run <name>.
  • A body may call yarn's run builtin (run -T rollup -c, run clean && run build). In sh that is run: command not found.
  • So such a body runs as yarn run <name>, as Turbo and Nx run it. Yarn 2 and later run scripts in their own shell.
  • Yarn 2 and later run no hooks, so none are joined there.
  • Nor are hooks joined where the package's manager runs none. That is Yarn 2+, npm under ignore-scripts=true, and pnpm under enable-pre-post-scripts=false or enablePrePostScripts: false.
  • Turbo and Nx run <pm> run <name> there, so the hook never ran. The scripts mapper of bunx @vzn/vx-migrate follows the same rule.
  • An .npmrc or pnpm-workspace.yaml change maps afresh.
  • A Yarn Plug'n'Play workspace (.yarnrc.yml with no nodeLinker, or pnp) has no node_modules.
  • There a dependency resolves only through .pnp.cjs, and a bin only through yarn's shims.
  • So there every script runs as yarn run <name>, and a nodeLinker change maps afresh.
  • The same rules apply to nx:run-script below.

Turbo 2.11's task command (futureFlags.experimentalTaskCommand) wins over the script, as Turbo holds it.

  • An argv is the command: each word quoted, run from the package dir, with no pre/post hooks.
  • It gives the package the task even with no script (turborepo's @turbo/types#build, docs#schema).
  • null or [] is Turbo's no-op node: no task, even where the script exists. Its edges are passed through.
  • A per-toolchain map applies its javascript entry (or typescript, Turbo's alias). Without one, the script runs.
  • A shape Turbo would refuse keeps the script, with a todo.

dependsOn becomes vx edges.

  • ^x passes through when some package runs x or turbo.json defines it. Otherwise it is dropped.
  • Core refuses a ^x no project declares, as a typo.
  • A ^x or x that turbo.json does not define at all (a typo, ^biuld) is dropped with a todo naming it, as Turbo refuses it.
  • pkg#task is kept only when pkg emits task. Otherwise the edge is dropped with a todo.
  • That todo names turbo.json when it defines no task, which Turbo refuses.
  • A name Turbo does not define has no edge. $TURBO_ROOT$ deps are a todo.
  • A same-package task Turbo defines, but the package has no script for, is Turbo's no-op node. Its own edges pass through in its place.
  • Example: test → codegen → ^build with no codegen script is test → ^build.
  • Another package's ^x or pkg#x reaches such a node through a group task when its edges name a task of its own package or another.
  • Example: with-tailwind's ui has no build script. Its build builds build:styles and build:components, and web#build waits on them.
  • So does a node whose ^ edge names another task (rallly's script-less build holds ^db:generate).
  • A node whose only edge is ^ to its own name needs no group, since core's ^x walks past a package without x.
  • A no-op node nothing else reaches is a group too, in a package nothing but the root depends on. No dependant's ^ edge runs its edges there.
  • Example: vercel/ai's turbo run type-check builds each example through its script-less type-check: [build].
  • Example: kitchen-sink's turbo run test builds @repo/ui for admin, which has no test script.
  • Elsewhere it is no group when its dependants' run reaches each edge.
  • That is an edge to a task of its own package some ^ edge names (test: [build] beside ^build), or a ^ edge in a package that depends on none.
  • Otherwise it is a group, since Turbo runs a no-op node's edges in every package.
  • Example: turbo run deploy over deploy: [build, test, lint] ran each package's test and lint where one package has deploy.
  • That was checked on turbo 2.11.10.
  • A task turbo.json defines and no package has a script for is a group task in each package that defines it, its edges kept.
  • Examples: documenso's lint, shadcn-ui's check.
  • There a pkg#task edge is kept only in pkg, and a //#task edge in a group of the same name on the root project.
  • So vx run lint runs Turbo's no-op nodes and exits 0, as turbo run lint does.
  • Root //#tasks run in the workspace root, as under Turbo.
  • When turbo.json declares one, turbo() names the root a project through core's discover stage. No vx.config is needed.
  • It names every package the package manager lists the same way.
  • //#x in dependsOn is an edge to the root, named by the root package.json name.
  • A root task's globs are the workspace's (workspaceFiles), since Turbo hashes a root task over the whole repo.
  • With no root project (a root package.json with no name, or one a package holds), the globs are a note and such an edge a todo.
  • Turbo runs no plain task in the root package of a monorepo, and neither does turbo().
  • In a single-package repo (no workspaces, Turbo's non-monorepo example), turbo.json's plain tasks run on the root package, as under Turbo.

Transit nodes. Turbo's with-vitest example documents this pattern: transit: { dependsOn: ["^transit"] } with no script anywhere, and test: { dependsOn: ["transit"] }.

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 @vzn/vx-migrate

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

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

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?

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

Frame 2085668439 (1)
Group 1261154229