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

@veryfront/ext-schema-zod

Latest version: v0.1.1289-rc.26333

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: kojiwakayama
20 Stars
1 Forks
1,013 Versions
24.2K Downloads
TypeScript Repo language

Scan summary

@veryfront/ext-schema-zod was last scanned on 23 Nov 2026 at version 0.1.1289-rc.26333. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 1,013 versions; the latest 5 were published on 23 Nov 2026.
  • Findings: No rules fired in version 0.1.1289-rc.26333.
  • Downloads: 24,247 downloads.

Versions

1013 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.1289-rc.26333 LATEST 23 Nov 2026 No rules fired
0.1.1289-rc.26326 23 Nov 2026 No rules fired
0.1.1289-rc.26319 23 Nov 2026 Not shown
0.1.1289-rc.26316 23 Nov 2026 Not shown
0.1.1289-rc.26306 23 Nov 2026 Not shown

No rules fired in 0.1.1289-rc.26333

Findings

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

README

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

@veryfront/ext-schema-zod

Category: Schema | Contract: SchemaValidator | Built-in

Provides schema validation for Veryfront, backed by Zod. Once loaded, any module that calls defineSchema((v) => v.object({...})) resolves through this extension's Zod-powered adapter.

How It Works

Core modules never import zod directly. Instead they declare schemas via defineSchema:

import { defineSchema } from "veryfront/schemas";
import type { InferSchema } from "veryfront/extensions/schema";

const getUserSchema = defineSchema((v) =>
  v.object({
    id: v.string().uuid(),
    name: v.string().min(1),
    email: v.string().email().optional(),
  })
);

type User = InferSchema<ReturnType<typeof getUserSchema>>;

const user = getUserSchema().parse(input);

The v parameter is a SchemaValidator instance provided by this extension. It exposes a zod-inspired DSL covering primitives, composites, chainables, and validation methods.

Registration

ext-schema-zod is registered automatically by createBuiltinExtensions() at app bootstrap. It is placed first in the builtin chain so that other extensions can use defineSchema in their own setup() hooks.

Test Setup

Tests that use defineSchema without full app bootstrap need to register the adapter explicitly:

import "#veryfront/schemas/_test-setup.ts";

Or manually:

import { register } from "veryfront/extensions/contracts";
import { createZodAdapter } from "@veryfront/ext-schema-zod";

register("SchemaValidator", createZodAdapter());

Supported DSL

Primitives

string(), number(), boolean(), date(), null(), unknown(), any(), bigint()

Composites

object(shape), array(schema), record(keys, values), union(schemas), discriminatedUnion(key, schemas), literal(value), enum(values), tuple(items), lazy(factory), instanceof(ctor)

Chainables

.optional(), .nullable(), .nullish(), .default(value), .describe(text), .refine(fn), .superRefine(fn), .transform(fn), .strict(), .passthrough(), .strip(), .partial(), .extend(shape), .merge(schema), .omit(keys), .pick(keys)

String/Number Refinements

.min(n), .max(n), .int(), .positive(), .nonnegative(), .regex(pattern), .email(), .url(), .uuid(), .datetime()

Coercion

v.coerce.string(), v.coerce.number(), v.coerce.boolean(), v.coerce.date()

Validation

.parse(data) throws on failure; .safeParse(data) returns { success, data } or { success, issues }.

JSON Schema

toJsonSchema(schema) converts any Schema<T> to a JSON Schema object for OpenAPI or tool-call definitions.

compileJsonSchema(schema) compiles raw JSON Schema with strict validation, standard formats, and no coercion, default insertion, or removal of additional properties.

Boundary Limit
Schema depth 64 levels
Schema nodes 8,192
Serialized schema 512 KiB
Schema string 256 KiB
Schema property name 4 KiB UTF-8
Code-generating collection fanout 256 entries
Nested compilation work 24,000 units
Validation input 128 levels, 100,000 nodes, 4 MiB serialized
Compiled-validator cache 128 entries and 2 MiB aggregate source weight

Schemas and inputs must be data-only JSON. Accessors, symbol or hidden keys, custom object prototypes, cycles, sparse arrays, and revoked proxies are rejected without invoking property getters, setters, iterators, or toJSON. Inspecting a Proxy necessarily invokes its reflection traps; a trap may run or throw before the value is rejected. Successful validation returns the adapter-owned input snapshot. Cache eviction is least-recently used when either cache limit is exceeded.

Running Tests

deno task test

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 @veryfront/ext-schema-zod

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

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 (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229