Scan your whole stack
From OX Research Newsroom
Are you using @lamgig/booking-kit?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.10.0
@lamgig/booking-kit was last scanned on 25 Nov 2026 at version 0.10.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.10.0 LATEST | 25 Nov 2026 | No rules fired |
| 0.9.0 | 23 Nov 2026 | No rules fired |
| 0.8.0 | 21 Nov 2026 | No rules fired |
| 0.7.0 | 19 Nov 2026 | Not shown |
| 0.6.0 | 14 Nov 2026 | Not shown |
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.
The publisher’s own README, as collected from the registry.
Online booking for a LamGig business's Next.js App Router website: the four booking steps
(/book), the booking's own page (/appointment/{id}), the customer's account with My
appointments (/account) and the privacy notice for bookings (/book/privacy), on the LamGig
APIs. Built for LamGig's website templates, which LamGig runs for each business.
0.3.0 — a guest books in four steps, changes or cancels from the email's link, and a signed-in
customer books with their details filled in and finds every booking in My appointments. 0.3.0 adds
deposits: a service that asks shows it, the customer ticks the policy, pays in Stripe's form, and
is booked. A business that asks none sees no change, and its pages load nothing from Stripe. 0.x
while its first template settles the API; 1.0.0 after. A website takes 0.3.0 before its business
turns deposits on: 0.2.0 meets a service that asks with its generic words and books nothing.
0.4.0 gives the account's pages their own look — the sign-in pages, the account page and its
member card ("The account's look", below). Nothing they say, store or call changed, and the booking
steps look as before; a template that sets --lgk-* may add --lgk-heading-weight. 0.4.1 draws
Cloudflare's security box ("Verify you are human", when it shows) light or dark to match the page it
sits on, where it used to follow the visitor's system setting — a black box on a light page for anyone
in dark mode. Nothing else changed. 0.5.0 makes the kit restyled by variables alone: every shadow,
the member card's gradient and its inner frame are variables a template can set to none; the
hairline frames that were drawn as shadows (the monogram, the date tiles, the email tabs' track, the
member card's edge) are real borders, so they stay when the shadows go; and the line width, the small
capitals, a status's pill, a face's circle and a photo's corner are variables too ("Restyle it",
below). Its defaults draw what 0.4.1 drew, measured element by element in Chromium and WebKit. The
differences: the member card's edge is the monogram's and the upcoming date tile's colour (the button
22% into the page, was 20%); the chosen email tab's ring is a border just inside the tab where it was a
ring just outside it; and under forced colours only the chosen tab is ringed, where none was.
0.6.0 lets a template lay /book out its own way, each piece opt-in through BookPage's new
layout prop ("Lay out /book", below): the appointment card — the business's photo (a new
photo prop), name and address, the visit so far, the total and the step's one action — beside the
steps on a wide container, and on a narrow one a bar pinned at the foot that raises the card as a
sheet (or the card itself under the step); named steps (Services, With, When, Details, the done
ones a way back); times under Morning, Afternoon and Evening; and the cancellation policy
folded. A template that passes no layout sees 0.5.0's page: the same markup, rules and look
(measured: every element's computed style and box), with one exception — every heading's last word is now its own element, <span class="lgk-last-word">, unstyled, so a template can set it apart (its brand's italic, say). That
splits a heading's text across two nodes: a template's test that finds a kit heading by its exact
text (getByText('Choose a time')) finds it by its role instead (getByRole('heading', { name: 'Choose a time' })); the accessible name is unchanged. The four steps, their addresses, the
policy's words, the API calls and the script policy are 0.5.0's. The new variables and class names
are below, in the variables table and "Class names (0.6.0)".
0.7.0 lets a signed-in member use their points on a deposit, where the business lets points be
used: the details step shows Use your points (what they have, what a step takes off, a box never
ticked for them, and how many when more than one step fits); the policy's words name the points, so the
deposit's box is asked again; the card pays only what is left, and a deposit paid entirely in points is
booked at once with no card. The booking's page says what was paid in points and by card, and what a
cancel gives back. The account says how points are used here, in place of "For now points can only be
collected", and its history names points used and given back. Nothing to install: BookPage gets
the member's checkout pass through its own server action (the session never reaches the browser); a
template adds no route file and no policy source. A guest's page is 0.6.0's. It needs a LamGig platform
that serves points on deposits (P3); against one that doesn't, the page books as 0.6.0 did and the account
keeps the old sentence. 0.7.0 also brings a customer back after signing in: a template's own page (its
checkout, say) links to signInHref('/order/checkout') — /account/sign-in?return=%2Forder%2Fcheckout — and
every way in (an emailed code, a password, Google, Apple) ends there instead of on /account; only a path of
this site is followed, anything else lands on /account as before ("What it does").
0.8.0 follows two of the business's settings on the account page. Points at the counter is now a switch,
off unless the business turns it on: Earn at the counter and How you earn's "At the counter: …" line show only
while it is on, a waiting change that only turns it off or on says so with its date, and asking for a code after it
went off reads "Points aren't given at the counter here right now, so there is no code to show. You still earn
online." (or, when the page is read again first, the button is simply gone). A visit booked online earns once the
business marks it done: where the business takes bookings online, How you earn adds "… for each $1 of a visit booked
online, before tax, once it's done", and the history names such a visit "Your appointment on November 21, 2026 · $45.00".
Nothing to install — move your range to 0.8.0 (~0.7.0 and ^0.7.0 never reach it); nothing else changes for a
template. Against a platform that says nothing of either (before P3 CS), the counter shows as before and no visit line.
0.9.0 reports what visitors do on the site to LamGig (customer data; "Report what visitors do", below) — opt-in:
a template that sets events: true in its KitConfig and mounts <LamGigEvents> in its root layout and
visitorRoute at /lamgig/visitor gets a page
view on every page (its path as a pattern, never the real address), each booking step as it opens, a booking and a
sign-in that name this browser, and useLamGigTrack() for its own pages (an item viewed, the cart, checkout, a search) —
imported in a client file from @lamgig/booking-kit/events.
The site's server sets one cookie, lg_visitor (a random id, 400 days), only where something is collected — never from
Canada, the EU, the EEA or the UK, and never for a business that records nothing (the route asks the platform). Mount it only once the site's privacy page says so (the platform's booking notice
does from its version naming lg_visitor). A template that mounts nothing sees 0.8.0's pages, calls and storage. Needs
@lamgig/content-schemas 1.9.0.
0.10.0 brings the customer profile (LamGig's customer data, its CD2): the date of birth, asked once at the end of a
sign-in on a neutral screen ("The date of birth", below); the business's questions when someone joins its rewards and on
the account page ("Questions at joining"); no news-and-offers box at /book for a known minor; and the yes for Canada,
the EU and the UK — a bar after the page and a switch for the privacy page, before anything about how the site is used is
recorded ("Ask first in Canada, the EU and the UK"). Nothing new to mount: the date screen is the sign-in page's, the
answer goes to /lamgig/visitor; move your range to 0.10.0 (~0.9.0 and ^0.9.0 never reach it), and give
<LamGigEvents> your privacy page as privacyHref (/privacy unless given). Against a platform without CD2, a sign-in
works as in 0.9.0 (no step comes), no question shows and no bar is drawn. The profile's month-and-day birthday edit is
gone (.lgk-birthday with it).
A template already has its site id and the platform's address, and already loads the published file. The kit needs nothing else.
npm install @lamgig/booking-kit
1. The stylesheet — once, in the root layout:
import '@lamgig/booking-kit/styles.css';
2. The two pages — each route file hands the kit the published file the template already loads (its tolerant parse) and the two values:
// app/book/page.tsx
import { BookPage } from '@lamgig/booking-kit';
export default async function Page({ searchParams }: { searchParams: Promise<Record<string, string | string[] | undefined>> }) {
const content = await loadPublishedFile();
return <BookPage config={{ siteId: LAMGIG_SITE_ID, platformOrigin: LAMGIG_POINTER_BASE }} content={content} searchParams={searchParams} />;
}
// app/appointment/[id]/page.tsx — the address every booking email links to
import { AppointmentPage, appointmentMetadata } from '@lamgig/booking-kit';
export const metadata = appointmentMetadata; // noindex, nofollow; no-referrer
export default async function Page({ params }: { params: Promise<{ id: string }> }) {
const { id } = await params;
return <AppointmentPage config={{ siteId: LAMGIG_SITE_ID, platformOrigin: LAMGIG_POINTER_BASE }} content={await loadPublishedFile()} bookingId={id} />;
}
BookPage also takes layout and photo, and AppointmentPage layout (0.6.0, "Lay out /book"
below); leave them out and the pages are 0.5.0's.
Both pages render per request (they call connection()): a nonce policy needs it, and
neither has anything worth caching — the browser reads the open times and the booking itself.
// app/book/privacy/page.tsx — the privacy notice for bookings, linked from the details step
// and the booking's page
import { BookPrivacyPage, bookPrivacyMetadata } from '@lamgig/booking-kit';
export const metadata = bookPrivacyMetadata;
export default async function Page() {
return <BookPrivacyPage config={{ siteId: LAMGIG_SITE_ID, platformOrigin: LAMGIG_POINTER_BASE }} content={await loadPublishedFile()} />;
}
The notice's words are the platform's, filled with the business's name, contact and cutoff and
served on /booking-page — the kit holds no copy. The page reads them on the site's server through
the fetch cache for a minute, runs no script of its own (so it needs no policy), and is a 404
where booking was never set up.
3. Headers and the script policy. Send Referrer-Policy: no-referrer on /appointment and
below. If the template enforces a Content-Security-Policy on these pages (it should — they take a
name, an email and a phone), merge bookingCspSources(...) into it:
import { bookingCspSources } from '@lamgig/booking-kit';
const sources = bookingCspSources({ platformOrigin: LAMGIG_POINTER_BASE, contentOrigin });
// script-src and frame-src: https://challenges.cloudflare.com (Turnstile, the bot check), Stripe's
// connect-src: the platform's origin (the booking API), https://api.stripe.com
// img-src: the published file's content host (photos), https://*.stripe.com
Stripe's sources are there for a deposit; nothing loads from Stripe until the customer reaches the pay step, so a page with no deposit requests nothing from it.
Don't forbid the browser's payment API on /book. A Permissions-Policy with payment=() leaves
cards working and quietly removes Apple Pay and Google Pay from Stripe's form. Wallets also need the
site on HTTPS and its host registered on the business's Stripe account, which turning deposits on
does.
The kit inserts Turnstile's and Stripe's scripts from its own code, so a nonce policy needs
'strict-dynamic' (or the hosts) on script-src. contentOrigin is the origin of the pointer's contentUrl. The
proxy.ts of LamGig's bare test site (apps/booking-kit-site in the platform repository) is a
complete example, proved with zero violations by the suite below.
4. Links into the kit are full page loads (<a href="/book">, not next/link): a
client-side move from a page without a policy keeps that page's document, which has none.
What a visitor does on the site, for the business's habits and segments (LamGig's customer data, its CD1). Opt-in, and only once the site's privacy page says so:
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.