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

@escalay/kit

Latest version: v1.40.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: abdallahaho
0 Stars
0 Forks
50 Versions
9.3K Downloads
TypeScript Repo language

Scan summary

@escalay/kit was last scanned on 29 Nov 2026 at version 1.40.0. Risk score 0 of 100. High-severity rules fired.

  • Releases: 50 versions; the latest 5 were published on 29 Nov 2026.
  • Findings: 1 rule fired in version 1.40.0 (1 high). The score describes this version only.
  • Downloads: 9,315 downloads.

Versions

50 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.40.0 LATEST 29 Nov 2026 1 rule fired
1.39.0 29 Nov 2026 1 rule fired
1.38.3 29 Nov 2026 1 rule fired
1.38.2 29 Nov 2026 Not shown
1.38.1 29 Nov 2026 Not shown

Rules fired in 1.40.0: 1

Findings

1 High

Findings for v1.40.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.

Several suspicious behaviors form a known attack pattern

Several behaviors that are each common on their own, such as reading registry credentials, contacting a variable host or running shell commands, appear together in this package in a combination associated with attacks. The finding message lists the behaviors that were combined.

HIGH
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 1.40.0; other versions have their own rules, not their own score.

README

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

api-kit

Hono + zod OpenAPI 3.1 APIs that agents can use without help: HAL links, problem+json errors, cursor pages, ETags, per-client API keys and OAuth, discovery documents, an llms.txt guide whose code-derived parts are generated, skills, an MCP server (spec 2026-07-28) and A2A over the same routes, a database layer on Drizzle, search by words, picture and likeness over embeddings, and the headless browser side of all of it.

It ships as parts you copy into your app, shadcn-style: the app owns the code, kit.json records what came from which kit version, and the CLI shows your edits next to the kit's changes. Every part carries its own README, so the practices travel with the copy into src/kit/<part>/README.md.

Word Means
part one installable unit (core, mcp, boards); the code calls it a module
kit the set of parts in one repo: this one is escalay/api-kit, on npm as @escalay/kit
preset a starting combination: api (an API), app (the API with a browser app beside it, on Cloudflare Workers)

Start a new API

npm create escalay@latest my-api                 # the `api` preset, with an example `notes` feature, installed, formatted, migrations written
cd my-api && pnpm test && pnpm dev               # http://localhost:4400/docs, /llms.txt, /mcp
npx skills add escalay/api-kit -y                # your coding agent's skills: api-kit-build (parts, a newer kit), api-kit-feature, api-kit-review, api-kit-cli, api-kit-skills
npx @escalay/kit feature recipes --fields "name:string minutes:int tags:string[]"   # a new feature folder, its own fields, listed and tested
npx @escalay/kit sdk                             # a typed TypeScript client in sdk/, a method per operation
gh repo create my-api --private --source . --push && npx @escalay/kit repo apply   # CI runs; the repository set up as §20 says
npx @escalay/kit button --check && npx @escalay/kit button --write                 # the Deploy to Cloudflare button, ready and in the README
pnpm add -D @resvg/resvg-js && npx @escalay/kit brand    # brand/ (a monogram to start) rendered: favicon, PNG icons, OG card

Every new app is a git repository with CI (.github/workflows/ci.yml), monthly Dependabot, a secrets scan, a pre-push hook running pnpm gate (what CI runs), and Node and pnpm pinned; its AGENTS.md says how changes ship.

npm create escalay@latest my-api -- --runtime node --title "My API" passes flags on: --runtime both|cloudflare|node (default both), --preset api, --bare (no example feature), --no-git, --no-install (leaves pnpm install, format and migrations to you), --yes (it never asks; accepted for scripts); -- --help lists them. --preset selfhosted is not built yet: it arrives with escalay/selfhost-kit.

On Workers, pnpm run deploy:env deploys with the account id, database ids and settings taken from the environment (a secret store's run), so a repository that may go public holds none of them. Every app also ships a developer skill, <name>-agent-test, for proving each route works for an agent that has never seen it.

Every new app lints with oxlint and formats with oxfmt (pnpm lint, pnpm format); the kit's copy in src/kit/ and generated files are left out of both. What init and feature write is in the kit's long-line style: the first pnpm format rewrites it.

Start an app with a browser side

npm create escalay@latest my-tool -- --preset app  # the API plus web/: React, TanStack Router and Query, Tailwind
cd my-tool && pnpm test
pnpm dev                                         # Vite runs both sides: the app at /app/, the API everywhere else
pnpm run deploy                                  # guide, migrations, vite build, wrangler deploy: one Worker

One package, one Worker, on Cloudflare only. src/ is the API exactly as the api preset makes it; web/ is the browser app, built by Vite with Cloudflare's plugin and served as the Worker's static files under /app. The Worker answers every other path, so the API, the guide and MCP keep their addresses, and / sends people to /app/.

web/main.tsx, router.tsx   the entry and the router (base path /app)
web/routes/                one file per page (TanStack Router file routes; routeTree.gen.ts is written by Vite)
web/app.test.tsx           the browser app's tests, in happy-dom (a third Vitest project beside node and workers)
vite.config.ts             both sides in one dev server and one build
wrangler.jsonc             `assets`: only /app/ is left to the built files

What init makes:

src/server.ts            Node: env → openDb → createApp → listen
src/worker.ts            Workers: D1 → openDb → the same createApp (wrangler.jsonc, migrations/ for D1)
src/app.ts               the wiring only: auth + OAuth, every feature, the guide, MCP
src/features/index.ts    FEATURES, the one list (and the Feature shape)
src/features/<name>/     one feature, in the shape of docs/STANDARD.md §1, with its <name>.test.ts
src/kit/                 the copied kit (kit.json + a README per part)
guide/                   llms.txt and agents/*.md templates; {{api.endpoints}} and {{mcp.tools}} are generated
guide/skills/<name>/     the skill the product ships to agents that use it: served, offered over MCP, installable
.agents/skills/          skills for developing the repository (.claude/skills links here); never served
test/api.test.ts         every route linted, every MCP tool run (toolsRun), every guide placeholder filled
container/entrypoint.sh  the env allowlist: the API sees only the variables it reads

The practices it enforces

  1. One shape per feature, the files and what each holds: docs/STANDARD.md §1. The kit's own boards is the reference.
  2. Only repos touch the database. Moving off the local SQLite file (Turso, D1) changes how openDb is called, not the queries. A migration step never changes once it has run; existing tables are adopted with step 1.
  3. The API is the contract. Every route documented (camelCase ids, descriptions an agent chooses by, examples, problem+json errors); unknown query parameters answer 400; errors say what to do next.
  4. MCP and A2A are thin calls to the routes, so they can't drift; every tool runs in the tests (toolsRun).
  5. The guide writes only what the code can't know; endpoint and tool lists are generated placeholders.
  6. Money is bounded: embeddings and model calls go through ledgers that never pay twice, with budgets and capped keys; slow work answers 202 with a run.
  7. Private by default where it should be: private: true hides everything behind credentials and says noindex.

The full standard: docs/STANDARD.md. Why the layout is what it is: docs/decisions/0001.

Parts

docs/PARTS.md maps them: what each needs, where the app imports it from, its STANDARD sections, how the parts depend on each other, and which parts a goal takes, in the order they go in.

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 @escalay/kit

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

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

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

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Vulnerability Insights

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

Frame 2085668439 (1)
Group 1261154229