---
canonical: "https://firewall.lpm.dev/npm/@zerohash-sdk/onboarding-js/v/1.13.0"
markdown: "https://firewall.lpm.dev/npm/@zerohash-sdk/onboarding-js/v/1.13.0.md"
package: "@zerohash-sdk/onboarding-js"
report_status: "published"
title: "@zerohash-sdk/onboarding-js@1.13.0 npm security report"
verdict: "suspicious"
version: "1.13.0"
---

# @zerohash-sdk/onboarding-js@1.13.0 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Flagged — allowed with a warning** — Allowed by default policy, but 7 finding(s) warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Remote Code Execution
- **Selected version:** 1.13.0
- **Selected version is latest:** No
- **Analysis source:** AI Security Review (lpm-firewall-ai)

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: suspicious; recommendation: downgrade to warn. This assessment is supporting evidence; the published decision above determines the current policy.

The package is not malicious by direct static evidence, but it delegates executable code to a remote CDN at runtime and reports diagnostics. This is a genuine unresolved remote-code execution surface rather than an install-time attack.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 84.0%
- **Started:** 2026-09-07T22:09:09.715Z
- **Finished:** 2026-09-07T22:10:45.068Z
- **Download time:** 508 ms
- **Static scan time:** 44 ms
- **AI review time:** 94800 ms
- **Total time:** 95353 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** Calling render() loads and executes a remotely hosted browser module. Failed loads send limited diagnostic metadata to Zerohash collectors.

- **Trigger:** A consumer constructs Onboarding and calls render() in a browser.

- **Impact:** The CDN-delivered module runs with the embedding page's script privileges; its contents are outside this package snapshot.

- **Evidence paths:** dist/index.js, dist/index.d.ts

- **Review source:** ai\_review

- **Reviewed:** 2026-09-07T22:10:45.068Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** Remote module-script injection with failure telemetry.

- **Rationale:** The package is not malicious by direct static evidence, but it delegates executable code to a remote CDN at runtime and reports diagnostics. This is a genuine unresolved remote-code execution surface rather than an install-time attack.

- **Files touched:** dist/index.js, dist/index.d.ts

- **Network endpoints:** https://sdk-cdn.zerohash.com, https://sdk-cdn.cert.zerohash.com, https://sdk-cdn.dev.0hash.com, https://sdk-cdn.gating.0hash.com, https://grafana-faro-collector.zerohash.com/collect

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 84.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** The package has no install lifecycle hooks, but its browser SDK dynamically loads a remote module when the consumer calls render()., The remote module URL is selected from Zerohash CDN hosts and inserted as a module script into the document head., On script-load failure, it posts telemetry containing browser user agent, page origin, decoded JWT claims, and failure details to a collector endpoint.

- **Evidence against:** The manifest exposes only the built SDK and contains no lifecycle scripts or dependency declarations., The remote loader is reached through the explicit render API rather than package installation or import., No filesystem access, shell execution, eval-like execution, persistence, or destructive behavior was found in the inspected source.

## Affected versions and remediation

This report applies to @zerohash-sdk/onboarding-js@1.13.0.

- Review the evidence and your use of @zerohash-sdk/onboarding-js@1.13.0 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.

## Public findings

### 1. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 2. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 3. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** dist/index.d.ts
- **Public source:** [View source](<https://unpkg.com/@zerohash-sdk/onboarding-js@1.13.0/dist/index.d.ts>)

A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.

Public source snippet (untrusted):

```typescript
stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 2
```

### 4. Medium: Suspicious Lifecycle Evidence
- **Category:** Manifest
- **Confidence:** 84.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/@zerohash-sdk/onboarding-js@1.13.0/package.json>)

The package has no install lifecycle hooks, but its browser SDK dynamically loads a remote module when the consumer calls render().

Public source snippet (untrusted):

```json
{
  "name": "@zerohash-sdk/onboarding-js",
  "version": "1.13.0",
  "private": false,
  "type": "module",
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "license": "MIT",
  "exports": {
```

### 5. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 84.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@zerohash-sdk/onboarding-js@1.13.0/dist/index.js>)

The remote module URL is selected from Zerohash CDN hosts and inserted as a module script into the document head.

Public source snippet (untrusted):

```javascript
}, R = (l, u) => {
    f(), b = performance.now();
    const d = document.createElement("script");
    d.id = h, d.src = l, d.type = "module", d.async = !0, d.onload = () => {
      setTimeout(() => {
        m || (customElements.get(t) ? (m = !0, f(), v?.()) : E("not-defined", l, u));
      }, 0);
    }, d.onerror = () => E("network", l, u), g = setTimeout(() => E("timeout", l, u), L), document.getElementById(h)?.remove(), document.head.appendChild(d);
  }, C = N(o, s, c);
```

### 6. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 84.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@zerohash-sdk/onboarding-js@1.13.0/dist/index.js>)

On script-load failure, it posts telemetry containing browser user agent, page origin, decoded JWT claims, and failure details to a collector endpoint.

Public source snippet (untrusted):

```javascript
}, $ = (e, t) => {
  const r = F(), n = globalThis.__ZH_WEB_SDK_VERSION__, o = {};
  e.claims.participantCode && (o.participant_code = e.claims.participantCode), e.claims.platformName && (o.platform_name = e.claims.platformName), e.claims.platformCode && (o.platform_code = e.claims.platformCode), e.claims.region && (o.region = e.claims.region), n && (o.zh_web_sdk_version = n);
  const a = {
    meta: {
      app: { name: e.appName, version: t ?? "unknown", environment: e.env },
      session: { id: r, attributes: o },
      browser: typeof navigator < "u" ? { userAgent: navigator.userAgent } :
```

### 7. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 84.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@zerohash-sdk/onboarding-js@1.13.0/dist/index.js>)

On script-load failure, it posts telemetry containing browser user agent, page origin, decoded JWT claims, and failure details to a collector endpoint.

Public source snippet (untrusted):

```javascript
}, B = (e, t, r) => {
  if (!e || typeof fetch > "u")
    return;
  const { sessionId: n, payload: o } = $(t, r);
  try {
    fetch(e, {
      method: "POST",
      headers: { "Content-Type": "application/json", "x-faro-session-id": n },
      body: JSON.stringify(o),
      keepalive: !0
    }).catch(() => {
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 0
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 0

## Package metadata
- **Package:** @zerohash-sdk/onboarding-js
- **Ecosystem:** npm
- **Version:** 1.13.0
- **License:** MIT
- **Version published:** 2026-09-07T21:30:19.304Z
- **Package first seen:** 2026-07-14T01:03:38.933Z
- **Package last seen:** 2026-10-30T15:26:49.201Z
- **Known versions:** 22
- **Latest version:** 1.15.14
- **Appeal under review:** No
- **Description:** A JavaScript SDK that enables frontend applications to seamlessly integrate with the Connect Onboarding product.
- **Maintainers:** zh-sdk-adm
- **Artifact files:** 5
- **Artifact unpacked size:** 43,121 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@zerohash-sdk/onboarding-js/v/1.13.0>)
