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

@impz/client

Latest version: v7.8.0

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: geoffwhatley
1 Stars
0 Forks
80 Versions
101.4K Downloads
TypeScript Repo language

Scan summary

@impz/client was last scanned on 23 Nov 2026 at version 7.8.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 80 versions; the latest 5 were published within 5 days (19–23 Nov 2026).
  • Findings: No rules fired in version 7.8.0.
  • Downloads: 101,426 downloads.

Versions

80 versions published
Versions and the rules that fired in each
VersionPublishedStatus
7.8.0 LATEST 23 Nov 2026 No rules fired
7.7.0 21 Nov 2026 No rules fired
7.6.1 20 Nov 2026 No rules fired
7.6.0 20 Nov 2026 Not shown
7.5.1 19 Nov 2026 Not shown

No rules fired in 7.8.0

Findings

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

README

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

@impz/client

A typed client for impd, the imp host daemon. It runs in Bun, in binaries that bun build --compile makes, in Node 22.6 or later, and in browsers with Promise.withResolvers: Chrome 119, Firefox 121 and Safari 17.4 or later. CI checks each release under Node, Bun and a compiled Bun binary.

npm install @impz/client

@opentelemetry/api is an optional peer: oRPC's type declarations name it, so a project that type-checks its dependencies (no skipLibCheck) installs it too.

Connect

import { createImpClient } from '@impz/client';

const imp = createImpClient({
  url: 'http://localhost:7070',
  token: process.env.IMP_TOKEN,
});
  • url is impd's API. A path prefix is kept, so impd can sit behind a proxy at /impd/.
  • token is the bearer token from <IMP_DATA_DIR>/token. It controls every imp on the host, so keep it on a server. A browser app sends its requests through a proxy that adds the token, and leaves token out.
  • fetch swaps the transport, for example to call an in-process app in tests.

Imps, checkpoints and forks

Every procedure of impd's API is on the client, with its input and output types.

const dev = await imp.imps.create({ name: 'dev', memoryMib: 2048 });

const checkpoint = await imp.checkpoints.create({ name: 'dev', label: 'clean' });

// a new imp from the checkpoint's disk
await imp.imps.fork({ source: 'dev', name: 'dev-2', checkpoint: checkpoint.id });

await imp.imps.sleep({ name: 'dev' });

imp.requireAwake(name) makes one wake call. It wakes a sleeping imp, boots a stopped one and returns a running one as it is. impd refuses an imp in the error state with INVALID_STATE, because a wake would restart it; pass { restartError: true } to restart it anyway. While impd stops, calls fail with SERVICE_UNAVAILABLE, and while it restarts, fetch cannot connect; pass { retryUnavailable: { attempts, delayMs } } to wait for it to come back. RAM_BUDGET_EXCEEDED is never retried.

watchEvents(imp, { onEvent }) follows events.stream: every imp first, then each change. name keeps one imp's events, and reconnect: { delayMs } opens a fresh stream whenever one ends, until impd refuses the call or signal aborts. A reconnect resumes after the last event the watch read, across impd restarts, so onEvent misses nothing. On a resumed stream, the watch also reads impd's Position events, which move its cursor past the events of imps the token may not see, and passes none of them on. It passes over an event kind it does not know, which a newer impd may send. When impd no longer holds the events since then, onEvent gets Reset and then every imp again. onOpen runs as each stream opens, with the cursor it opens at: a stream with no after starts with every imp, and the caller may have missed what changed while it was away.

openForwardTunnel relays one connection to a port in the imp over /tunnel, and openReverseForward listens in the imp and relays each client back. openToolExec runs an agent tool such as tar over /exec with acked stdin and stdout. Each takes a connect that opens the WebSocket, and resolveImpdWebSocketUrl gives the URL for an impd endpoint.

Run commands

imp.run runs a command to its exit and collects its output. Without stdin, stdin closes at once.

const result = await imp.run('dev', ['sh', '-c', 'uname -a; cat'], { stdin: 'hi\n' });

console.log(result.code, new TextDecoder().decode(result.stdout));

imp.openExec streams the output instead, imp.openConsole opens a login shell with a tty, and a named session outlives the socket, so a client can attach to it again and resume where it stopped.

Errors, features and versions

A failed call throws an ORPCError with impd's code and typed data; safe and isDefinedError narrow it. A call to a procedure that an older impd lacks throws an UnknownProcedureError instead. An older impd drops an input field it does not know, so requireFeatures checks the features a call needs first. imp.checkServer() tells whether impd speaks this client's API.

Documentation

The client guide covers streaming, consoles, sessions and resume, every error code, the features table and the version check.

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 @impz/client

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

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

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

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

Frame 2085668439 (1)
Group 1261154229