Scan your whole stack
From OX Research Newsroom
Are you using @web-ts-toolkit/express-oidc-vault-redis-store?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.78.0
@web-ts-toolkit/express-oidc-vault-redis-store was last scanned on 29 Nov 2026 at version 0.78.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.78.0 LATEST | 29 Nov 2026 | No rules fired |
| 0.77.0 | 28 Nov 2026 | No rules fired |
| 0.76.0 | 27 Nov 2026 | No rules fired |
| 0.75.0 | 22 Nov 2026 | Not shown |
| 0.74.0 | 21 Nov 2026 | Not shown |
Findings for v0.78.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.78.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
@web-ts-toolkit/express-oidc-vault-redis-storeRedis-backed store provider for @web-ts-toolkit/express-oidc-vault.
The redis package is referenced by the quick start below, but this package
treats it as a development-only dependency: the package does not import redis
at runtime and accepts any client that implements the OidcVaultRedisClient
contract. Install redis (or your adapter of choice) in your app.
pnpm add @web-ts-toolkit/express-oidc-vault @web-ts-toolkit/express-oidc-vault-redis-store express redis
import { createClient } from 'redis';
import { createRedisOidcVaultStore } from '@web-ts-toolkit/express-oidc-vault-redis-store';
const redis = createClient({ url: process.env.REDIS_URL });
redis.on('error', () => console.warn('OIDC vault Redis connection error.'));
await redis.connect();
const storeProvider = createRedisOidcVaultStore({
client: redis,
keyPrefix: 'oidc-vault',
});
import express from 'express';
import { createClient } from 'redis';
import { createOidcVaultMiddleware } from '@web-ts-toolkit/express-oidc-vault';
import { createRedisOidcVaultStore } from '@web-ts-toolkit/express-oidc-vault-redis-store';
const app = express();
const redis = createClient({ url: process.env.REDIS_URL });
redis.on('error', () => console.warn('OIDC vault Redis connection error.'));
await redis.connect();
app.use(
createOidcVaultMiddleware({
basePath: '/auth/oidc',
backendOrigin: 'https://api.example.com',
config: {
issuer: process.env.OIDC_ISSUER,
clientId: process.env.OIDC_CLIENT_ID,
clientSecret: process.env.OIDC_CLIENT_SECRET,
},
frontendRedirectUri: 'https://frontend.example.com/callback',
postLogoutRedirectUri: 'https://frontend.example.com/logged-out',
storeProvider: createRedisOidcVaultStore({
client: redis,
keyPrefix: 'oidc-vault',
}),
}),
);
redis client, and Redis Sentinel through the underlying master client retrieved from a createSentinel(...) client (see Redis Version And Topology); Redis Cluster is not supportedget plus delOidcVaultStoreConflictError without changing source or target recordscreateAuthorizationTransaction and createExchangeCode are upserts; createSession is create-only and duplicate session IDs throw OidcVaultStoreConflictError without changing the existing record or indexes. Portable callers must create sessions with a fresh unused ID and handle OidcVaultStoreConflictError: reusing a live ID rejects here but replaces on memory/MongoDB, so only fresh-ID creation is portabletoJSON hooks (and still rejects unsupported values such as BigInt/cycles). Opaque non-plain objects are not recursively copied and have no portable mutation-isolation guarantee; create/rotate results retain their native values while reads reflect persisted JSONexpiresAt is finite and greater than the store clock at consume timenow hook controls store-domain timestamps and testable JTI validation only; Redis server time is the authority for Redis key expiry and revocation-index cleanupsendCommand(args); official standalone redis clients already do, and a Sentinel-wrapped master client or any adapter implementing OidcVaultRedisClient does tooRotation preserves the source logical ID when the next session omits it. Each old ID becomes a revocation alias for its immediate successor's logical ID and expiresAt. With A -> B (expiresAt=T1) -> C (expiresAt=T2), A stops working at T1 even if T2 is later or absent; B uses C's deadline. Later rotations never extend earlier aliases. getSession(A) returns null: an alias is never a readable/authentication session.
With A/L1 -> B/L1 -> C/L2, the new B alias revokes L2; earlier A keeps L1 and its original deadline, never C. Redis does not eagerly retire L1 aliases merely because rotation moves its last member elsewhere (memory does); they can remain until expiry or explicit lineage cleanup. Use distinct logical IDs for unrelated login families rather than relying on retained handles disappearing on reuse.
Without successor expiresAt, Redis and memory impose no alias time limit; MongoDB uses a finite fallback (default five minutes). Non-expiring Redis sessions and their aliases can grow without a fixed retention or size bound. Use explicit session lifetimes for portable finite windows. After an alias expires, use the live ID or the appropriate logical/subject/provider-session deletion method; core refresh preserves session expiry.
Deleting a live public ID removes that record; deleting an unexpired alias revokes its logical lineage. Logical deletion and aliases have no issuer/client filter. Subject/provider-session object inputs match each supplied issuer and clientId; string inputs omit both filters and match across providers. A retained member in another scope keeps its unexpired aliases.
Bulk deletion makes one cursor traversal, rechecks scope in each atomic delete script, and can follow a rotated-away source to matching same-lineage successors. Counts sum primary sessions actually deleted by those scripts, including such successors; expired/missing records, stale membership repair and alias cleanup do not contribute. Duplicate cursor visits or overlapping revocations do not double-count an already deleted primary. A concurrent arrival may survive, and 0 is not proof that the scope is empty. An error can follow earlier committed deletions; the complete traversal is not one transaction. MongoDB instead repeats scoped deletion until an empty query and can count expired documents awaiting TTL cleanup; memory counts live deletions during a synchronous map scan. Vault deletion does not revoke outstanding stateless access tokens or call upstream logout.
redis createClient(...) client (RedisClientType). This is the tested topological default.redis.createSentinel(...) (e.g. acquire/use patterns documented by that driver) or an adapter conforming to OidcVaultRedisClient. The bare Sentinel root has sendCommand(isReadonly, args, options?), not this store's sendCommand(args). Caller/adapter owns master acquisition, reconnect/failover and release. Automated provider tests exercise standalone 6.2/7.2, not Sentinel failover; replication/persistence guarantees are deployment-owned, and losing unexpired replay reservations during failover weakens replay protection until their window expires.client.connect(), client.quit(), or client.disconnect(). Pass an already-connected client and reuse it across requests.error listeners, reconnects, and shutdown. The store reads and writes commands but does not attach error listeners, suppress client errors, or close the client. Always register a client error listener on production connections; an unhandled client error can crash the process.createSession/rotateSession/deleteSessionsBy* in-flight calls, then client.quit(), is the supported shutdown order. The store holds no background timers, so no store-side teardown is required beyond verifying in-flight operations have settled.ready() handshake: connect before accepting traffic, and provision permission to execute the documented commands and cached Lua scripts. Server-side scripts protect individual mutations from interleaving; indexed traversal and post-commit maintenance span multiple commands. They do not have a fixed total-work or completion-time bound.<keyPrefix>:<kind>:<id> and default to the oidc-vault prefix. Use keyPrefix when the same Redis instance stores data for multiple apps, environments, or tenants.keyPrefix starts an independent empty namespace: existing sessions, indexes, aliases, exchange codes, and authorization transactions remain under the previous prefix and are neither revoked nor cleaned up by the new store. Rotate the prefix only when you are prepared to lose access to, or coordinate decommissioning of, the previous namespace.keyPrefix.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.