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

@devopsnext/starterkit-layout

Latest version: v1.8.0

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: devopsnext
13 Versions
915 Downloads

Scan summary

@devopsnext/starterkit-layout was last scanned on 27 Nov 2026 at version 1.8.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 13 versions; the latest 3 were published within 3 days (25–27 Nov 2026).
  • Findings: No rules fired in version 1.8.0.
  • Downloads: 915 downloads.

Versions

13 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.8.0 LATEST 27 Nov 2026 No rules fired
1.7.0 25 Nov 2026 No rules fired
1.6.0 25 Nov 2026 No rules fired
1.5.2 19 Nov 2026 Not shown
1.4.1 28 Aug 2026 Not shown

No rules fired in 1.8.0

Findings

Findings for v1.8.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 1.8.0; other versions have their own rules, not their own score.

README

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

@devopsnext/starterkit-layout

The Obsidian dashboard shell — FullLayout, Header chrome, vertical Sidebar, and the brand marks — extracted so a fork of the starter kit stops copy-pasting layouts/ and re-deriving the same bugs.

Token-driven, controlled, and slot-based: the package holds the shell mechanics, you keep your data, your store and your content.

pnpm add @devopsnext/starterkit-layout
import { FullLayout } from "@devopsnext/starterkit-layout";
import "@devopsnext/starterkit-layout/styles.css"; // once, at the app root

<FullLayout
  navItems={navItems}
  miniSidebar={miniSidebar}
  mobileSidebarOpen={drawerOpen}
  onToggleMini={() => setMini((v) => !v)}
  onToggleMobile={() => setDrawer((v) => !v)}
  onCloseMobile={() => setDrawer(false)}
  sidebarUser={{ initials: "AB", name: "Ada Byron" }}
  roleBadge="Reviewer"
  profile={{ initials: "AB", menu: <YourProfileMenu /> }}
>
  {children}
</FullLayout>

Prerequisites

Two, and both are real:

  1. Bootstrap 5.3 utility CSS must be loaded by the host. This package emits Bootstrap utility class names (d-flex, d-lg-none, me-auto, gap-2, p-4) and deliberately does not depend on Bootstrap — declaring it would warn on every consumer that already has it transitively via reactstrap. Without a utility layer the shell renders as a broken vertical stack and nothing errors. This is the package's one silent failure mode; removing it is v2 scope.
  2. simplebar-react needs its own stylesheet (simplebar-react/dist/simplebar.min.css). The package cannot @import it — see the token contract below.

Fonts are not requested. The type tokens carry family names only and fall back to system-ui. Load Outfit and Plus Jakarta Sans yourself (next/font is self-hosted and CSP-safe).

Node 18 or newer.

Peer dependencies

react, react-dom, reactstrap, motion, simplebar-react. dependencies is empty.

There is no framework peer. Nav rows render as plain <a href>, so the sidebar can point at absolute URLs in sibling apps — which no router could client-navigate anyway. A row is a document load. Nothing here imports next. The one exception is a CLICK row, which renders a <button type="button"> and runs a string instead of navigating — see below.

Active-row highlighting still works across those apps: an href already carrying a scheme is used as-is, anything else resolves against window.location.origin, and the row whose path is the longest prefix of the current one gets .il-active-link. A group containing that row opens itself.

They are peers rather than dependencies because every one of them carries identity: two copies of motion means two AnimatePresence contexts and exit animations that never fire; two of reactstrap breaks the Bootstrap CSS contract its dropdowns rely on; two Reacts is an Invalid hook call.

Do not consume this package via link: during development. It vendors its own react/react-dom in devDependencies so it can build and test itself, and a linked package resolves from its own directory first — identical version numbers do not save you, because React identity is per module instance. Use a packed tarball instead, which behaves exactly like a registry install:

pnpm build && pnpm pack
cd ../your-app && pnpm add ./../starterkit-layout/devopsnext-starterkit-layout-1.4.1.tgz

A tarball also tests what actually ships (dist/ + styles.css), which a link: never does.

Entry points

Import Contains Runtime imports
@devopsnext/starterkit-layout the shell, sidebar, header, hooks, all brand marks the peers above
@devopsnext/starterkit-layout/brand BrandMark, Logo, AuthLogo react/jsx-runtime only
@devopsnext/starterkit-layout/styles.css the entire visual definition —

./brand exists so an auth page — which renders outside the dashboard shell — can show the brand without pulling reactstrap, simplebar and motion into that route's bundle. Favicon is deliberately not there: it needs motion for its collapse animation.

Both entries ship ESM and CJS with type declarations, and "use client" is re-attached to every emitted chunk — esbuild strips top-of-file directives, and a chunk that loses it fails at import time under the RSC compiler.

The package is stateless

There is no store, no context, no data fetching. FullLayout takes values and callbacks:

Prop
navItems required. NavItem[] — the package has no data source of its own
miniSidebar mobileSidebarOpen isRTL isTopbarFixed isSidebarFixed controlled booleans, all defaulting to false
onToggleMini onToggleMobile onCloseMobile callbacks. onCloseMobile must be idempotent — it fires for overlay click, Escape, route change and crossing up into desktop, including on already-closed transitions
pathname optional. Only used to dismiss the mobile drawer on navigation — omit it if you never navigate client-side
t (key) => string, applied to nav titles and captions. Defaults to identity, so i18n is opt-in
geometry { sidebarWidth, miniSidebarWidth, topbarHeight }. Numbers are px; the values land as inline custom properties on the shell root
autoHideHeader default true. The topbar slides out of flow on scroll down and returns on scroll up, and the sidebar's offset follows it
container containerClassName children are wrapped in a reactstrap fluid Container — default true and "p-4". container={false} renders them raw
mobileSidebarId the drawer's id, and the hamburger's aria-controls. Default DEFAULT_MOBILE_SIDEBAR_ID ("il-mobile-sidebar")
className contentClassName extra classes on the shell root and on the content column

Chrome is slots — favicon, logo, headerDropdowns[], headerCenterSlot, themeToggle, headerActionsSlot, roleBadge, profile, headerEndSlot, sidebarHeader, sidebarUser, sidebarFooter. There is no default profile menu and no default logout link, and no search field — a shell package does not get to decide those, and it has no data to search. The removed search input reported keystrokes through an onSearch callback and searched nothing, so every consumer replaced it and until they did the topbar offered a control that silently did nothing. Render your own into headerCenterSlot or headerActionsSlot; SearchIcon is still exported.

Where each slot lands

Left: favicon — the desktop lockup, defaulting to <Favicon miniSidebar={miniSidebar} /> — then the mini toggle, then logo (the sub-lg mark, defaulting to <Logo />) and the hamburger.

Centre: headerDropdowns[], then headerCenterSlot.

Right, in order: themeToggle, headerActionsSlot, roleBadge (a string renders inside the pill; a node replaces it), profile, headerEndSlot.

Sidebar: sidebarHeader replaces the default user block entirely (null removes it), sidebarUser — { initials?, name?, avatar? } — fills it, and sidebarFooter renders after the nav, inside the scroller.

Footer: footer renders at the bottom of the content column, after children. No default — pass a <Footer />. When present the column pins it to the bottom on short pages.

import { FullLayout, Footer } from "@devopsnext/starterkit-layout";

<FullLayout footer={<Footer siteName="Think Talent" siteHref="https://example.com" />} … />

Footer props: year (default current year), siteName, siteHref (name is plain text without it), startSlot / endSlot (side columns — a language picker belongs in endSlot), children (replaces the whole © year | name centre).

HeaderDropdownSlot

The package owns the toggle and the panel chrome; the content is entirely yours.

Field
id required. Stable key, and the base for the panel's generated aria ids
icon label toggle glyph, and the toggle's accessible name — also the text of the panel's header row
content panel body, rendered inside the scroller
width "panel" (the 300px panel, default) or "mega" (full-bleed)
scrollMaxHeight scroller cap in px, default 350. false drops the SimpleBar wrapper entirely
showHeader render the label row above the content. Defaults true for panel, false for mega
align "start" (default) or "end"
ProfileSlot
Field
initials text inside the gradient circle. Ignored when avatar is set
avatar full replacement for the circle
label accessible name for the toggle. Default "Profile"
menu menu body. Nothing renders when absent — no default menu, no default logout link. ProfileMenu below is the identity block that usually goes here
NavItem
{ navigationId?, title?, href?, icon?, caption?, children?, defaultOpen?, suffix?, suffixColor?,
  type?, event? }

Exactly one of three kinds: caption → section heading; children → collapsible group (one level); otherwise a leaf. icon is usually a class-name string ("bi bi-house") rendered as <i className={icon} />, matching what a navigation API returns; a ReactNode also works. defaultOpen forces a group open regardless of the route — an override, not the usual mechanism, since a group already opens itself when one of its children matches the current URL.

type is "LINK" (the default) or "CLICK". A CLICK row has no destination: it renders as a <button> and runs event. Group and caption rows ignore both — a group row toggles its own panel and is neither a destination nor an action.

It is one interface of optional fields rather than a discriminated union, deliberately. A union would stop NavItem being an interface, so your own interface Row extends NavItem would break on a minor version — and it would type-check one of the four kinds while the other three stayed prose. The kinds are enforced where they are decided, in Sidebar's dispatch.

CLICK rows need script-src 'unsafe-eval'

A CLICK row's event is a string of JavaScript, compiled with new Function(event) and called with no arguments. That is a Content-Security-Policy decision, so it is stated here rather than discovered:

Content-Security-Policy: script-src 'self' 'unsafe-eval';

Without 'unsafe-eval' the Function constructor throws EvalError on every CLICK row. The package catches it and console.errors, so the row silently does nothing rather than breaking the page — but it does nothing. If your CSP cannot carry 'unsafe-eval', do not emit CLICK rows; give the row an href your app handles instead.

The compiled function runs in global scope. It sees window and nothing else — not React state, not props, not this package. FreshworksWidget('open') works because the widget puts itself on window; setState(…) never will.

Because the string is executed verbatim, whoever can write the row can run script in the page. Keep the column administrator-only. Never populate it from anything an end user can set.

It is one module, src/sidebar/runNavEvent.ts, holding the package's only call to new Function. An empty or absent event is a silent no-op and never reaches the compiler; a throwing one is caught, logged with the row's title and the source it tried to run, and does not take the sidebar down.

A CLICK row is a real <button>, never <a href="#"> — and it is never highlighted as the current route, whatever href it happens to carry.

toNavItems — raw API rows → NavItem[]
import { toNavItems } from "@devopsnext/starterkit-layout";

const navItems = useMemo(() => toNavItems(rows), [rows]);
<FullLayout navItems={navItems} t={t} />

A pure function, and still no data fetching: it maps rows you already have. It takes { navigationId, navigationName, navigationPath, navigationOrder, navigationIcon, navigationGroup, navigationType, navigationEvent }, sorts numerically by navigationOrder, builds one collapsible group per distinct navigationGroup positioned at its lowest child order, and leaves ungrouped rows as leaves. A row with no order sorts last, in input order.

navigationType is matched case-insensitively, and only an exact "CLICK" produces an action row — anything else is a link, so a null or lowercase value navigates rather than evaluates. A CLICK row's navigationPath is dropped rather than kept: it is '#' in the reference data, which resolves to the site root and would light the row on /.

It does not filter by status or role. Dropping rows is an authorization decision, and a shell package that silently hides one hides a bug in your ACL. Filter first.

toNavItems(rows, { t }) translates navigationName and the group key. Pass t here or to FullLayout/Sidebar, not both — both translate titles, so both means t(t(key)). Passing it to the layout is the simpler path and also covers captions, which this mapper never produces.

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 @devopsnext/starterkit-layout

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

PolinRider Returns
Research

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

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229