Scan your whole stack
From OX Research Newsroom
Are you using @pwaos.net/runtime-client-api?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.2.10
@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.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
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.
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.
missing any Windows SDK even though the SDK is installedSymptom
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.
| 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.
require('@pwaos.net/runtime-client-api') returns the native addon object
itself and, at require time:
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).install script (node-gyp rebuild).pwaos_setRuntimeExecutablePath - bound to the installed
platform package's runtime directory (also exported as
process.env.PWAOS_RUNTIME_PATH).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());
For the full API reference, configuration options, event list, and advanced usage, please visit https://www.pwaos.net/api/index.html.
At require time the runtime directory is resolved in this order:
@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).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.
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.
@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.
MIT
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.