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

@mmstack/telemetry-devtools

Latest version: v21.1.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: mmstack
37 Stars
4 Forks
3 Versions
22 Downloads
TypeScript Repo language

Scan summary

@mmstack/telemetry-devtools was last scanned on 29 Nov 2026 at version 21.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions; the latest 2 were published on 29 Nov 2026.
  • Findings: No rules fired in version 21.1.0.
  • Downloads: 22 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
21.1.0 LATEST 29 Nov 2026 No rules fired
22.1.0 29 Nov 2026 No rules fired
21.0.0 28 Sep 2026 No rules fired

No rules fired in 21.1.0

Findings

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

README

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

@mmstack/telemetry-devtools

Experimental. The API may still change and this package is not yet battle-tested in production. Pin a version and expect some churn.

Chrome DevTools adapter for @mmstack/telemetry-core. It draws your app's spans, events, and findings as named tracks in the Performance panel, next to Chrome's own main-thread and network tracks.

License

Install

npm install @mmstack/telemetry-devtools

No dependencies. The sink uses the browser's console.timeStamp and performance.measure. During SSR, without performance, or where neither API exists, the factory returns null and the facade drops the sink.

Usage

import { provideTelemetry } from '@mmstack/telemetry-core';
import { devtoolsSink } from '@mmstack/telemetry-devtools';

provideTelemetry({
  sinks: [devtoolsSink()],
});

Open the Performance panel, record, and use the app. The entries show up under a mmstack track group (change it with group).

Same records, second rendering

This sink shows the records every other sink receives. It adds no data of its own. A span's label is its name, prefixed with formatOrigin(origin) when it ran under withOrigin, for example click on button#next · wizard.next. An event's label is its name. A finding's label is CODE: message, cut to 120 characters, with the full message as the tooltip. Because the origin text comes from the same formatOrigin that other renderers use, the panel and your dashboards show the same words.

By default each kind has one track: spans go to Spans, events to Events, findings to Findings. A string track attr moves an entry to the track it names, for example { track: 'Interactions' }. A track callback overrides both. Spans are primary, or error when they failed. Events are secondary. Findings are tertiary, warning, or error by severity. A color callback overrides that, and it sees error: true for a failed span.

Two modes

  • 'rich' (the default in dev mode) calls performance.measure with Chrome's devtools detail, so entries carry a colour, a tooltip, and a property table built from their primitive attrs. The panel captures an entry when it is made, so the sink clears the labels it emitted in one microtask after each burst. Your User Timing buffer does not grow. The trade-off: those measures are gone from performance.getEntriesByType('measure') and from any PerformanceObserver that reads them later.
  • 'cheap' (the default otherwise) calls console.timeStamp(label, start, end, track, group, color). Nothing is retained and there are no tooltips or properties.

When only one of the two APIs exists, the sink uses that one, whatever the mode.

Clock

The facade stamps spans in epoch milliseconds. Chrome wants milliseconds since performance.timeOrigin, so the sink subtracts it. A span is drawn once, when it ends, from its own start and end stamps. A span buffered while a sink was not ready still lands at the time it ran. Events and findings carry no stamp, so they are drawn at the moment the sink receives them.

Seeding

Tracks appear in the order their first entry arrives, so they can shuffle between recordings. To keep them stable, the sink draws one zero-length entry per seeded track at 0.003 ms, in order, when it is created. The default seed is ['Spans', 'Events', 'Findings']. A seed you pass replaces it entirely, so add your own tracks to it (seed: ['Interactions', 'Spans', 'Events', 'Findings']) or pass [] to seed nothing.

Verification

The unit tests check the exact arguments passed to console.timeStamp and performance.measure.

A browser spec next to the sink, src/lib/devtools-sink.browser.spec.ts, checks what Chrome keeps. It mounts a small component with the sink in Chromium, records a trace over the Chrome DevTools Protocol, clicks, and asserts on the trace events the Performance panel is drawn from. In 'rich' mode it checks the label, track, mmstack group, colour, and properties of a span and a finding, the finding's tooltip, that seeds are zero-length and emitted in seed order, that a span sits inside the click that caused it, and that a measure the sink cleared from performance.getEntriesByName is still in the trace. In 'cheap' mode it checks the console.timeStamp entry's label, track, group, and colour, and that each seed is present and zero-length.

Run it with nx run telemetry-devtools:test-browser. It is not part of this package's test target. It runs in vitest browser mode on Playwright's headless Chromium, because CDP tracing is Chromium-only.

The spec stops at the trace. How the Performance panel draws those events is not tested, and is still checked by eye in the playground.

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 @mmstack/telemetry-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?

PolinRider Returns
Research

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

Copy of Template Design OX Blog (1)
Research

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

Frame 2085668439 (1)
Group 1261154229