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

@bowmark/web

Latest version: v1.43.0

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: christopher_bowmark
1 Stars
0 Forks
48 Versions
2.1K Downloads
Python Repo language

Scan summary

@bowmark/web was last scanned on 25 Nov 2026 at version 1.43.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 48 versions; the latest 5 were published within 2 days (24 and 25 Nov 2026).
  • Findings: No rules fired in version 1.43.0.
  • Downloads: 2,080 downloads.

Versions

48 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.43.0 LATEST 25 Nov 2026 No rules fired
1.42.0 25 Nov 2026 No rules fired
1.41.0 25 Nov 2026 No rules fired
1.40.0 25 Nov 2026 Not shown
1.39.0 24 Nov 2026 Not shown

No rules fired in 1.43.0

Findings

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

README

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

@bowmark/web

Install in VS Code

MCP npm PyPI License

LM Studio — GitHub strips a raw lmstudio: link, so this one is a paste, not a button. Copy it into your browser's address bar:

lmstudio://add_mcp?name=bowmark&config=eyJ1cmwiOiJodHRwczovL2FwaS5ib3dtYXJrLmFpL21jcC9iYWRnZS1sbXN0dWRpbyJ9
npm i @bowmark/web

You need an API key. Sign up at https://bowmark.ai/sign-up (new accounts start with a free $10), create a key at https://bowmark.ai/dashboard/keys, and pass it in:

import { session } from "@bowmark/web";

const total = await session(async (bm) => (await bm.music.search("aphex twin")).length, {
  apiKey: "bmk_…",   // or set BOWMARK_API_KEY and omit this
});

A client with no key throws BowmarkError with code: "no_api_key" on its first call, before anything is sent.

There is a Python client too, from this same directory tree and the same generated surface: pip install bowmark-web bowmark-web-stubs (../python/README.md). One LibraryManifest produces the declarations below AND the .pyi, gate:public-types asserts the two languages type the same functions, and all three packages ship at one version — so a caller in either language is looking at the same library.


Using this package — start here

This is everything you need to write code that calls Bowmark:

  • The session is the surface — How to use session() to keep your control flow on your machine
  • The three other entry points — bowmark, client(), openManagedSession(), run() and when to use each
  • Signing in — How login() and { connection } work
  • Error handling — What exceptions to expect and how to handle them
  • Configuration — How to pass your API key and other options

Stop here if you just need to call the library. What exists to call is typed in library.d.ts (your editor completes it) and listed by website in covered-functions.txt — absolute URLs, because this README is read on npm where a relative link resolves to nothing.


The session is the surface

import { session } from "@bowmark/web";

const itemCount = await session(async (bm) => {
  const found = await bm.providers.gymshark.search({ query: "hoodie" });
  await bm.providers.gymshark.addToCart({ variantId: found.products[0].variantId });
  return (await bm.providers.gymshark.getCart()).itemCount;   // 1
});

Your control flow stays on your machine. Real if, real for, real closures, real autocomplete, and no script string. Each capability call is one round trip into one live instance on ours — that is stated rather than hidden, because a surface that looks like a local function call and is actually stateful is how a caller writes an N+1 without noticing. The session closes in a finally, so a throw inside the callback still releases it.

The callback is never stringified and never shipped. toString() on your function returns whatever your build tooling emitted — istanbul's cov_…f[2]++, esbuild's __name, TypeScript downleveling's tslib_1 — so a failure would live in a toolchain we cannot see. Playwright was asked to fix that class of bug and formally declined.

The three other entry points
import { bowmark, client, openManagedSession, run } from "@bowmark/web";

await bowmark.music.search("aphex twin", 25);        // one-shot: its OWN session, opened and closed
const bm = client({ apiKey: "bmk_…" });              // the same, configured
const held = await openManagedSession();             // a session with the `finally` moved to you
const envelope = await run("return await bowmark.music.search('x')");   // the agent path

bowmark and client() are correct for ONE call and wrong for several. Two calls get two instances and two cookie jars, so a cart filled by the first does not exist for the second — and the failure is silent: a store's cart endpoint answers POST /cart/add.js with 200 and the added line echoed back, then reports item_count: 0. Reach for session() the moment a flow has a second step.

run(string) is untyped by construction and stays as the agent path. A template literal gets no typechecking, so the generated types cover session() and bowmark and never this. It returns the envelope rather than throwing, because a script is composite: status, logs and result are read together. A NON-string is refused before anything is sent: run(async () => …) rejects with a BowmarkError (code: "run_not_a_string") that names session(). Before 2026-11-16 it came back as an envelope about raw HTTP bodies, and a script that printed only that envelope exited 0 with no output.

A polling run() passes { idempotent: true }. Pass it only when the script is safe to send twice: a read, a status poll, or a stop() of a session that may already be stopped. Then a connection reset that returns no response is retried, three attempts in about a second. Left unset, a reset throws network_error at once, because the request may already have started a billed action, and a retry would start it again. A response is never retried, whatever its status.

const polled = await run(`return bowmark.browser_agent.status("${id}", { waitMs: 45000 })`, {
  idempotent: true,
});

run() is designed for agents, not for you. If you're writing code in your editor, use session() instead, with one exception: reading a page. read.page, read.pages, browser_agent and web_form_fields cannot run inside a session() (each call there is refused with rung_undeclared), so call them through run():

import { run } from "@bowmark/web";

const res = await run(`return bowmark.read.page(${JSON.stringify(url)})`, { apiKey: "bmk_…" });
const page = res.result; // { status, text, … }
A site's own tools — bowmark.sites["<host>"].<tool>(args)

Typed like any other function (interface BowmarkSites in generated/library.d.ts, from the committed tool snapshot in this package). The client sends each one as a one-line run() script, because no session resolves a site's own tool; so inside session() it is still its own call, and its state lives on the site.

const docs = await bowmark.sites["langfuse.com"].searchLangfuseDocs({ query: "what is a trace" });
Signing in — login(), { connection }, and bm.connections.*
import { session } from "@bowmark/web";

await session(async (bm) => {
  const a = await bm.providers.reddit.login({ username: "u1", password: "p1" });
  const b = await bm.providers.reddit.login({ username: "u2", password: "p2" });

  await bm.providers.reddit.vote({ id: "t3_x", direction: "up" }, { connection: a.connection });
  await bm.providers.reddit.vote({ id: "t3_y", direction: "up" }, { connection: b.connection });

  await bm.connections.update(a.connection, { keepAlive: { everyHours: 6 } });
  await bm.connections.logout(a.connection); // ends the site session, keeps the entry
  await bm.connections.delete(b.connection); // forgets the entry, site session untouched
});

login() exists on any provider with login adapters, and every login is a NEW, separate connection — calling it twice never replaces the first. Pass connection: id in its argument to sign back in to an existing one instead (its id and settings are kept; a logged_out one is revived). The returned connection works on the very next call, and warnings names your other connections to that site. Its username / password / totpCode / totpSeed are plain strings, unlike the bowmark.secret() references a run() script must use: this client's transport lifts each one into a per-request x-bowmark-credential-<name> header before the call leaves your process, so the value never rides in the request body a run row, a log or a trace could carry. keepAlive/expiresAt are ordinary values and travel in the body unchanged — absent means a 12-hour keep-alive.

Every signed-in function accepts a trailing { connection }. Omit it and the call uses the provider's default connection; several live and none marked default throws a caller-fixable ConnectionAmbiguous error listing them. login()'s own return value is { connection, account, expiresAt } — pass connection straight into a later call.

bm.connections.list/logout/delete/update are REST over /v1/connections, not part of the generic capability dispatch. logout drops Bowmark's cookies, ends the session on the site where the provider can (siteSignedOut: true is checked, not assumed; siteLogout: "unsupported" says the site offers no way), and KEEPS the entry as logged_out so login({ connection: id }) can revive it. delete forgets Bowmark's own row and cookies; it does not sign the account out on the site.

Python note: bowmark_web-stubs types login() and { connection } for parity, but the Python runtime does not yet lift credentials into a header the way this client does — see packages/bowmark-web/python/README.md if you hit this from Python.

What it throws
Class When What to do
BowmarkNeedsUserError One call paused for a human login Open err.handoff.url, then call again — the session is still open
BowmarkError, code: "wire_refused" An argument the wire cannot carry Fix the argument; the message names the exact path, args[0].when.checkIn
BowmarkError, code: "bad_argument" An argument the declared signature does not accept Same — the message names the path and what was expected
BowmarkError, code: "unknown_function" A KNOWN unit, and no such function on it in this package's declarations Check the name, or upgrade — the library may have grown it since this version
BowmarkError, code: "network_error" No response came back: the request may not have reached Bowmark Retried already where it is safe (run(…, { idempotent: true }), a session close). Otherwise call again, after checking first if the call started anything billed
BowmarkError, any other code The call failed, or the transport did Branch on code; error is prose written for an agent, code is for your catch

A session close never throws on a reset. closeSession retries it, and a close that still cannot reach Bowmark returns null and is reported through onLog, because the caller's work is finished by then and the session's TTL closes it.

needs_user is a status, not an error, and it is a separate class for that reason: an agent that reads a failure retries, and retrying a login halt buys the same halt.

When your installed version is behind

Each typed call sends this package's fingerprint of the function (x-bowmark-fn-digest), and Bowmark compares it with the live one. You see at most one line per function per process:

[bowmark] bowmark.providers.soundcloud.search: something changed in this function's provider since your version. The call ran; update (npm i @bowmark/web@latest, …) to get the new types.
[bowmark] bowmark.providers.soundcloud.oldFn is no longer available: … Update your version …

The first is console.warn and the call returns as usual. The second is console.error, and the call fails. A function this package does not declare at all is refused before any request is sent, as unknown_function (above), and a newer version may have it.

Configuration

Pass { apiKey, baseUrl, fetch, headers, signal, onLog } explicitly — every entry point takes them — or set BOWMARK_API_KEY and BOWMARK_API_URL, read at CALL time. The key is required: without one the first call throws code: "no_api_key" and sends nothing. A caller header cannot displace the key.


For maintainers of this package

How @bowmark/web is built, generated and published — the generator, the guards, the publish pipeline — now lives in CONTRIBUTING.md, not here. Nothing past this point is needed to call the library.

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 @bowmark/web

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

PolinRider Returns
Research

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

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

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229