---
canonical: "https://firewall.lpm.dev/npm/0xtrails/v/0.21.0"
markdown: "https://firewall.lpm.dev/npm/0xtrails/v/0.21.0.md"
package: "0xtrails"
report_status: "published"
title: "0xtrails@0.21.0 npm security report"
verdict: "suspicious"
version: "0.21.0"
---

# 0xtrails@0.21.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 12 findings warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Telemetry warning (can be blocked)
- **Public report status:** Published
- **Threat category:** Telemetry
- **Selected version:** 0.21.0
- **Selected version is latest:** Yes
- **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 SDK enables runtime analytics by default and sends identifying site context and wallet activity to its analytics endpoint. These events relate to the SDK's wallet and payment features, but the reviewed sources show no disclosure or user-facing opt-in for this collection.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 93.0%
- **Started:** 2026-11-16T21:39:15.269Z
- **Finished:** 2026-11-16T21:40:31.684Z
- **Download time:** 519 ms
- **Static scan time:** 2908 ms
- **AI review time:** 72986 ms
- **Total time:** 76415 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:** Undisclosed runtime analytics sends identifying site context and wallet activity to the package's analytics service.

- **Trigger:** When the widget is used, including screen changes and wallet connection activity.

- **Impact:** The analytics recipient can associate site and wallet activity with users and their transactions.

- **Evidence paths:** dist/src-DckEqKKt.js

- **Review source:** ai\_review

- **Reviewed:** 2026-11-16T21:40:31.684Z

### AI review details

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

- **Mechanism:** The SDK's default analytics client records page context and wallet event data, including a wallet address, and sends events to databeat.sequence.app.

- **Rationale:** The SDK enables runtime analytics by default and sends identifying site context and wallet activity to its analytics endpoint. These events relate to the SDK's wallet and payment features, but the reviewed sources show no disclosure or user-facing opt-in for this collection.

- **Files touched:** dist/src-DckEqKKt.js

- **Network endpoints:** https://databeat.sequence.app

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 93.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** The default analytics client sends events to `https://databeat.sequence.app`., Analytics events include the page URL, referrer, hostname, and pathname., When a wallet connects in the widget, the analytics event includes its address and chain ID.

- **Evidence against:** This is a wallet and payment SDK, and the events are tied to its widget, wallet, and payment features., The reviewed paths show no install hook or collection of private wallet keys.

## Affected versions and remediation

This report applies to 0xtrails@0.21.0.

- Review the evidence and your use of 0xtrails@0.21.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. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

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

Package source references network APIs.

### 3. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 4. Critical: Hardcoded Runtime Data Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/iife/trails.min.js
- **Public source:** [View source](<https://unpkg.com/0xtrails@0.21.0/dist/iife/trails.min.js>)

Source sends credentials or rich application records to a package-controlled external receiver enabled by default.

Public source snippet (untrusted):

```javascript
Credential-bearing message sent to a fixed external iframe in dist/iife/trails.min.js:
function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(...
var t=m();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+e...
var t=g(),n=m(),r=v();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=...
`+e.stack}}var ge=Object.prototype.hasOwnProperty,_e=t.unstable_scheduleCallback,ve=t.unstable_cancelCallback,ye=t.unstable_shouldYield,be=t.unstable_requestPain
```

### 5. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 7. Medium: Oversized Source File
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** dist/iife/trails.min.js
- **Public source:** [View source](<https://unpkg.com/0xtrails@0.21.0/dist/iife/trails.min.js>)

Package contains source files above the normal full-analysis size ceiling.

Public source snippet (untrusted):

```javascript
path = dist/iife/trails.min.js
kind = oversized_source_file
sizeBytes = 4497427
magicHex = [redacted]
```

### 8. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

### 9. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 93.0%
- **Path:** dist/src-DckEqKKt.js
- **Public source:** [View source](<https://unpkg.com/0xtrails@0.21.0/dist/src-DckEqKKt.js>)

The default analytics client sends events to `https://databeat.sequence.app`.

Public source snippet (untrusted):

```javascript
new C_(`https://databeat.sequence.app`,{jwt:`[redacted].[redacted].KZIjEziul_nZ4kjEXudvfqeWmVekc5ftXKx_EqDrmZU`},{
```

### 10. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 93.0%
- **Path:** dist/src-DckEqKKt.js
- **Public source:** [View source](<https://unpkg.com/0xtrails@0.21.0/dist/src-DckEqKKt.js>)

Analytics events include the page URL, referrer, hostname, and pathname.

Public source snippet (untrusted):

```javascript
getCommonProps(){return{...this.getNavigatorProps(),...this.getDocumentProps(),...this.getWindowProps(),sequenceProjectAccessKey:this.sequenceProjectAccessKey||``,sdkVersion:d_()}}
```

### 11. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 93.0%
- **Path:** dist/src-DckEqKKt.js
- **Public source:** [View source](<https://unpkg.com/0xtrails@0.21.0/dist/src-DckEqKKt.js>)

Analytics events include the page URL, referrer, hostname, and pathname.

Public source snippet (untrusted):

```javascript
getWindowProps(){return typeof window>`u`?{url:``,origin:``,hostname:``,pathname:``,screenWidth:``,screenHeight:``,screenPixelRatio:``,screenResolution:``,screenOrientation:``}:{ur
```

### 12. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 93.0%
- **Path:** dist/src-DckEqKKt.js
- **Public source:** [View source](<https://unpkg.com/0xtrails@0.21.0/dist/src-DckEqKKt.js>)

When a wallet connects in the widget, the analytics event includes its address and chain ID.

Public source snippet (untrusted):

```javascript
trackWalletConnected(e){this.track({event:b_.WALLET_CONNECTED,props:{...this.getCommonProps(),...e,address:e.address,chainId:e.chainId?.toString()}})}trackWalletDisconnected(e){thi
```

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

- **Dependencies:** 14
- **Optional dependencies:** 0
- **Peer dependencies:** 4
- **Development dependencies:** 22
- **Published dependency-graph edges:** 18

### Published dependency entries
- @0xsequence/indexer ^3.0.11 (Dependency)
- @0xsequence/metadata ^3.0.11 (Dependency)
- @0xsequence/wallet-primitives 3.0.11 (Dependency)
- @0xtrails/api 0.21.0 (Dependency)
- @0xtrails/wallet 0.21.0 (Dependency)
- @databeat/tracker 0.9.3 (Dependency)
- @meshconnect/web-link-sdk 3.11.0 (Dependency)
- @radix-ui/react-tooltip 1.2.9 (Dependency)
- @tanstack/query-persist-client-core ^5.101.0 (Dependency)
- @tanstack/react-virtual ^3.14.2 (Dependency)
- bs58 6.0.0 (Dependency)
- lucide-react 1.23.0 (Dependency)
- ox 0.14.29 (Dependency)
- qrcode 1.5.4 (Dependency)
- @tanstack/react-query ^5.101.0 (PeerDependency)
- react ^18.0.0 || ^19.0.0 (PeerDependency)
- react-dom ^18.0.0 || ^19.0.0 (PeerDependency)
- viem ^2.56.7 (PeerDependency)

## Package metadata
- **Package:** 0xtrails
- **Ecosystem:** npm
- **Version:** 0.21.0
- **License:** Apache-2.0
- **Version published:** 2026-11-16T21:37:03.889Z
- **Package first seen:** 2026-08-19T01:00:01.842Z
- **Package last seen:** 2026-11-16T21:40:31.684Z
- **Known versions:** 8
- **Latest version:** 0.21.0
- **Appeal under review:** No
- **Description:** SDK for Trails
- **Maintainers:** miguelmota, pkieltyka, taylanpince
- **Keywords:** trails, sdk, wallet
- **Artifact files:** 32
- **Artifact unpacked size:** 6,401,121 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/0xtrails/v/0.21.0>)
