Scan your whole stack
From OX Research Newsroom
Are you using @vzn/vx-migrate?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.0.664
@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.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
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.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).package.json scripts.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-migrationturbo() 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.turbo.json overlays.globalDependencies, globalEnv, globalPassThroughEnv, Turbo 1's globalDotEnv) are inlined into every task.* 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.NEXT_PUBLIC_\*) is left out and reported once.turbo.jsonc (Turbo 2.5+) is read wherever a turbo.json would be, at the root and in a package.inputs, outputs, globalDependencies or global.inputs is refused, naming the file, as Turbo refuses it.next has NEXT_PUBLIC_* and NEXT_DEPLOYMENT_ID hashed and passed.expo, nuxt, remix, @sveltejs/kit and the rest).inputs.env as a pattern.! entry or TURBO_CI_VENDOR_ENV_KEY cannot take names back from it, so those stay keyed.VERCEL_ANALYTICS_ID and VERCEL_TARGET_ENV are keyed in every task.globalEnv ! entry such as !VERCEL* takes them back.VERCEL_DEPLOYMENT_ID always, where Turbo keys it under VERCEL_SKEW_PROTECTION_ENABLED=1. The lock does not depend on the machine.TZ, HOME, CI, VERCEL_*, GITHUB_* and the rest) reaches every task unkeyed, patterns as written.| Option | Meaning |
|---|---|
root |
Directory holding turbo.json, relative to the workspace root or absolute. Defaults to the workspace root. |
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.vx.config is included.turbo.json, manifest, git or environment for the mapping.turbo.json or a script runs only after the next vx lock.vx.config, on a fresh clone too. vx lock --check names the drift.turbo.json added since.vx lock.turbo(), or editing its options, changes nothing until vx lock either.vx.config already declares is left alone: the plugin fills, it never overwrites.turbo.json.vx lock (and vx lock --check) reports them as warnings, never a run.TODO(vx-migrate) comments. bunx @vzn/vx-migrate --dry lists the same set once.vx lock's: on a 1,000-package workspace with no vx.config files, the mapping takes about 42 ms.vx watch, as on any run, a package.json script or turbo.json edit runs the locked command until vx lock.$TURBO_ROOT$ tasks and unknown turbo keys.FOO_?, which Turbo reads literally).readyWhen) is reported only when something depends on it. With no dependent there is nothing to gate.{ "extends": false } with nothing else is Turbo's opt-out, and maps to no task.../../packages/app-store/*.generated.ts) is re-anchored on the workspace root as a workspaceFiles glob.. and .. segments are cleaned first, as Turbo cleans them. ./src/** is src/**../../shared/** and src/../../shared/** are ../shared/**.dist/** minus !dist/**/*.map) takes its paths back (see outputs below).*/** 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.turbo.json / turbo.jsonc, every package manifest, the files git ignores and the mapper's own code.vx lock (or --check) with none changed reads it instead of mapping.mapTurboWorkspace)The plugin and the CLI read a repo the same way.
vx lock is the one bunx @vzn/vx-migrate writes each vx.config.ts from.ownOnly: no task carries Turbo's global fields or its implicit hash inputs.!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.
null, an empty string, an array) gives a task: null entry.Definition order. The root definition comes first, then each config the package's own turbo.json extends, then its own.
pkg#name is used if there is one, else the root name. The first replaces the second whole, as Turbo looks it up."extends": ["//", "shared"]) come nearest last. Each wins field by field.extends, and 2.5 refuses it. A missing parent or a cycle is refused, as Turbo refuses it.$TURBO_EXTENDS$ (Turbo 2.5+) is the inherited list plus the overlay's other entries.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.
-- args reach the body alone.$npm_lifecycle_event gets its own name (prebuild, build, postbuild), as npm gives each.<name> without being asked. For example, novu's prebuild copies the CSS its build inlines.pnpm run <name>.run builtin (run -T rollup -c, run clean && run build). In sh that is run: command not found.yarn run <name>, as Turbo and Nx run it. Yarn 2 and later run scripts in their own shell.ignore-scripts=true, and pnpm under enable-pre-post-scripts=false or enablePrePostScripts: false.<pm> run <name> there, so the hook never ran. The scripts mapper of bunx @vzn/vx-migrate follows the same rule..npmrc or pnpm-workspace.yaml change maps afresh..yarnrc.yml with no nodeLinker, or pnp) has no node_modules..pnp.cjs, and a bin only through yarn's shims.yarn run <name>, and a nodeLinker change maps afresh.nx:run-script below.Turbo 2.11's task command (futureFlags.experimentalTaskCommand) wins over the script, as Turbo holds it.
pre/post hooks.@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.javascript entry (or typescript, Turbo's alias). Without one, the script runs.dependsOn becomes vx edges.
^x passes through when some package runs x or turbo.json defines it. Otherwise it is dropped.^x no project declares, as a typo.^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.task, which Turbo refuses.$TURBO_ROOT$ deps are a todo.test → codegen → ^build with no codegen script is test → ^build.^x or pkg#x reaches such a node through a group task when its edges name a task of its own package or another.ui has no build script. Its build builds build:styles and build:components, and web#build waits on them.^ edge names another task (rallly's script-less build holds ^db:generate).^ to its own name needs no group, since core's ^x walks past a package without x.^ edge runs its edges there.turbo run type-check builds each example through its script-less type-check: [build].turbo run test builds @repo/ui for admin, which has no test script.^ edge names (test: [build] beside ^build), or a ^ edge in a package that depends on none.turbo run deploy over deploy: [build, test, lint] ran each package's test and lint where one package has deploy.lint, shadcn-ui's check.pkg#task edge is kept only in pkg, and a //#task edge in a group of the same name on the root project.vx run lint runs Turbo's no-op nodes and exits 0, as turbo run lint does.//#tasks run in the workspace root, as under Turbo.turbo() names the root a project through core's discover stage. No vx.config is needed.//#x in dependsOn is an edge to the root, named by the root package.json name.workspaceFiles), since Turbo hashes a root task over the whole repo.package.json with no name, or one a package holds), the globs are a note and such an edge a todo.turbo().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"] }.
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.