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

@kubb/adapter-oas

Latest version: v0.0.0-canary-20261125233037

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: stijnvanhulle
1,857 Stars
152 Forks
545 Versions
862.4K Downloads
TypeScript Repo language

Scan summary

@kubb/adapter-oas was last scanned on 25 Nov 2026 at version 0.0.0-canary-20261125233037. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 545 versions; the latest 5 were published on 25 Nov 2026.
  • Findings: No rules fired in version 0.0.0-canary-20261125233037.
  • Downloads: 862,438 downloads.

Versions

545 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.0.0-canary-20261125233037 LATEST 25 Nov 2026 No rules fired
0.0.0-canary-20261125232642 25 Nov 2026 No rules fired
0.0.0-canary-20261125223937 25 Nov 2026 No rules fired
0.0.0-canary-20261125221712 25 Nov 2026 Not shown
0.0.0-canary-20261125221443 25 Nov 2026 Not shown

No rules fired in 0.0.0-canary-20261125233037

Findings

Findings for v0.0.0-canary-20261125233037. 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.0-canary-20261125233037; other versions have their own rules, not their own score.

README

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

@kubb/adapter-oas

OpenAPI and Swagger adapter for Kubb

Parses and validates Swagger 2.0, OpenAPI 3.0, 3.1, and 3.2 specifications and transforms them into a @kubb/ast RootNode for downstream code generation plugins.

Installation

bun add @kubb/adapter-oas
# or
pnpm add @kubb/adapter-oas
# or
npm install @kubb/adapter-oas

Usage

Use adapterOas inside your kubb.config.ts:

import { defineConfig } from 'kubb'
import { adapterOas } from '@kubb/adapter-oas'

export default defineConfig({
  input: './openapi.yaml',
  output: {
    path: './src/gen',
  },
  adapter: adapterOas(),
})

input accepts a file path, a URL, an inline JSON or YAML string, or a parsed spec object.

API

adapterOas(options?)

Creates the OAS adapter instance. Pass it as adapter in defineConfig.

adapterOasName

The adapter's name, 'oas'. Use it to identify this adapter in a Kubb config.

Types

The package re-exports the OpenAPI types it works with: ContentType, DiscriminatorObject, Document, MediaTypeObject, Operation, ReferenceObject, ResponseObject, and SchemaObject. Its own option types are AdapterOas, AdapterOasOptions, and AdapterOasResolvedOptions.

Supporting Kubb

Kubb is an open source project, and its development is funded entirely by sponsors. If you would like to become a sponsor, please consider:

License

MIT

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 @kubb/adapter-oas

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

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Copy of Template Design OX Blog (1)
Research

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

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229