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/mail

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
2.4K Downloads
TypeScript Repo language

Scan summary

@kayjs/mail 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: 2,397 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 No rules fired
1.112.1 20 Nov 2026 No rules 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.

kayjs-mail

Mail for kay apps: SMTP configured from typed environment variables, mails written as .kay components rendered to html and text, an outbox shown at /_kay/mail under kay dev and read by tests instead of a real server, and sending through kay's queue with retries. It works from kay pages, actions and jobs, and from a plain Elysia app.

Install

kayjs-mail is published to npm as @kayjs/mail, beside kay, and as a mirror to the Forgejo registry at git.kaynooo.fr.

bun add @kayjs/mail

kay and Elysia are peers. It is released with kay, at kay's own version, and peers on kay's minor: install the one matching your kay, and move them together.

Use

// kay.config.ts: the server runs the queue, and lists the outbox at /_kay/mail under kay dev
import { mail } from '@kayjs/mail'

export default defineConfig({ extensions: [mail({ from: 'Site <contact@example.com>', locale: 'fr' })] })

A page, an action or a guard sends through the mailer of its own site, ctx.locals.mail. A transport or views of your own go in a src/mail.ts exporting mailer({ ... }) as mail, listed with mail({ module: './src/mail' }).

--- server
import Welcome from '../mails/welcome.kay'

export const signUp = action(schema, async ({ name, email }, { locals }) => {
  await locals.mail.enqueue({ to: email, subject: `Welcome, ${name}`, view: Welcome, props: { name } })
})
---

In production it sends over SMTP and reads MAIL_URL (required, smtp://user:pass@host:port, the login and the port optional) and MAIL_FROM (optional: noreply@ the site's host when the site is set, unless from is set). It stops the boot naming a required one that is missing; kay env lists them all. A mail naming no recipient, such as a contact form's, goes to MAIL_TO. In development and under bun test mails stay in the process's outbox, and the development pages send one for real, to an address you type, over the SMTP the environment names.

The full reference, for people and for LLMs, is llms.txt, which lists its topic files in llms/.

Contributing

This library is developed in kay's repository, whose CONTRIBUTING.md says how to work on it.

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/mail

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229