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

@kayjs/kay

Latest version: v2.0.0-alpha.0

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: kaynooo_
2 Stars
0 Forks
15 Versions
3.3K Downloads
TypeScript Repo language

Scan summary

@kayjs/kay was last scanned on 23 Nov 2026 at version 2.0.0-alpha.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 15 versions; the latest 5 were published within 5 days (19–23 Nov 2026).
  • Findings: No rules fired in version 2.0.0-alpha.0.
  • Downloads: 3,267 downloads.

Versions

15 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.0.0-alpha.0 LATEST 23 Nov 2026 No rules fired
1.112.2 20 Nov 2026 1 rule fired
1.112.1 20 Nov 2026 1 rule fired
1.112.0 19 Nov 2026 Not shown
1.111.0 19 Nov 2026 Not shown

No rules fired in 2.0.0-alpha.0

Findings

Findings for v2.0.0-alpha.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 2.0.0-alpha.0; other versions have their own rules, not their own score.

README

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

kay

A Bun web framework. A .kay file is one component: TypeScript fences, then a pug-like indented template. Pages render to plain HTML strings on the server, islands run on kay's own signals and DOM runtime, and an Elysia plugin serves it all, with typed form actions and type checking down to the .kay line.

The full reference, written for people and coding agents alike, starts at llms.txt: the rules most often got wrong, then one line per topic linking its doc in llms/. The site at kayjs.kaynooo.fr is the documentation written for people, short pages each opening on an example, with this reference beside it under /llms; it is built with kay itself by bun run docs:build, served by bun run docs:start, its pages in docs/src/content; the tutorial's app is examples/reading-list, and examples/noticeboard runs kay with kayjs-auth, kayjs-mail, kayjs-ui and Postgres together.

Start a project

kay is published as @kayjs/kay to npm, and to the Forgejo registry at git.kaynooo.fr as a mirror. Everything a project installs, pg-orm and eslint included, comes from npm, so Bun needs no setup:

bunx -p @kayjs/kay kay new my-app
cd my-app
bun install
bun run dev   # http://localhost:3000, reloads on every change

The project depends on it as "kay": "npm:@kayjs/kay@~<version>", so imports read kay, kay/server and so on. bun src/cli.ts new ../my-app from a checkout of this repository depends on a packed copy of it instead.

A page and an island

A page is a .kay file under src/routes, and a component with state is an island that runs in the browser, hydrated where the page uses it.

src/counter.kay:

---
const count = signal(0)
---
button(onClick={() => count++}) Clicked {count()} times

src/routes/index.kay:

---
import Counter from '../counter.kay'
---
head
  title Home
h1 Hello
Counter

Ship it

bun run check   # kay check: types, templates included
bun run test    # bun test, pages and actions served in-process by kay/test
bun run build   # kay build: kay check beside the browser bundle, then prerendered pages, all into .kay/client
bun run start   # kay start: the last build, served as in production

In production the server serves what kay build wrote and bundles nothing at boot. kay build --compile server goes one step further and writes server, one executable holding the server, its pages and the client build, which needs neither Bun nor the project installed where it runs.

Commands

Every command takes an optional project directory and prints its usage for --help; the CLI page lists each one's options.

Command Does
kay new scaffold a project: one bare page, a server run as one executable, a static site, or an app with sign-in
kay add add kay new features, or a kay library, to an existing project
kay generate write a starter page, component, island, action, API module or guard, with a test
kay dev run the server, restarting on change, with errors shown in the browser
kay build check the project and bundle the browser code for production, as a server, one executable or static files
kay start serve the last build as production does
kay render print what the server answers for one URL, without starting it on a port
kay screenshot shoot a page of the running kay dev in a headless Chrome
kay a11y check every page of the site with axe-core and draft its accessibility statement
kay check type-check the project, .kay files included
kay upgrade move kay and its libraries to the latest version and rewrite the old forms
kay routes list every route the project serves, and the file serving it
kay not-found list the old URLs visitors hit and found nothing at, and turn one into a redirect
kay env list the environment variables the project, its libraries and kay declare
kay doctor check Bun, versions, config, environment, port and build, and say how to fix each failure
kay editor install set up the kay language and its server in Helix and Zed
kay completion print the bash, zsh or fish script that completes kay commands in the shell
kay explain list the lints and the errors, or explain one
kay docs print the section of kay's or an installed library's docs that words or a name match
kay types write the types the editor's ESLint reads for .kay files, without checking
kay fmt format .kay files
kay lint run the project's ESLint with the types it reads for .kay files
kay test run bun test with each file isolated and kay's preload loaded
kay i18n missing list what each locale lacks against the default one
kay i18n accept accept a locale's draft messages
kay migrate translate an Astro project into .kay files, or rewrite the entry files that migrations carry over
kay lsp the language server behind the editor extension in editors/vscode
kay mcp serve the project to an agent as MCP tools and resources

Upgrading

What's new lists what each release adds, and Upgrading lists what each one breaks and what to change. kay follows semver from 2.0.0: a breaking change is a major version, a minor adds features and a patch fixes bugs. Until then a 1.x minor may break an app, each break behind a deprecated lint that kay upgrade fixes, and kay new pins kay with ~, which takes patches only.

Contributing

CONTRIBUTING.md covers setup, checks and what a pull request needs. Report a vulnerability privately, as SECURITY.md says, and follow the code of conduct.

License

MIT. NOTICE lists the third-party code kay carries and its licenses.

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 @kayjs/kay

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

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

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