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

@basicbenframework/cms

Latest version: v0.10.0

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: ctmakes
0 Stars
0 Forks
11 Versions
TypeScript Repo language

Scan summary

@basicbenframework/cms was last scanned on 25 Nov 2026 at version 0.10.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 11 versions; the latest 5 were published within 2 days (24 and 25 Nov 2026).
  • Findings: No rules fired in version 0.10.0.

Versions

11 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.10.0 LATEST 25 Nov 2026 No rules fired
0.9.1 25 Nov 2026 No rules fired
0.9.0 24 Nov 2026 No rules fired
0.8.0 24 Nov 2026 Not shown
0.7.3 24 Nov 2026 Not shown

No rules fired in 0.10.0

Findings

Findings for v0.10.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 0.10.0; other versions have their own rules, not their own score.

README

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

BasicBen CMS

Posts, pages, categories, tags, media, comments, an admin UI, and a headless content API at /api/v1. Built on BasicBen.

The CMS is a package, @basicbenframework/cms. A site installs it and keeps only its own configuration and deploy files:

npx @basicbenframework/create my-site    # --headless for no public theme
cd my-site && npm install && npm run migrate && npm run dev

Updating a site is npm install @basicbenframework/cms@latest and npm run migrate. What a site holds is in site/README.md.

This repository

The package's source is src/, compiled to lib/ (npm run build:lib), with its migrations in db/migrations/ and mail templates in mail/. site/ is the template create copies, and an npm workspace that installs the package from this checkout, so working on the CMS has no publish step:

npm install
cp site/.env.example site/.env   # then set APP_KEY
npm run migrate
npm run dev          # admin on http://localhost:3000, API on :3001

npm run dev rebuilds lib/ as you edit and the site picks it up. The first account you register becomes the admin. Without a RESEND_API_KEY mail is printed to the terminal rather than sent, including the verification link.

To change the CMS for one site rather than for everyone, fork this repository.

Commands

npm run dev              # Development, the template site against src/
npm run build            # lib/, then a production build of site/
npm start                # Production server (site/)
npm test                 # Tests, run from site/ as a site runs
./scripts/smoke-test.sh  # Pack, install into a copy of site/, build, boot, check
npm run migrate          # Apply pending migrations
npm run migrate:status   # What has and has not run
npm run migrate:rollback # Undo the last batch

Databases

SQLite by default, with no configuration. Postgres and Turso are selected from the environment rather than named in config — a postgres:// DATABASE_URL picks Postgres, a TURSO_URL picks Turso.

Each migration runs in a transaction together with the row recording that it ran, so a failure leaves the schema untouched rather than half-applied. Two limits are documented rather than worked around, neither reachable from the migrations shipped here: Postgres refuses CREATE INDEX CONCURRENTLY and VACUUM inside a transaction, and SQLite ignores PRAGMA foreign_keys there.

The headless API

/api/v1/{posts,pages,authors,categories,tags,media}, read-only, authenticated with a scoped bb_ token or served anonymously if you turn on public reads. Posts filter by ?category=, ?tag= and ?author=, each taking a slug or an id, so an author archive is one request. The response shapes are documented at /docs/headless in the running app, and that page is generated from the interfaces in src/models/PublicContent.ts — so the field list cannot drift from the code. Re-run it after changing a shape:

node scripts/generate-api-reference.js

A test fails when the checked-in output stops matching.

Rate limits shape how consumers should read

/api/v1 allows 120 requests a minute per address, keyed on the address rather than the token because the limiter has to run before authentication — otherwise a flood of fabricated tokens is never limited.

That budget assumes consumers fetch collections. A static site generator that fetches one post per slug makes one request per post and will cross the ceiling somewhere past a hundred posts. Fetch pages of 100 and slice locally: a whole site becomes a handful of requests.

Authors

Every account is an author profile: a display name, a biography, a link, an avatar, and a slug that addresses them at ?author=. People edit their own at /profile; the avatar goes through the same upload the media library uses, so it is an ordinary media row.

A post is attributed to whoever wrote it. Reassigning one to somebody else needs post.edit — the capability an editor and an admin hold and an author does not, which is the WordPress rule: you write under your own name, and an editor may hand a post to another writer. The editor's Author menu appears only for accounts that hold it.

author on a post in the content API is still the display name it always was. The profile arrives beside it as author_profile, so a static build renders a byline with a face and a biography without a request per post.

Slugs, excerpts and featured images

Leave the slug or the excerpt blank and the server writes one — the slug from the title, numbered if it is taken, the excerpt from the content. Both are derived once, on write: a slug computed per request is not a permalink, and would follow the title around, breaking every link to the post the first time someone fixed a typo in a headline. Clearing either field asks for a fresh one; a request that does not mention them leaves what is there.

Posts and pages both carry a featured image. It is stored as a media id and resolved through the storage adapter on read, so moving buckets or putting a CDN in front of one does not mean rewriting rows.

Migrating from WordPress

npx basicben-cms import:wordpress --dry-run
npx basicben-cms import:wordpress

Posts are matched on slug, so it is safe to run repeatedly — import now, keep publishing on WordPress, re-run with --update immediately before cutting over (without it, posts that already exist are left alone).

It brings across posts, pages, comments and authors. Authors become accounts with the Author role and no password; they sign in with "forgot password" (--no-authors attributes everything to the first admin instead). For an offline WordPress export file, a Ghost export, or moving this CMS between databases, see docs/import-export.md:

npm run import:wxr -- wordpress.xml --dry-run
npm run import:ghost -- ghost.json --url https://old.example.com --dry-run
npm run export -- --out site.json        # or Admin → Tools → Export
npm run import:json -- site.json --dry-run

It does not re-upload media. A featured image is recorded as the object key it already has and served through publicUrl, so images resolve when storage points at the host already serving them. If your WordPress media sits on the WordPress host rather than object storage, move the files first.

Categories are many-to-many here, so a post keeps every one it had; the first is recorded as its primary category, which is what a breadcrumb or a canonical URL names.

Deploying

npm start runs this on any persistent host with nothing to configure.

Vercel

vercel.json and api/index.js are the whole of it. BasicBen is a long-running node:http server and Vercel invokes a handler per request, so the handler bridges them: app.server is a real http.Server, and that class dispatches by emitting request — handing it Vercel's req/res runs the identical middleware chain, router and error handler. Nothing is re-implemented, and local and production execute the same code. src/server/index.ts skips its own listen() when VERCEL is set.

Two things that catch people out:

  • /feed.xml, /feed.json and /sitemap.xml are server-rendered and live outside /api. A rewrite covering only /api/* 404s all three, and the admin UI still looks fine, so it is easy to miss.
  • Object storage stops being optional. The filesystem is read-only apart from an ephemeral /tmp, so the local driver cannot accept uploads at all. The app warns at boot when it detects that combination. Reads are unaffected.

Set APP_KEY, APP_URL, your database variables and the S3_* group in the project's environment. Run migrations from your machine or CI — they do not run on a serverless host.

The framework declares engines.node >= 24; confirm the platform offers it.

Layout

src/                        the package, compiled to lib/
├── config.ts               defineSite (./config)
├── vite.ts                 the cms() preset (./vite)
├── server/index.ts         the server (./server)
├── main.tsx                the admin (./admin)
├── features/               analytics, members, mysendbox, theme
├── routes/api/v1.ts        the public content API
├── models/PublicContent.ts what /api/v1 returns, and the reference's source
├── controllers/            business logic
├── middleware/             scopes, caching, rate limits
├── cli/                    the basicben-cms commands
└── client/                 admin UI and docs pages
db/migrations/              schema, applied in order, shipped with the package
mail/                       mail templates, shipped with the package
site/                       the template create copies, and the dev workspace
tests/                      hook coverage, API reference drift
scripts/                    the generator, the smoke test, the release

The scaffolder, @basicbenframework/create, is published from the framework's repository and copies site/ at the tag of the latest published CMS.

The framework is @basicbenframework/core, installed from npm. It used to live here; it has its own repository, and this depends on it like any consumer does.

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 @basicbenframework/cms

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

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

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Vulnerability Insights

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

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Frame 2085668439 (1)
Group 1261154229