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

@ultimat3/schema

Latest version: v31.52.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: sebyx07
3 Stars
0 Forks
176 Versions
54.8K Downloads
TypeScript Repo language

Scan summary

@ultimat3/schema was last scanned on 28 Nov 2026 at version 31.52.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 176 versions; the latest 3 were published within 5 days (24–28 Nov 2026).
  • Findings: No rules fired in version 31.52.0.
  • Downloads: 54,798 downloads.

Versions

176 versions published
Versions and the rules that fired in each
VersionPublishedStatus
31.52.0 LATEST 28 Nov 2026 No rules fired
31.51.0 25 Nov 2026 No rules fired
31.50.0 24 Nov 2026 No rules fired
31.49.0 20 Nov 2026 Not shown
31.48.0 19 Nov 2026 Not shown

No rules fired in 31.52.0

Findings

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

README

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

✅ @ultimat3/schema

Tier 0. The validation seam. One schema declaration projects to a runtime validator, a TypeScript type, a JSON Schema, an OpenAPI body, an MCP tool inputSchema and HTTP query coercion.

bun add @ultimat3/schema · guide: The Eight Primitives

Owns Module
Standard Schema v1 types + validate() / parse() for any conforming library standard.ts
the blessed t namespace t.ts
builtin validators behind t validators.ts
the introspectable IR every generator walks node.ts
Schema factory, Infer machinery, .refine() builder.ts
how a rejected value is described — its shape, never its content describe-value.ts
JsonValue, t.json() / jsonSchema(), the 256-level nesting cap json-value.ts
a union routed by one literal key discriminated-union.ts
configureSchemaProvider() — the swap point provider.ts
@ultimat3/schema/adapter, off the barrel: builtinProvider, schemaProvider() (the active one), resetSchemaProvider() — for a provider author and test teardown adapter.ts
schema → JSON Schema (OpenAPI + MCP) json-schema.ts
HTTP-boundary coercion, kept out of validation coerce.ts
X_VALIDATION_FAILED with path-annotated issues errors.ts
SCHEMA_RULES — the closed vocabulary an issue's rule names — and issueRuleFacts schema-rules.ts
.sensitive()'s two readers: maskSensitive, assertNoSensitiveOutput sensitive.ts
@ultimat3/schema/sample, off the barrel: sampleInput (the minimal value), arbitrary(schema, { seed, run }) (the contract step's generated inputs), one walker over a Draw (minimalDraw, seededDraw), sampleGaps sample.ts, sample-draw.ts, sample-seeded.ts

t

import { t, type Infer } from '@ultimat3/schema';

export const publishPost = t.object({
  postId:   t.uuid,
  notify:   t.boolean.default(true),
  title:    t.string.min(3).max(80),
  tags:     t.array(t.slug, { max: 10 }),  // inclusive item-count bounds, both optional
  price:    t.money,                 // { minor: 1999, currency: 'EUR' } — never a float
                                     // { minor: 2, currency: 'USD', scale: 6 } is $0.000002
  timeZone: t.timezone,              // real IANA validation, not an annotation
  cursor:   t.optional(t.cursor),
});

type PublishPost = Infer<typeof publishPost>;
Value schemas Factories Methods
string number boolean date uuid email url object array enum literal union discriminatedUnion record optional nullable refine .default(v) .optional() .nullable() .describe(s) .sensitive() .refine(r)
money timezone locale slug cursor json() object(...).extend/.pick/.omit string.min/.max/.pattern, number.min/.max/.int

nullable is a value the row holds; optional is the caller omitting the key. Every composer ships once, as a t member (t.nullable, t.refine, …); since v31 its free twin is internal — arraySchema, discriminatedUnionSchema, enumSchema, nullableSchema, optionalSchema, refineSchema, unionSchema. jsonSchema, recordSchema, literalSchema and objectSchema stay exported beside t.

Unknown object keys are dropped, never forwarded — an action cannot be mass-assigned.

.sensitive() — sent in, never written down, never sent back

cardPan: t.string.sensitive() is JSON Schema's writeOnly, published as such. Last in a chain: it answers a plain Schema. Read by the walkers that hold the schema, never by a key table, so flagging note on one action changes nothing another action records:

Reader What it does
maskSensitive(schema, value, '[redacted]') a copy with every flagged field replaced — through objects, arrays, records and EVERY union branch (fail closed, no branch resolution). The same reference when nothing is flagged
assertNoSensitiveOutput(owner, schema) X_SCHEMA_SENSITIVE_OUTPUT naming the path — an action's output and a query's rows are checked at registration

Reach, exactly: the audit: true record of an action or a query, and x jobs show (a job whose declaration is gone shows its input [redacted] whole). Not an app's own log line — a logger.info('x', input) holds no schema; that stays redactKeys or a Secret. PII read back and only hidden in logs is redactKeys(['ssn']), not this flag.

An issue names its rule

Every builtin refusal carries rule from SCHEMA_RULES and the declared params a translator interpolates — t(`form.${issue.rule}`, issue.params), never a match on the English message:

rule params
required (nothing sent) · type — · { type } (string, number, object, money, …)
string.min string.max { min } { max } (characters)
string.pattern · string.format { pattern } · { format } (uuid, email, uri, timezone, locale, date-time)
number.min number.max number.integer { min } { max } —
enum · literal · union { values } (a \| b) · { value } · — (a discriminated union: { values })
array.min array.max { min } { max } (items)
record.key json money —
refine { name }

The values are contract like an X_* code: added, never renamed (schema-rules.test.ts pins the list). rule is optional on the issue type — a third-party provider names none — and the exported fail(path, message, rule?, params?) takes both optionally for a provider. Inside this package a builtin refuses through rejected, whose rule is required.

Refused at the boundary rather than guessed at (As of 2026-10):

Schema Refuses Because
t.date a day its month does not have — 2026-02-30, 2026-04-31, month 13 new Date rolls it over to March 2nd; @ultimat3/time's plainDate already refused it
t.url leading / trailing spaces and C0 controls, a tab or newline anywhere the URL parser strips them in silence and the validator returns the string as written. Trim before parsing
t.object t.record t.money anything whose prototype is not Object.prototype or null — a Map, a Date, a class instance none has the own keys the schema declared, so it parsed to {}
.default(v) a v the schema itself rejects — X_SCHEMA_DEFAULT_INVALID, thrown where it is declared an omitted field parsed to a value the same schema refuses when sent
t.array(items, { min, max }) fewer than min or more than max items, before any item is read; at declaration, a bound that is not a whole number from 0 up, or min > max — X_SCHEMA_BOUNDS_INVALID the bounds sit on the array node, so OpenAPI and the MCP tool schema publish them as minItems/maxItems — a t.refine count was prose no generated client could enforce
t.json() — a payload whose shape is somebody else's
import { t, type Infer, type JsonValue } from '@ultimat3/schema';

export const hook = t.object({ event: t.slug, payload: t.json() });
export const payload: JsonValue = ({} as Infer<typeof hook>).payload;
// entity column: json(t.json()) — a jsonb that stores what it was sent
Accepts Refuses (with the issue's path)
null, booleans, finite numbers, strings, arrays and plain / null-prototype objects of them, recursively undefined (an array hole too), functions, symbols, bigints, NaN / ±Infinity, a Date, a Map / Set / class instance / typed array, a cycle
every key, __proto__ and constructor included — answered on a null-prototype copy a NUL or a lone UTF-16 surrogate in a string or a key — Postgres jsonb refuses both (measured, PG 17)
at most JSON_MAX_DEPTH (256) nested containers one more: the walk recurses per level, and an unbounded one was a RangeError

A path into a JSON object is the entry's position (payload[2][0]), never its key — the t.record rule. A value shared twice is walked once, so a DAG is linear, not exponential. The JSON Schema is {} with the depth bound in description; the bound is fixed — narrow it with .refine(). Node kind: 'json', distinct from unknown ("the IR cannot say").

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 @ultimat3/schema

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

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

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