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

@dimmi/browser

Latest version: v0.1.1

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: frantz.hivy
0 Stars
0 Forks
3 Versions
512 Downloads
Go Repo language

Scan summary

@dimmi/browser was last scanned on 28 Nov 2026 at version 0.1.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions, all published within 4 days (25–28 Nov 2026).
  • Findings: No rules fired in version 0.1.1.
  • Downloads: 512 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.1 LATEST 28 Nov 2026 No rules fired
0.1.0 25 Nov 2026 No rules fired
0.0.0-stage 25 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.

@dimmi/browser

Load the dimmi messenger on any web page, with a typed API and no framework. About 1.2 kB gzipped, zero dependencies, safe to import during server rendering.

npm install @dimmi/browser

Usage

import { loadDimmi } from "@dimmi/browser";

const dimmi = loadDimmi({
  appId: "wgt_...", // Settings > Messenger
  host: "https://dimmi.example.com", // your dimmi host, cloud or self-hosted
  identity: async () => (await (await fetch("/api/dimmi/token")).json()).token,
});

dimmi.show();
dimmi.showNewMessage("I need help with billing");
dimmi.update({ appearance: { position: "left", primary_color: "#0f766e" } });
dimmi.identify(); // after your app signs someone in without a page load
dimmi.shutdown(); // on sign-out

loadDimmi adds <host>/widget/v1/loader.js once. Calls made before it loads wait in the same queue the paste-in snippet uses. A second loadDimmi call adds no second script.

Options

Option What it does
appId The messenger's app id, wgt_.... Required.
host Where dimmi runs. Required. Self-hosted installs use their own address.
apiBase Where the messenger's API calls go, when not host (a proxy).
nonce CSP nonce for the loader. The messenger passes it on to every script it loads.
identity Function answering the signed-in user's token from @dimmi/server, or null.
identityUrl A URL answering {"token": "<jwt>"} or {"token": null}, instead of identity.
settings Messenger settings applied at boot, like update() takes.

Client

Method Messenger command
show() / hide() / toggle() open / close / toggle
showNewMessage(text?) ask (or open without text)
update(settings) update
identify(source?) identify
shutdown() logout
trackEvent(name, metadata?) track
onUnreadCountChange(fn) listens for the dimmi:unread window event; returns an unsubscribe
page() route-change hook; the messenger already notices address changes on its own
command(name, ...args) any raw Dimmi(...) command
ready resolves when the loader script loaded, rejects when it was blocked

getDimmi() answers the client for a messenger loaded by the paste-in snippet. dimmi(name, ...args) sends one raw command.

trackEvent sends the event from the visitor's browser once they have a session (it waits until then). The workspace accepts only event names switched on for the messenger in Settings > Attributes, unless "Accept any event from the messenger" is on; other names log event_not_allowed. Browser events can be forged, so record anything a rule must trust server-side with @dimmi/api (POST /contact-events).

onUnreadCountChange fires once at boot and whenever the visitor's unread total changes.

Server rendering

Every function does nothing when window is missing, so importing and calling them on a server is safe.

Regenerating after API changes

This package has no generated layer. It follows the messenger's Dimmi(...) commands in resources/widget/core.ts. pnpm sdk:generate regenerates every generated SDK file in this repo.

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 @dimmi/browser

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?

CVE

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

PolinRider Returns
Research

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

Frame 2085668439 (1)
Group 1261154229