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

@tangle-network/ui

Latest version: v11.51.53

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: drewstone
0 Stars
0 Forks
136 Versions
29.8K Downloads
TypeScript Repo language

Scan summary

@tangle-network/ui was last scanned on 23 Nov 2026 at version 11.51.53. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 136 versions; the latest 5 were published within 4 days (20–23 Nov 2026).
  • Findings: No rules fired in version 11.51.53.
  • Downloads: 29,806 downloads.

Versions

136 versions published
Versions and the rules that fired in each
VersionPublishedStatus
11.51.53 LATEST 23 Nov 2026 No rules fired
11.51.52 23 Nov 2026 No rules fired
11.51.51 23 Nov 2026 No rules fired
11.51.50 20 Nov 2026 Not shown
11.51.49 20 Nov 2026 Not shown

No rules fired in 11.51.53

Findings

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

README

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

@tangle-network/ui

React buttons, dialogs, forms, Markdown, file views and recorded examples. Import the part of the library your app uses. Its styles use the tokens in @tangle-network/brand.

Install

In a React project that builds Tailwind CSS v4, install the packages and load the styles below.

npm install @tangle-network/ui @tangle-network/brand react react-dom
/* src/styles.css */
@import "tailwindcss";
@import "@tangle-network/brand/styles";
@source "../node_modules/@tangle-network/ui/src";
import { Button } from "@tangle-network/ui/primitives";

export function PrintPage() {
  return <Button onClick={() => window.print()}>Print page</Button>;
}

Choose an entry point

Import Use it for
@tangle-network/ui/primitives Buttons, dialogs, tabs and form fields
@tangle-network/ui/markdown Formatted text, code blocks, tables and links
@tangle-network/ui/files File lists, previews and optional PDF support
@tangle-network/ui/marketing Recorded example editors and terminal replays
@tangle-network/ui/utils/format Pure formatters for time, bytes and currency

See package exports for the full list. Each entry lists its types and runtime module.

partitionBySpeaker and the speaker types in /chat re-export the canonical @tangle-network/agent-interface/speaker contract. Server consumers import that entry directly; SpeakerHeader remains the UI renderer.

Styling

Most controls use Tailwind utilities from the package source. Components with additional styles, such as the example editor and command menu, also export their own stylesheets.

Scan this package

Your Tailwind or UnoCSS build has to read this package's files. Neither scans node_modules on its own, so a class that only this package names is never generated. Nothing fails loudly when one is missing: the element still renders, still occupies space and still takes clicks, it just looks inert. A Switch with no track colour in either state, a Tabs where the selected tab is indistinguishable from the rest, and a Textarea collapsed to one row all come out of this.

Tailwind v4, in the stylesheet that imports tailwindcss. @source paths resolve relative to that stylesheet, so adjust the prefix to wherever yours lives:

/* from src/styles/app.css, with node_modules two levels up */
@source "../../node_modules/@tangle-network/ui/src/**/*.tsx";
@source "../../node_modules/@tangle-network/ui/src/**/*.ts";

sandbox-ui runs exactly these two globs in src/styles/globals.css, alongside @import "tailwindcss" source(none) so the scan is the whole of what the bundle compiles from.

UnoCSS, in uno.config.ts:

content: {
  filesystem: ["node_modules/@tangle-network/ui/dist/**/*.js"],
}

Under pnpm that plain glob can match zero files. node_modules/@tangle-network/ui is a symlink into node_modules/.pnpm, and UnoCSS's globber does not follow it, which leaves you exactly where you started with no error. Pre-expand the glob with something that does follow symlinks, resolve each hit through realpath, and hand UnoCSS concrete paths. tangle-network/blueprint-agent's apps/web/uno.config.ts carries a worked version that walks the import graph of the two entries it uses rather than the whole dist.

Two things to check after wiring this up, because the failure is silent either way. Read the generated CSS for a class this package alone names, rather than eyeballing the app. And assert the scan resolved a non-zero number of files: a scan that silently matches nothing looks identical to no scan at all.

One consequence worth knowing. This is a scan, not a manifest, so a consumer emits only the classes the version it installed actually names. Upgrading this package can introduce a class your build has never generated, and it will go missing the same silent way.

Import the brand stylesheet

@tangle-network/brand is a peer dependency. It holds the tokens every colour here resolves through, and a few real classes that some components reference by name instead of composing out of utilities. Badge with dot is the one to know about: it emits status-dot status-dot-running and its siblings, which are defined in @tangle-network/brand/styles/globals.css and nowhere else. Without that import the dots have no size and no colour.

@import "tailwindcss";
@import "@tangle-network/brand/styles";

See @tangle-network/brand's README for the token-level breakdown, the finer-grained imports, and the fonts, which brand deliberately does not bundle.

Focus treatment

Every control shares one focus treatment, exported from utils as class strings. Compose them with cn so tailwind-merge resolves any override.

  • focusField — a text field: neutral hairline, a slightly darker border on hover, and on :focus a --focus-border border with a 3px --focus-halo ring.
  • focusFieldWithin — the same, for a container that wraps a borderless field, such as a composer around a textarea. It lights while a text input, textarea, native <select> or contenteditable editor inside it has focus, not while a button inside it does. It keys off :has(), so a focus-within:* class does not override it.
  • focusFieldInvalid — the error state of a field. Compose it after focusField.
  • focusRing — keyboard focus on a button, tab, switch or link: a 1px --focus-border outline with the halo beyond it, on :focus-visible only.
  • focusRingInset — focusRing drawn inside the box, for a control in a scrolling strip.

The colors come from the --focus-* tokens in @tangle-network/brand, so they need brand 1.6 or later. To remove the ring from a field nested in a focusable container, pass focus:ring-0 border-0 and put focusFieldWithin on the container.

Subpaths

Seventeen named exports: primitives, chat, run, openui, openui-schema, files, editor, markdown, auth, hooks, sdk-hooks, stores, types, utils, tool-previews, nav, redaction.

openui-schema has no React imports. Its validation functions are compiled from the shared JSON Schema at build time, so importing the subpath does not use dynamic code generation at Worker startup. Use OPENUI_NODE_JSON_SCHEMA to describe one model-authored node and validateOpenUIJsonNode(value) before writing it. Use validateOpenUIJsonArtifact(value) for a saved single node or node array. Both validators return { ok: true, value } with a typed renderer node, or { ok: false, issue: { path, message } }. They reject unknown node types, hidden fields, malformed cells, and unsupported nested children. The renderer reports an unsupported saved node at its path instead of silently omitting it.

Marketing

@tangle-network/ui/marketing holds the components the public sites share. ExampleEditor is the tangle.tools example editor: pass subjects (each with its ideas' source, install line and optional recorded-run url) and an optional initial key; it fetches each run record from its url and replays it. Import @tangle-network/ui/styles/marketing.css beside Brand styles, and set class="dark" data-theme="website" on an ancestor for the tangle.tools look.

Markdown and OpenUI links

Markdown adds GitHub-style heading IDs before sanitising the rendered document. The existing sanitizer keeps its user-content- prefix to prevent DOM clobbering. For a link into another Markdown file, use getSanitizedMarkdownHeadingIdFromRawFragment with raw fragment text, without a leading # or sanitizer prefix. Markdown applies the same mapping to local #fragment links. Custom URL transforms still pass through ReactMarkdown's safe protocol check. OpenUIArtifactRenderer forwards its urlTransform prop to nested Markdown nodes.

Optional peers

@tiptap/core, @tiptap/react, @tiptap/starter-kit, @tiptap/extension-collaboration, @tiptap/extension-collaboration-caret, @hocuspocus/provider and yjs back the ./editor entry. The entry reaches every one of them through a dynamic import(), and gets a loud error that names the missing packages only when it renders an editor. ./editor splits the cost three ways, so each surface costs only the peers it uses:

Surface Peers it needs
DocumentEditorPane in preview mode none
MarkdownDocumentEditor (local) @tiptap/react, @tiptap/starter-kit
EditorProvider (collaboration transport) @hocuspocus/provider, yjs
TiptapEditor (collaborative) all of the above, plus both collaboration extensions

EditorProvider builds the document and the socket from yjs and @hocuspocus/provider alone, so a consumer that drives its own editor from its context — through useEditorConnection, useCollaborators and the other ./editor hooks — installs those two and no tiptap package.

A bundler still reads the literal specifier in a dynamic import(), so what a consumer without the peers must do depends on the bundler:

Bundler A consumer that installs none of the peers
Vite, Rollup Builds. The unresolved peer becomes a chunk that throws when it loads.
esbuild Builds. Each import carries a .catch(), which moves the unresolved path from build time to run time.
webpack Needs configuration. Give resolve.fallback the value false for each peer you do not install, for example resolve: { fallback: { "@tiptap/react": false } }.

A TypeScript consumer resolves these entries through the emitted declarations, and those declarations name the optional peers in their own import statements. Keep skipLibCheck: true — the common default — and a consumer without the peers type-checks: its own imports resolve, and TypeScript skips the declaration files that name the packages it does not have. With skipLibCheck: false, TypeScript reads those files and reports TS2307 for each absent peer; install the peers, or add a module declaration for each one you omit.

pnpm test:package builds a packed consumer that installs none of the peers, under both Vite and esbuild, and type-checks it. scripts/validate-dist.mjs rejects a static import of any of them, and rejects a dynamic import that lost its .catch().

Because the peers now resolve at first render rather than at build time, a missing one surfaces as a thrown error while React renders. Wrap the editors in an error boundary, so the install list reaches a surface you control instead of unmounting the tree.

PDF pages

pdfjs-dist backs PdfViewer in ./files, which FilePreview and FileArtifactPane use for PDFs. It follows the editor's rule: the entry reaches it only through a caught dynamic import(), so a consumer without it builds under Vite and esbuild. Without it, PdfViewer says so and shows the browser's own viewer through <object>, which Android Chrome does not have, so a reader there gets a download card instead of pages.

pnpm add pdfjs-dist

PdfViewer imports pdf.js's legacy build, which carries the polyfills that phone browsers a year or two old need. Two settings are page-wide, because pdf.js's own worker setting is. Set them once, before the first viewer renders:

import { configurePdfViewer } from "@tangle-network/ui/files";
import workerSrc from "pdfjs-dist/legacy/build/pdf.worker.min.mjs?url"; // Vite

configurePdfViewer({ workerSrc, assetsUrl: "/pdfjs/" });
  • workerSrc moves parsing into a worker. Without it, the viewer runs pdf.js's worker code on the main thread, which needs no bundler setup and no CDN, at the cost of scrolling while a large file parses.
  • assetsUrl is where the app serves the installed pdfjs-dist's wasm/, cmaps/, standard_fonts/ and iccs/ directories. pdf.js 6 decodes JBIG2, CCITT fax and JPEG 2000 images with the wasm modules, and black-and-white scans use the first two, so without it a scanned page renders blank. The viewer warns once in the console when it is missing. Copy the directories at build time; they must come from the same pdfjs-dist version as the worker.

An http(s) src on another origin needs CORS, as any fetch does. When it fails, the viewer falls back to <object>, which does not.

nanostores and @nanostores/react back ./stores, and react-router backs ./nav. Those entries create values at module scope, so consumers must install their peers before importing them. The package root also re-exports ./stores, so a root import requires both nanostores peers. Consumers that use only other subpath entries do not need these three peers.

Retained report readers can import existing chat/agent-timeline, chat/speaker, run/expanded-tool-detail, run/inline-thinking-item, run/run-row-shell and hooks/use-follow-tail modules directly. These entries preserve their broad-entry bindings without importing chat session stores.

Shared formatters

@tangle-network/ui/utils/format is a pure module for duration, clock, compact counts, USD, bytes and UTC labels. It loads without React. Charts re-exports these helpers for static figures and record views. formatDuration and formatUptime remain aliases of formatSpanDuration; chat timestamps use explicit UTC, and file/upload sizes share formatBytes.

HoverCard shares Popover positioning, portal and keyboard behavior. Its optional anchor accepts an existing DOM element for virtualized rows or canvas nodes. Hover delays default to the trigger's --duration-fast token. HoverCardContent and PopoverContent accept the local theme container, so previews preserve inherited tokens without copying computed styles.

Product theme and table sorting

Create a createThemeController({ storageKey, defaultTheme, storageValues, attribute }) once outside React components when a product has established persisted names or a mode attribute. Its useTheme shares state across components and tabs; setTheme persists the preference, while applyTheme applies a temporary page mode without replacing it. The parameterless useTheme keeps the default theme key and named Brand themes.

TableHead accepts sort={{ direction, onSort, label, buttonClassName }}. It owns the native button, keyboard activation, indicator and column aria-sort; the consumer owns row ordering, comparator, URL state and sort cycle. direction is asc, desc or omitted. Supply label when the header is not plain text.

Searchable command menus

Command from @tangle-network/ui/primitives is the exact upstream cmdk namespace, including its Input, List, Item, Group and Empty parts. Compose it inside the public Popover and import @tangle-network/ui/styles/command.css beside Brand styles for the owned token treatment. Use stable item IDs and searchable label keywords; cmdk owns filtering, highlighting and keyboard selection. The stylesheet bounds the scroll viewport; it does not virtualize item registration. Keep selection commits in Item.onSelect, separately from the highlighted value.

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 @tangle-network/ui

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 (2)
Research

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

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

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