
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
@kubb/cli
Advanced tools
Command-line interface for Kubb, enabling easy generation of TypeScript, React-Query, Zod, and other code from OpenAPI specifications.
kubb initInitialize a new Kubb project with an interactive setup wizard.
npx kubb init
Use the -y / --yes flag to skip all prompts and accept the defaults:
npx kubb init -y
Defaults when using -y:
./openapi.yaml./src/genThis command will:
package.json if it doesn't exist./openapi.yaml)./src/gen)kubb.config.ts file with your chosen configurationkubb generateGenerate files based on your kubb.config.ts configuration.
npx kubb generate
Options:
-c, --config <path> - Path to the Kubb config file-l, --logLevel <level> - Set log level (silent, info, verbose, debug)-w, --watch - Watch mode based on the input file-d, --debug - Enable debug mode-v, --verbose - Enable verbose mode-s, --silent - Enable silent modekubb validateValidate a Swagger/OpenAPI file.
npx kubb validate <path-to-openapi>
kubb mcpStart the MCP server to enable the MCP client to interact with the LLM.
npx kubb mcp
Kubb uses an MIT-licensed open source project with its ongoing development made possible entirely by the support of Sponsors. If you would like to become a sponsor, please consider:
FAQs
Command-line interface for Kubb, enabling easy generation of TypeScript, React-Query, Zod, and other code from OpenAPI specifications.
The npm package @kubb/cli receives a total of 123,343 weekly downloads. As such, @kubb/cli popularity was classified as popular.
We found that @kubb/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.