Scan your whole stack
Are you using @vzn/vx-cache?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.0.661
@vzn/vx-cache was last scanned on 23 Nov 2026 at version 0.0.661. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.0.661 LATEST | 23 Nov 2026 | No rules fired |
| 0.0.659 | 22 Nov 2026 | No rules fired |
| 0.0.658 | 21 Nov 2026 | No rules fired |
| 0.0.657 | 17 Nov 2026 | Not shown |
| 0.0.656 | 13 Nov 2026 | Not shown |
Findings for v0.0.661. 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.661; 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/ · source: https://github.com/vznjs/vx
vxCache(): a remote cache for @vzn/vx
runs, on a server you host that speaks the vx-cache protocol, such as
@vzn/vx-cache-server.
The local cache stays first; the server is asked on a local miss, and
each miss's artifact is uploaded to it.
bun add -d @vzn/vx-cache
// .vx/workspace.ts
import { vxCache } from '@vzn/vx-cache'
export default {
plugins: [
vxCache({
url: 'https://cache.example.com',
issuer: 'https://token.actions.githubusercontent.com',
repository: 'acme/app',
}),
],
}
vxCache({ url?, issuer, repository, timeoutMs?, uploadTimeoutMs?, retries?, headers? }):
url is the server's base URL (https://cache.example.com, without /v1), or VX_CACHE_URL.
It must be https://: every request carries the CI token, so http://
is taken only to this machine (127.0.0.1, ::1, localhost). It
takes no ?query or #fragment: each route is appended to it. The
option is checked when the config loads, VX_CACHE_URL when a run
opens the cache.issuer (the CI issuer's URL, as its tokens name it) and repository
(org/name there) are required: nothing guesses them. Every request
names both by their hashes (vx-issuer, vx-repository), and the
server refuses a token of another repository.retries (default 2, 0 to 10) is how many times a request answered
with a 5xx or 429, or whose connection reset, is sent again, 1 s, 2 s, …
apart; GitHub's OIDC endpoint is asked again the same way. A request that finds no
server (every try refused its connection, or its host has no address or
route: no network, a mistyped url; a lookup told to try again is tried
once more), while the server answered nothing else, turns the remote off
for the run, said once. A reset
connection is that request's loss alone.timeoutMs (default 30 000) bounds each read and query, and
uploadTimeoutMs (default 60 000) each upload. A download is bounded
the same way until its answer, then must bring at least 1 MiB a second
over each timeoutMs; an upload must send at least 1 MiB a second over
each uploadTimeoutMs, then be answered within one. A big artifact
still moving is not cut off, and one trickling or stalled is: it fails
the transfer, said as any cache error. A read or check the server does
not answer within timeoutMs is said once and turns the remote off for
the run, reads and writes: the next would wait as long. Each is ms above 0 and up to 2³¹−1 (the
longest a timer holds), or vxCache() refuses it.headers are sent on every request to the server, for a proxy in
front of it, such as a Cloudflare Access service token:
headers: { 'CF-Access-Client-Id': process.env.CF_ACCESS_CLIENT_ID, 'CF-Access-Client-Secret': process.env.CF_ACCESS_CLIENT_SECRET }. An
unset value is left out; authorization, content-type, content-length
and the vx-* names stay the request's own (setting one is refused). A
redirect is not followed (it would carry them on): it fails the
request, naming where it pointed. A DTE
worker sends them too, so give its job the same secrets.A CI job's requests carry its own OIDC token, and the server's ALLOW
decides whether the job gets in; it writes its own branch.
permissions: id-token: write, which sets
ACTIONS_ID_TOKEN_REQUEST_URL and ACTIONS_ID_TOKEN_REQUEST_TOKEN;
without it (GITHUB_ACTIONS is set but no token comes), the plugin
warns and the job reads only.id_tokens entry VX_CACHE_TOKEN with the
server's origin as aud; without it (GITLAB_CI is set but no
token comes), the plugin warns and the job reads only.With no token (off CI) a run reads only and uploads nothing, from a
server whose READ_ACCESS is public; any other server refuses the
first read, said once, and the run stays local.
A run that hands tasks to other jobs lends them its token (core's
lend()), and they read and write with it: a job started from another
workflow would carry a token that writes nowhere the run reads. A job
uses a lent token over its own and never lends one on, nor any once
its remote is off for the run.
An upload answered with a 5xx or a 429, or whose connection reset, is sent again, three tries in all: a PUT names its hash, so a second one stores the same bytes. A download is asked again the same way, so one reset connection is no miss: in a distributed run a read that fails fails the run.
An artifact is immutable on the server: one that did not read back
(corrupt) is not replaced. Its re-run's upload is not sent and not
counted as landed (a DTE worker is not told it did), and the run says
once that this machine's copy is not sent over it, so a task that needs
it fails; the remote misses the key until the bucket's lifecycle rule
expires it (@vzn/vx-cache-server's Expiry). A download that ends
short of the size the server names (vx-size) is a transfer that
failed, not a corrupt artifact: a miss, asked again next run.
A refused token, a read with no answer in time twice running, or a request that found no server (every try refused, or no address or route for its host), each while the server answered nothing else, is said once (the run's, counted on no task) and turns the remote off for the run; a
refused write (a job that reads only) turns off writes alone. Any other
refusal is a warning naming the server's own words, and the task reads
as a miss. A token the request sent (the job's OIDC token, a lent one,
VX_CACHE_TOKEN) that those words or any error quote is written ***.
Every read names scopes, each a ref, percent-encoded. A check names the run's refs in order (its branch, then the
branch it merges into, then the default branch: baseBranch, else origin/HEAD's, else the
first of origin/main, origin/master, main, master that exists, as
--affected finds its base; on CI github() or
gitlab() from @vzn/vx-ci names them, so declare it too: without it
a run reads git's branch and the default branch only), and the first ref
holding a hash answers it; its download names that ref, and one the
check has not answered yet names them all in one request. A ref longer
than a scope may be (512 characters, percent-encoded) is said and not
read; the others are. A run that reads no ref says so and stays local. The server is asked nothing until a
check, a download or an upload, so a run the local cache answers sends
it no request. Its limits are not asked apart: each /v1/artifacts
answer names them, a refusal's too, and no limit is guessed. A check
before any answer goes whole; one refused for its size is sent again,
once, in chunks of the maxCheckHashes lookups its refusal names, all at
once, so a server restarted with lower ones costs one check a round-trip,
not the run its reads. A run reading more refs than one check takes
(Workers' default is 6) spreads each hash's scopes over several. Each
upload is one artifact by PUT, as many at once as core's
cache.concurrency.upload lets (64 to 96 by default): its bytes reach the
bucket untouched by the server's code (a batch, split by that code, ran
out of Workers' CPU). An artifact over the server's upload limit is not sent: it
is said. Before any answer has named the limits, the first such upload
is sent and refused 413, which names them: it is said the same way,
never a failed upload. An answer is read no further than its use: 64 KiB for a
token, 1 KiB a hash for a check, a refusal's first
2 KiB; a longer one is refused, so a server's endless answer cannot fill
memory.
Task timings are not this plugin's: @vzn/vx-history keeps them.
vxCache(options: VxCacheOptions) is the plugin; VxCacheOptions is the options above.VxCacheLayer is its remote cache layer (core's RemoteCacheLayer),
reading the refs in its refs.resolveVxCacheConfig(options, env) is the settings it runs with
(ResolvedVxCacheConfig: every option set, headers checked), or
undefined with no URL, and hasCiToken(env, lent) whether a job has
a token to send.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.