---
canonical: "https://firewall.lpm.dev/npm/@xapp/form-widget/v/1.107.5"
markdown: "https://firewall.lpm.dev/npm/@xapp/form-widget/v/1.107.5.md"
package: "@xapp/form-widget"
report_status: "published"
title: "@xapp/form-widget@1.107.5 npm security report"
verdict: "suspicious"
version: "1.107.5"
---

# @xapp/form-widget@1.107.5 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 finding(s) 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:** 1.107.5
- **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 widget silently sends partial form answers on page close, before the visitor explicitly submits the form. This is suspicious runtime data collection, although sending completed form data to the widget’s configured service is consistent with the package’s purpose.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 88.0%
- **Started:** 2026-10-31T06:21:52.249Z
- **Finished:** 2026-10-31T06:22:45.339Z
- **Download time:** 1013 ms
- **Static scan time:** 4321 ms
- **AI review time:** 47756 ms
- **Total time:** 53090 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:** The widget automatically reports partial form answers when a visitor closes the page, without an explicit form submission.

- **Trigger:** A visitor closes or navigates away from a page while the widget has active form state.

- **Impact:** Form answers may reach the widget service before the visitor submits the form; this is undisclosed runtime collection of user-provided data.

- **Evidence paths:** dist/index.js

- **Review source:** ai\_review

- **Reviewed:** 2026-10-31T06:22:45.339Z

### AI review details

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

- **Mechanism:** A beforeunload handler combines current form state and sends it in a partial\_data beacon to the configured widget API origin’s /cms/widget/events endpoint.

- **Rationale:** The widget silently sends partial form answers on page close, before the visitor explicitly submits the form. This is suspicious runtime data collection, although sending completed form data to the widget’s configured service is consistent with the package’s purpose.

- **Network endpoints:** configured widget API origin + /cms/widget/events, https://api.xapp.ai

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 88.0%

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

- **Intent class:** Unknown

- **False-positive risk:** Medium

- **Evidence for warning:** On tab close, the widget merges its current form state and submits it as \`partialData\` with the abandonment reason \`close\_tab\`., The partial-data beacon packages that object as a \`partial\_data\` event and sends it to the configured widget API origin at \`/cms/widget/events\`., The package manifest exposes a form-widget entry point; the observed data collection occurs in the widget’s runtime form flow.

- **Evidence against:** The package is described as a form widget, so transmitting form answers to its configured service is related to its purpose., The beacon requires a configured widget key and is suppressed in demo mode., The package’s only lifecycle script is a build command; no install-time data collection was identified.

## Affected versions and remediation

This report applies to @xapp/form-widget@1.107.5.

- Review the evidence and your use of @xapp/form-widget@1.107.5 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: Non Install Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 80.0%

Package declares lifecycle scripts that are not normally run for registry tarball installs.

### 2. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 3. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%

Package source references child process execution.

### 4. Low: Eval
- **Category:** Source
- **Confidence:** 45.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@xapp/form-widget@1.107.5/dist/index.js>)

Package source references a known benign dynamic code generation pattern.

Public source snippet (untrusted):

```javascript
L319: }
L320: `:null,GJ=(0,LJ.styled)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!1!==n.animation&&t[n.animation],n.hasChil...
L321: /*! Copyright (c) 2025, XAPP AI */function z1(e,t){var n=e.slice(0,5);return!!t.find(function(e){if(e===n)return!0;if(e.includes("*")){var t=e.replace(/\*/g,"\\d")+"$";return new R...
```

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

Package source references network APIs.

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

Package source references environment variables.

### 7. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@xapp/form-widget@1.107.5/dist/index.js>)

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

Public source snippet (untrusted):

```javascript
L319: }
L320: `:null,GJ=(0,LJ.styled)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!1!==n.animation&&t[n.animation],n.hasChil...
L321: /*! Copyright (c) 2025, XAPP AI */function z1(e,t){var n=e.slice(0,5);return!!t.find(function(e){if(e===n)return!0;if(e.includes("*")){var t=e.replace(/\*/g,"\\d")+"$";return new R...
```

### 8. Critical: Trojan Source Unicode
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@xapp/form-widget@1.107.5/dist/index.js>)

Source contains bidi control or invisible Unicode characters associated with Trojan Source attacks.

Public source snippet (untrusted):

```javascript
L189: contains invisible/control Unicode U+2066 (left-to-right isolate)
function(e){var t=Ub.default,n=zb.default;Object.defineProperty(e,"__esModule",{value:!0});var r={chainPropTypes:!0,deepmerge:!0,isPlainObject:!0,elementAcceptingRef:!0,elementTypeAcceptingRef:!0,exactProp:!0,formatMuiErrorMessage:!0,getDis
```

### 9. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@xapp/form-widget@1.107.5/dist/index.js>)

A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable chain: manifest.main -> dist/index.js
Reachable file contains a blocking source-risk pattern.
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 12. 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.

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** prepare
- **Dependencies:** 11
- **Optional dependencies:** 0
- **Peer dependencies:** 4
- **Development dependencies:** 54
- **Published dependency-graph edges:** 15

### Published dependency entries
- @emotion/react 11.14.0 (Dependency)
- @emotion/styled 11.14.1 (Dependency)
- @mui/icons-material 7.3.11 (Dependency)
- @mui/material 7.3.11 (Dependency)
- @mui/x-date-pickers 7.29.4 (Dependency)
- @xapp/chat-widget-core 1.97.0 (Dependency)
- @xapp/stentor-form-widget-channel 1.100.0 (Dependency)
- autosuggest-highlight 3.3.4 (Dependency)
- dayjs 1.11.23 (Dependency)
- stentor-guards 1.74.5 (Dependency)
- tslib 2.8.1 (Dependency)
- react ^18.0.0 || ^19.0.0 (PeerDependency)
- react-dom ^18.0.0 || ^19.0.0 (PeerDependency)
- react-redux ^9.0.0 (PeerDependency)
- stentor-models ^1.0.0 (PeerDependency)

## Package metadata
- **Package:** @xapp/form-widget
- **Ecosystem:** npm
- **Version:** 1.107.5
- **License:** Apache-2.0
- **Version published:** 2026-09-04T15:06:59.766Z
- **Package first seen:** 2026-07-16T20:31:26.311Z
- **Package last seen:** 2026-11-02T15:48:10.275Z
- **Known versions:** 33
- **Latest version:** 1.119.0
- **Appeal under review:** No
- **Description:** Form Widget
- **Author:** XAPP AI
- **Maintainers:** michaelmyers, xappbot
- **Keywords:** XAPP, Form, Widget
- **Runtime engines:** npm: \>=5, node: \>=8
- **Artifact files:** 237
- **Artifact unpacked size:** 7,027,395 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@xapp/form-widget/v/1.107.5>)
- [Repository](<https://github.com/XappMedia/chat-widget>)
- [Homepage](<https://github.com/XappMedia/chat-widget#readme>)
- [Issues](<https://github.com/XappMedia/chat-widget/issues>)
