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

@pwaos.net/runtime-client-api

Latest version: v0.2.10

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: daqingzd
1 Stars
0 Forks
10 Versions
1.7K Downloads
C++ Repo language

Scan summary

@pwaos.net/runtime-client-api was last scanned on 28 Nov 2026 at version 0.2.10. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 10 versions; the latest 5 were published within 5 days (24–28 Nov 2026).
  • Findings: No rules fired in version 0.2.10.
  • Downloads: 1,731 downloads.

Versions

10 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.10 LATEST 28 Nov 2026 No rules fired
0.2.9 25 Nov 2026 No rules fired
0.2.8 25 Nov 2026 No rules fired
0.2.7 25 Nov 2026 Not shown
0.2.6 24 Nov 2026 Not shown

No rules fired in 0.2.10

Findings

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

README

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

@pwaos.net/runtime-client-api

JavaScript wrapper for the PwaOS RuntimeClient API.

Calls PwaOS Runtime features through a Node.js native addon and resolves the PwaOS Runtime SDK distribution for your platform at install time. On load, it automatically configures the dynamic-library search path, loads the native addon, and resolves the Runtime path.


Installation

npm install @pwaos.net/runtime-client-api

This package automatically pulls in @pwaos.net/runtime, which installs the prebuilt Runtime SDK distribution for your platform. The native addon is built automatically at install time; no manual compilation is required.

Troubleshooting

Windows: missing any Windows SDK even though the SDK is installed

Symptom

npm install "@pwaos.net/runtime-client-api" from a regular PowerShell or CMD window fails with:

gyp ERR! find VS - found VC++ toolset: v142
gyp ERR! find VS - missing any Windows SDK
gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use

Fix: Run npm install from a Native Tools Command Prompt instead of a regular
shell: 

```text
cd <your-project>
npm install @pwaos.net/runtime-client-api

The Native Tools Command Prompt preconfigures all MSVC-related environment variables that node-gyp needs, so the build finds the toolchain and the installed Windows SDK automatically.

Platform Support

OS Architecture Status
Linux x64 \u2705
Windows x64 (x86 runtime via WOW64) \u2705

Requires Node.js >= 18.

Support: For questions or to request the SDK for other platforms or CPU architectures, please contact daqingzd@pwaos.net.

What loading the package does

require('@pwaos.net/runtime-client-api') returns the native addon object itself and, at require time:

  1. Sets up the dynamic-library search path - the platform package's lib/<os> directory is prepended to LD_LIBRARY_PATH (Linux) or PATH (Windows), so libpwaos_runtime_api.so / pwaos_runtime_api.dll resolves everywhere (and child processes inherit it).
  2. Loads the native addon - compiled at install time by the install script (node-gyp rebuild).
  3. Calls pwaos_setRuntimeExecutablePath - bound to the installed platform package's runtime directory (also exported as process.env.PWAOS_RUNTIME_PATH).

Usage

The module's export surface IS the addon - there is no additional JS wrapper layer. Use the native API directly:

const pwaos = require('@pwaos.net/runtime-client-api');

// The runtime executable path is already set (see above). Init:
await pwaos.init();

// One instance per process:
const instance = pwaos.createInstance({
  type: pwaos.PWAOS_TYPE_INSTANCE_CREATE_INFO,
  runtimeType: pwaos.runtimeTypePwa,
  serverUrl: 'http://localhost',
  dataPath: '',
});

// Pump events until the instance is working, then open apps.
let ev;
while (!(ev = instance.pollEvent())
    || ev.type !== pwaos.PWAOS_TYPE_EVENT_DATA_INSTANCE_STATUS_CHANGED
    || ev.status !== pwaos.Instance.instanceStatusWorking) { /* ... */ }

const app = instance.createPwa({
  type: pwaos.PWAOS_TYPE_PWA_CREATE_INFO,
  appType: pwaos.App.appTypePwa,
  appUrl: 'https://example.com',
  width: 800,
  height: 600,
});

// Exercise the App surface:
app.executeJavaScript('1+1');
app.setFPS(60);
app.setBounds({ type: pwaos.PWAOS_TYPE_WINDOW_BOUNDS_INFO,
                x: 0, y: 0, width: 400, height: 300 });
console.log(app.getDensity(), app.getBounds());

Documentation

For the full API reference, configuration options, event list, and advanced usage, please visit https://www.pwaos.net/api/index.html.

How Runtime Resolution Works

At require time the runtime directory is resolved in this order:

  1. The installed platform subpackage @pwaos.net/runtime-<platform>-<arch>/runtime in node_modules (primary; on win32 the payload is the upstream 32-bit build, so the win32-x64 package serves x64 hosts via WOW64 and the win32-x86 package covers ia32 hosts).
  2. An upward node_modules walk from this module's directory, covering non-standard layouts.

If neither succeeds, a clear error with installation instructions is printed to stderr and the addon keeps its build-time default - you can always bind a directory explicitly with pwaos.setRuntimeExecutablePath(dir).

The resolution does not rely on a postinstall script, so it also works under --ignore-scripts. This is the same pattern used by packages such as esbuild, Biome, and Sentry CLI.

Relationship to @pwaos.net/runtime

Your Node.js code
  └─ require('@pwaos.net/runtime-client-api')   ← returns the native addon
       ├─ native addon: .node module (the export surface itself)
       ├─ setup at require time:
       │    dynamic-library search path + pwaos_setRuntimeExecutablePath
       └─ resolved and loaded from
            └─ @pwaos.net/runtime               ← runtime distributor
                 └─ @pwaos.net/runtime-<platform>-<arch>
                      ├─ runtime/pwaos_server   ← the actual executable
                      └─ lib/<os>/libpwaos_runtime_api.so ← linked at build

You should not require('@pwaos.net/runtime') directly. It is an internal dependency of @pwaos.net/runtime-client-api that distributes Runtime binaries by platform.

Versioning

@pwaos.net/runtime-client-api declares its prebuilt fallback packages (@pwaos.net/runtime-client-api-<platform>-<arch>) as optionalDependencies with a caret range (^0.2.1), so an install always resolves the latest published prebuilt for the platform — the same rule used between @pwaos.net/runtime and @pwaos.net/runtime-<platform>-<arch>.

A prebuilt package's version is always greater than the @pwaos.net/runtime-client-api version it was seeded from: the addon is captured from a consumer-style build after the client is published, then released as a new prebuilt version.

License

MIT

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 @pwaos.net/runtime-client-api

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Frame 2085668439 (1)
Group 1261154229