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

@cssints/devtools

Latest version: v0.48.0

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: alexei.accio
0 Stars
0 Forks
53 Versions
8.2K Downloads
TypeScript Repo language

Scan summary

@cssints/devtools was last scanned on 27 Nov 2026 at version 0.48.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 53 versions; the latest was published on 27 Nov 2026.
  • Findings: No rules fired in version 0.48.0.
  • Downloads: 8,222 downloads.

Versions

53 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.48.0 LATEST 27 Nov 2026 No rules fired
0.47.0 20 Nov 2026 No rules fired
0.46.1 19 Nov 2026 No rules fired
0.46.0 19 Nov 2026 Not shown
0.45.1 19 Nov 2026 Not shown

No rules fired in 0.48.0

Findings

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

README

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

@cssints/devtools

A dev overlay inspector for cssints, built on what the dev server knows of every class: an element's classes grouped by the css.* call that made them, the winner per property by the sheet's own rules (layer, specificity, order, the conditions that hold now), and each winner checked against the browser's computed style.

// vite.config.ts of the app; @cssints/devtools in its devDependencies
import cssints from "cssints/vite";
import { defineConfig } from "vite";

export default defineConfig({ plugins: [cssints({ devtools: true })] });

Alt+Shift+C or the cssints button (bottom right) opens it. Hover previews an element, a click picks it; ↑ parent, ↓ first child, ← → siblings; Esc stops picking, then closes. x, or the xray button, turns on the X-ray: the picked element (xray:el), its subtree (xray:tree), or the whole page (xray:page) as boxes, with the border-box size, padding, border, corner radii, a flex/grid gap, the spaces between siblings and a 4 px grid inside the root. Every number is read from the page (getBoundingClientRect, getComputedStyle), so it follows a hover, a scroll or a query; the panel repeats them as text under X-RAY. The four buttons in the panel header (◧ ⬒ ⬓ ◨) dock it left, top, bottom or right (the default); drag the strip on its inner edge to resize it (at least 200 px, and a strip of the page stays). The side and the two sizes are kept in localStorage (cssints-devtools:dock) per origin. The panel covers the page beside it, and picking works on the rest of the page; the page is not pushed aside. The ⧉ button detaches the panel into a window of its own (window.open, a same-origin pop-up, not the Document Picture-in-Picture API: that one is Chromium only). It is the same panel: the page keeps picking (hover, click, the highlight) and the window follows the picked element live. Closing the window, ⧉ again or a dock button puts the panel back; Esc and the cssints button close both. The choice is kept with the dock, and the next open (a click or the shortcut: a pop-up needs one) opens the window again. If the browser blocks the pop-up, the docked panel says so. The panel and the cascade rule are described in docs/API.md, "Debugging: the devtools overlay"; the design in docs/research/devtools.md, "Our devtools".

Rules

  • Dev only, unless asked. devtools: true adds a plugin with apply: "serve": an HTML script tag, the module virtual:cssints/devtools and two HMR events (cssints:devtools:get → cssints:devtools, and cssints:devtools:stale after each transform). A build has none of it.
  • In a build: devtools: "build". The table is a JSON asset, the overlay a chunk of its own, and the entry holds a loader (a cssints button and Alt+Shift+C). The first open loads both; a call shows as file:line and its source, with no link to an editor. The table has no path of the machine that built it. Sizes are logged by the build (this site: table 70 kB, overlay 190 kB, the entry +0.85 kB).
  • Readable classes, dev only. The dev server adds cs-<owner>[-<label>] to each cn(...) and cv({...}): const logo = cn(...) inside function Landing() gives cs-Landing-logo, at the top of landing/page.ts cs-page-logo, <div class={cn(...)}> in Button cs-Button. The panel shows it first in its bar and in the hover tag; the prompt's Classes: line lists it. It is not in the table, the sheet or the hashes, and a build has none. docs/API.md, "Debugging: the devtools overlay".
  • The data is the compiler's. The table holds the sheet as the server renders it, each class's rule, plugin, tokens and sites, and the place of every call. The core parses the sheet; it never reads the page's CSSOM for cssints' rules.
  • The browser decides the conditions. At-rules (@media, @container, @supports, @scope) are evaluated for the element by a probe sheet; states by Element.matches.
  • A winner is checked, not claimed. A childless clone in place gets the winner inline; when its computed value differs, the panel names the cause (inline style, a rule of another sheet, an unlayered rule, an animation) or marks a layout-dependent value as unverified. A custom property is checked with its declaration as the page's sheet has it, since a transformer (LightningCSS) reprints it and an unregistered one computes to its tokens as written.
  • Isolated. A custom element with a shadow root and its own cssints sheet, built ahead into dist/overlay.js (Solid, Effect and the core bundled): an app needs neither Solid nor a second CSS file. No tokens in its styles: @property is ignored inside a shadow root.

Ask OpenCode

// dev only, off by default; @opencode/client in the app's devDependencies
cssints({ devtools: true, opencode: true });
cssints({ devtools: true, opencode: { agent: "build", skills: ["cssints"] } });

The panel has an OpenCode box whenever the option is on, picked element or not. It is pinned: at the bottom of the panel in a left or right dock, at its right edge (20 rem wide, to the right of the inspection) in a top or bottom dock, and in the detached window by the window's shape (wider than tall: the right edge); the inspection beside it scrolls, the box does not. The box has a title row (OpenCode, and a dot with connected or not connected), the input (Enter sends, Shift+Enter is a new line) and one status line:

  • Not connected: how to connect. Start OpenCode (or opencode serve --service) and run /cssints-devtools in a session; the dev server finds the running service by itself; a prompt without an attached session opens a new one in the repository folder; @opencode/client must be in the app's devDependencies. When the server has its own message (the client is not installed), it follows.
  • Connected: connected to <service address> · attached session <id> · <state>, or no session attached: a prompt starts a new one. The id is the session /cssints-devtools attached to this dev server (truncated; the full id is the title); the state is running, completed, failed or interrupted.

The page asks the dev server whether a service is found (a probe: it looks, it creates no session) when the panel opens, when the box gets focus and after a send that found none, so starting OpenCode later shows up without a reload.

The tab with the chat

With the option on, the panel has two tabs: Inspect (the picked element, its structure and the classes that won each property) and OpenCode, which holds the conversation rather than one prompt at the panel's edge:

  • the transcript of the session — the user's and the assistant's messages, each with its role — read through the dev server (session.context), so the page still holds no address and no credentials;
  • new session: a session of its own, created in the repository folder, without touching the one /cssints-devtools attached (the attached session, when there is one, wins);
  • the same composer: on this tab, Enter sends the text as typed (a chat message, not an element instruction), the send is followed by running… and then the transcript with the turn's outcome.

test/ask-browser.mjs drives it in Chrome against the fake service (the tabs, new session creating exactly one, the transcript's roles, the raw text reaching the prompt), and test/opencode.mjs covers the server side: open creates no session, new creates one, send leaves the transcript of the messages and not of the session's own state.

The command /cssints-devtools

The box does not choose a session: an OpenCode command attaches the session it runs in to a dev server. The plugin is the main entry of this package, so OpenCode loads it by the package name (checked on 2.0.27: it installs the package and finds the entry; a package subpath, @cssints/devtools/opencode, is not loaded as a plugin):

// opencode.jsonc of the repository of the app (or ~/.config/opencode/opencode.jsonc)
{ "plugins": ["@cssints/devtools"] }

Or, with the package installed in the app, a file of the repository (OpenCode loads the .ts files of .opencode/plugins/):

// .opencode/plugins/cssints-devtools.ts
export { default } from "@cssints/devtools/opencode";

Then, in an OpenCode session:

  • /cssints-devtools: one dev server of this repository with opencode on runs: this session is attached to it. Several run: they are listed (id, address, root) and none is attached. None: it says so.
  • /cssints-devtools <id or part of it> picks one (the id is the Vite root relative to the repository, / as -, so docs picks apps-docs); /cssints-devtools off [id] detaches this session (or that server).

Each outcome is a message in the session (ctx.session.synthetic, which also gives the model a turn to acknowledge it). The prompts of an attached server's panel are sent to that session, which is not created again; a session that is gone makes the send fail with a message that says to run /cssints-devtools again. The rendezvous is files, not a route (the ask channel is the HMR socket, which Vite's token protects): <repository>/node_modules/.cache/cssints-devtools/<id>.json (root, pid, url) is written by the dev server while it runs, and <id>.session.json by the command. A dev server that crashed leaves a file with a dead pid, which the command ignores and removes. The plugin imports cssints/devtools-link, the module both sides share.

Without an attached session, Enter starts a session on the running OpenCode V2 service (Service.discover of @opencode/client; the page never talks to it) in the nearest folder up from the Vite root that has a .git. The prompt is built by src/core/prompt.ts:

  • App: (added by the dev server, on top): the Vite root relative to the repository (. when it is the repository) and the address the server listens on, as file paths in the prompt are relative to that root;
  • your instruction, then Page: (path, query and hash, not the origin), Title: and Display: (viewport and pixel ratio, the class and data-* attributes of <html>, prefers-color-scheme and prefers-reduced-motion; with an element, its rendered size and position and whether it is hovered, focused or disabled);
  • with an element picked: its tag, DOM path, text, classes, id, role, aria-label, href, src, alt, type, name, placeholder and title, the data-* attributes of it and of its three nearest ancestors, the css.* calls that style it (file:line and the call's source), the winner of each property and what it beat, and the tokens it reads. Never a value, a cookie or storage.

Every list and value is cut, the server cuts the whole at 16,000 characters from the end (the App: line, the instruction and the header come first and stay). With no service running the box says how to connect and keeps your text. The page and the server talk over the HMR channel (cssints:devtools:ask, asked, link, linked), not a route. A build has none of it. The idea, and the calls to the V2 client, follow brendonovich/vite-plugin-opencode (MIT, Brendan Allan), which marks the markup with Babel and so needs no table; here the table is the context.

Vitals in the console

The panel inspects one element; @cssints/devtools/vitals inspects the page and prints to the console, because a page that draws to a canvas has no elements to pick (the native browser target is one). No dev server and no overlay chunk: a plain ES module, about 30 kB (9.5 kB gzip), that any page imports in dev.

// the app's entry, dev only
import { observe, vitals } from "@cssints/devtools/vitals";
observe(); // long tasks and long animation frames are not buffered: observe before the work

vitals(); // later, from the console — or window.vitals(), set by the module
cssints vitals
265 ms · 214 nodes · 1 sheet · 380 classes
vitals   FCP 412 ms · LCP 1.20 s (h1.hero) · CLS 0.002
         INP 96 ms (button.primary) · 8+40+48 · TTFB 38 ms
frames   p50 16.7 ms · p95 33.4 ms · max 51.2 ms · 3 dropped  ▁▂▃▅▇▆▃▂▁▂▃▅
main     7 long tasks · 412 ms · max 120 ms · style+layout 41 ms · 0 errors · heap 42.1 MB
sheet    64.4 kB · +29 B on src/registry/button/button.tsx · 3 loads · 81 B a class  ▁▁█
load     2 sheets · 1 render-blocking · 66 ms to last · slow.css 65 ms (327 B)
history  12 loads · LCP 1.20 s (−180 ms) (−312 B)  ▁▂▃▅▆▇▆▅
CSS      41.2 kB · 380 rules · 1 902 decls · 0 blocked · specificity 0,3,2 (._1t8gqy5:hover)
layer    _.k       ████████████████████ 22.4 kB
tokens   14 colours · 2 fonts · 1 !important · custom props 12 declared / 9 used / 3 orphaned · keyframes 2 / 1 unused
coverage 41 / 380 classes unused (11%)  cs-Landing-hero …

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 @cssints/devtools

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

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229