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

brushstroke

Latest version: v0.1.1

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: oliverbolton
2 Versions

Scan summary

brushstroke was last scanned on 24 Nov 2026 at version 0.1.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 24 Nov 2026.
  • Findings: No rules fired in version 0.1.1.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.1 LATEST 24 Nov 2026 No rules fired
0.0.0-stage 24 Nov 2026 Not shown

No rules fired in 0.1.1

Findings

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

README

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

Brushstroke

A small, fast JSX-based UI library for JavaScript/TypeScript, without a virtual DOM.

Components are plain functions that run once. Pass a carillon reactive value as a child or an attribute, and Brushstroke updates only that part of the DOM when the value changes.

import { reactive } from "carillon";
import { render } from "brushstroke";

const count = reactive(0);

function Counter() {
  return (
    <button type="button" on:click={() => count.value++}>
      Count: {count}
    </button>
  );
}

document.body.append(...render(<Counter />));
  • Fine-grained updates to elements and attributes.
  • Server rendering and hydration are built in.
  • Works out of the box with TypeScript, with no compiler plugin needed.
  • Typed HTML, SVG and MathML attributes.
  • ESM only, with TypeScript types included.

Installation

npm install brushstroke carillon

Brushstroke targets ES2025. It runs on Node 22 or later and in current browsers.

Set Brushstroke as the JSX import source in your tsconfig.json:

{
  "compilerOptions": {
    "jsx": "react-jsx",
    "jsxImportSource": "brushstroke"
  }
}

Usage

Attributes and properties
const selected = reactive(false);
const width = reactive(100);
const name = reactive("");

<input
  type="text"
  classList={{ field: true, selected }}
  style={{ width: width.derive((value) => `${value}px`) }}
  disabled={selected}
  bind:value={name}
  $tabIndex={1}
  on:input={(event) => console.log(event)}
  ref={(element) => element.focus()}
/>;
Syntax Description
name={value} Sets an attribute. Accepts a reactive.
classList={{}} Toggles classes from an object of booleans or reactives.
style={{}} Sets styles from an object of values or reactives.
$name={value} Assigns a DOM property.
bind:name={r} Assigns a DOM property and updates it when the reactive changes.
on:event={fn} Adds an event listener.
ref={fn} Calls the function with the element.
Control flow

If, Each and Switch take a reactive value and update when it changes. Portal renders its children into another element.

import { array, reactive } from "carillon";
import { Case, Default, Each, If, Portal, Switch } from "brushstroke";

const items = array(["a", "b"]);
const open = reactive(false);
const status = reactive<"loading" | "ready">("loading");

<>
  <If condition={open}>
    <p>Open</p>
  </If>

  <ul>
    <Each items={items}>{(item) => <li>{item}</li>}</Each>
  </ul>

  <Switch value={status}>
    <Case value="loading">Loading…</Case>
    <Default>Ready</Default>
  </Switch>

  <Portal>
    <dialog />
  </Portal>
</>;
Server rendering and hydration

Render to an HTML string on the server:

import { renderToString } from "brushstroke/server";

const html = renderToString(<App />);

Then attach to the existing DOM in the browser:

import { hydrate } from "brushstroke";

hydrate(<App />, document.body);

Development

pnpm install
pnpm check # typecheck, lint, format check and test
pnpm build # bundle to dist/
pnpm dev # rebuild on changes

License

MIT

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 brushstroke

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

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

Copy of Template Design OX Blog (2)
Research

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

Frame 2085668439 (1)
Group 1261154229