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

@anyreplay/browser

Latest version: v0.7.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: baemtech
0 Stars
0 Forks
11 Versions
570 Downloads
TypeScript Repo language

Scan summary

@anyreplay/browser was last scanned on 29 Nov 2026 at version 0.7.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 11 versions; the latest 2 were published within 4 days (26–29 Nov 2026).
  • Findings: No rules fired in version 0.7.0.
  • Downloads: 570 downloads.

Versions

11 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.7.0 LATEST 29 Nov 2026 No rules fired
0.6.0 26 Nov 2026 No rules fired
0.5.0 22 Nov 2026 No rules fired
0.4.0 23 Oct 2026 Not shown
0.3.0 11 Oct 2026 Not shown

No rules fired in 0.7.0

Findings

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

README

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

@anyreplay/browser

Session replay recorder for the browser, made by AnyReplay: watch any user's session, translated into your own language.

  • DOM-based recording (built on rrweb), not video — about 36 KB gzipped
  • Form fields are masked by default; one line records them, and passwords and payment fields never are
  • Tag moments with track() and see them on the player's timeline
  • Sessions survive reloads and route changes; chunked, retried, and flushed with sendBeacon on page close
  • Deterministic sampling per visitor, retries that wait out an outage instead of giving up, and an optional consent gate

Install

npm install @anyreplay/browser
import { createRecorder } from '@anyreplay/browser';

const recorder = createRecorder({
  projectKey: 'ar_pk_live_…',      // from your AnyReplay project
  // ingestUrl: 'https://in.anyreplay.com',  // default; set for self-hosted
  // sampleRate: 1,                // 0..1, decided per visitor
  // crashClip: true,              // a 30 s clip of a crash for visitors sampling left out; default: the project's switch
  // maskAllInputs: false,         // on by default; false records what people type into fields
  // maskAllTyping: true,          // the stricter switch: fields and rich-text editors
  // maxSessionsPerMonth: 5000,    // optional cap for this project
  // appId: 'com.example.shop',    // only inside an app shell; see below
});

recorder.track('checkout_clicked', { plan: 'growth' });
recorder.identify({ userId: 'u_42', email: 'ada@example.com' });
Inside an app

A page running inside a Capacitor, Cordova, Electron or Tauri app has no real web origin — its web view reports capacitor://localhost, https://localhost or file:// — so a project that lists allowed domains refuses it. Add the app's bundle id or package name under Allowed apps in the project's settings, and pass the same value as appId. Leave appId out on a website: from a real web origin it is ignored, so it cannot open a web project's domain list. It is a filter, not a secret. The @anyreplay/capacitor, @anyreplay/cordova, @anyreplay/electron and @anyreplay/tauri packages (a preview) wrap this SDK and read the app id for you.

Every session also reports platform: 'web' and this package's name and version, so the dashboard can say what recorded it.

Prefer a script tag? Create a project in the dashboard and copy the snippet from its setup page; it loads the same code from cdn.anyreplay.com.

API

Call What it does
createRecorder(options) Starts recording (or waits for consent) and returns a handle
handle.track(name, properties?) Tags this moment; name is 1–64 chars of [A-Za-z0-9_.:-], properties a JSON object ≤ 4 KB
handle.trackError(error, { fatal? }) Records an error you caught yourself, redacted, and marks the session as having one. { fatal: true } for one the app cannot survive: the session counts as crashed, and a visitor who is not recorded gets a crash clip when the project has them on
handle.identify({ userId?, email? }) Attaches your user id to the session; held until the session's first chunk is accepted, then sent once
handle.consent(true) Starts recording when requireConsent: true; consent(false) removes what was stored and stops (before recording started, a later consent(true) still starts it)
handle.status() idle, awaiting-consent, recording, sampled-out or stopped
handle.flush() Sends what is buffered now; resolves when delivered
handle.stop() Stops for this page
handle.sessionId() The current session id, for your own logs

Privacy

By default a recording does not contain what visitors type into forms: every form field value becomes asterisks of the same length, so the replay shows the field being filled in without showing what went into it. To see what people typed — a form nobody could finish is easier to understand when you can read it — opt out:

  • maskAllInputs: false — form field values are recorded (the fields below stay masked).
  • maskAllInputs left out — the project's masking switch in the dashboard decides. The page records masked until ingest answers the first chunk with that choice, and stays masked if no answer comes.
  • maskAllTyping: true — the stricter switch: form fields plus the text of every contenteditable editor, whatever maskAllInputs says.
  • class="ar-mask" — one element, or one field, masked while the rest records.
  • class="ar-block" — the element's contents are not recorded at all.

Some fields are masked in every mode and no option records them: passwords and one-time codes; card numbers, security codes, expiry dates and cardholder names (from autocomplete="cc-…" or from a name, label or placeholder that reads like one); IBANs, routing numbers and sort codes; any value of 13–19 digits that passes the card-number check — and, because a number is typed one key at a time, any value that could still become one: digits only, starting 2–6, grouped like a card, more than six digits long. A card number written inside longer text ("my card is 4242 4242 …" in a note) has its digits starred and the rest of the text kept. At most the first six digits of a card number are ever recorded. Masking always happens in the page, before anything is sent.

type="email" and type="tel" are not on that list. An address and a phone number are ordinary contact details, so they follow maskAllInputs like any other field: masked by default, recorded with maskAllInputs: false unless maskAllTyping or class="ar-mask" covers them.

Docs

License

MIT © Baem Tech. Source: github.com/baemtech/anyreplay-sdk.

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 @anyreplay/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

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

PolinRider Returns
Research

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

Frame 2085668439 (1)
Group 1261154229