---
canonical: "https://firewall.lpm.dev/npm/@zenpatient-org/healthspan-marketing-ui/v/1.0.22"
markdown: "https://firewall.lpm.dev/npm/@zenpatient-org/healthspan-marketing-ui/v/1.0.22.md"
package: "@zenpatient-org/healthspan-marketing-ui"
report_status: "published"
title: "@zenpatient-org/healthspan-marketing-ui@1.0.22 npm security report"
verdict: "suspicious"
version: "1.0.22"
---

# @zenpatient-org/healthspan-marketing-ui@1.0.22 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:** 1.0.22
- **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 sends the form email to its newsletter webhook after an explicit submission, which fits its purpose. It also includes that identifying email in a default analytics event, creating excess collection and a privacy risk depending on the host application's event-bus handler.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 91.0%
- **Started:** 2026-11-07T17:31:20.709Z
- **Finished:** 2026-11-07T17:32:58.001Z
- **Download time:** 3094 ms
- **Static scan time:** 2709 ms
- **AI review time:** 91488 ms
- **Total time:** 97292 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:** Newsletter submission also sends the entered email to an analytics event, creating a privacy risk; no attack was identified in the install scripts.

- **Trigger:** A user submits a newsletter form; the modal provides a tracking event by default.

- **Impact:** A host application's analytics handler may forward the email to its analytics destination in addition to the subscription service.

- **Evidence paths:** dist/modules/HSModal/components/Newsletter/Newsletter.es.js, dist/modules/HSModal/components/IterableModal/IterableModal.es.js

- **Review source:** ai\_review

- **Reviewed:** 2026-11-07T17:32:58.001Z

### AI review details

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

- **Mechanism:** After the subscription request, the component emits an analytics event containing the email and page title to window.eventBus.

- **Rationale:** The package sends the form email to its newsletter webhook after an explicit submission, which fits its purpose. It also includes that identifying email in a default analytics event, creating excess collection and a privacy risk depending on the host application's event-bus handler.

- **Files touched:** dist/modules/HSModal/components/Newsletter/Newsletter.es.js, dist/modules/HSModal/components/IterableModal/IterableModal.es.js, dist/modules/HSModal/components/MailchimpModal/MailchimpModal.es.js

- **Network endpoints:** https://hook.us2.make.com/t87e9ij5ebvcoqeushd45ihubsghratq, https://hook.us2.make.com/1pdxfhs8945s62ritw768u66p2weqoq6

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 91.0%

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

- **Intent class:** Unknown

- **False-positive risk:** Medium

- **Evidence for warning:** After a newsletter submission, the component emits an analytics event containing the entered email and page title to window.eventBus; IterableModal supplies a tracking event by default., Newsletter email and tags are posted to the modal’s configured webhook from the submit handler, which is wired to a button click., The install hook only checks for pnpm; prepare runs Husky and prepublishOnly builds the package.

- **Evidence against:** The email is entered for a newsletter subscription and is posted to the associated subscription webhook after the user submits the form., The analytics event is emitted through the host application's window.eventBus; the package source does not show a direct network request for that event.

## Affected versions and remediation

This report applies to @zenpatient-org/healthspan-marketing-ui@1.0.22.

- Review the evidence and your use of @zenpatient-org/healthspan-marketing-ui@1.0.22 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. High: Install Time Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/@zenpatient-org/healthspan-marketing-ui@1.0.22/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.preinstall = npx only-allow pnpm
```

### 2. Low: Non Install Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 80.0%

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

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

Package declares npm scripts.

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

Package source references network APIs.

### 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: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 65.0%

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

### 8. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 91.0%
- **Path:** dist/modules/HSModal/components/Newsletter/Newsletter.es.js
- **Public source:** [View source](<https://unpkg.com/@zenpatient-org/healthspan-marketing-ui@1.0.22/dist/modules/HSModal/components/Newsletter/Newsletter.es.js>)

After a newsletter submission, the component emits an analytics event containing the entered email and page title to window.eventBus; IterableModal supplies a tracking event by default.

Public source snippet (untrusted):

```javascript
if (d == null || d(), l) {
      const o = {
        event: l,
        location: E || "",
        type: H.interaction,
        payload: {
          email: r,
          component: "HSModal",
          element: "Newsletter",
          pageTitle: document.title
        }
      };
      (i = window.eventBus) == null || i.emit("analytics", o);
    }
  }, A =
```

### 9. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 91.0%
- **Path:** dist/modules/HSModal/components/IterableModal/IterableModal.es.js
- **Public source:** [View source](<https://unpkg.com/@zenpatient-org/healthspan-marketing-ui@1.0.22/dist/modules/HSModal/components/IterableModal/IterableModal.es.js>)

After a newsletter submission, the component emits an analytics event containing the entered email and page title to window.eventBus; IterableModal supplies a tracking event by default.

Public source snippet (untrusted):

```javascript
trackingEvent: u || v.iterableSubmitClicked,
              trackingLocation: k,
```

### 10. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 91.0%
- **Path:** dist/modules/HSModal/components/Newsletter/Newsletter.es.js
- **Public source:** [View source](<https://unpkg.com/@zenpatient-org/healthspan-marketing-ui@1.0.22/dist/modules/HSModal/components/Newsletter/Newsletter.es.js>)

Newsletter email and tags are posted to the modal’s configured webhook from the submit handler, which is wired to a button click.

Public source snippet (untrusted):

```javascript
}, z = async () => {
    var i;
    if (!r) {
      e(!0), t("Please enter your email address");
      return;
    }
    if (!O(r)) {
      e(!0), t("Please enter a valid email address");
      return;
    }
    e(!1), t(""), a("sending");
    try {
      const o = m == null ? void 0 : m.split(",").map((I) => ({
        name: I,
        status: "active"
      }));
      (await fetch(P, {
        method: "POST",
        headers: {
          "Content-Type": "application/json"
        },
        body: JSON.stringify({
          email: r,
          tags: o
```

### 11. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 91.0%
- **Path:** dist/modules/HSModal/components/Newsletter/Newsletter.es.js
- **Public source:** [View source](<https://unpkg.com/@zenpatient-org/healthspan-marketing-ui@1.0.22/dist/modules/HSModal/components/Newsletter/Newsletter.es.js>)

Newsletter email and tags are posted to the modal’s configured webhook from the submit handler, which is wired to a button click.

Public source snippet (untrusted):

```javascript
/* @__PURE__ */ h("div", { className: v.buttonContainer, children: [
      /* @__PURE__ */ p(g, { size: "md", variant: B, onClick: z, children: j === "sendi
```

### 12. Medium: Suspicious Lifecycle Evidence
- **Category:** Manifest
- **Confidence:** 91.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/@zenpatient-org/healthspan-marketing-ui@1.0.22/package.json>)

The install hook only checks for pnpm; prepare runs Husky and prepublishOnly builds the package.

Public source snippet (untrusted):

```json
"scripts": {
        "preinstall": "npx only-allow pnpm",
        "dev": "storybook dev -p 6006",
        "build": "vite build",
        "preview": "vite preview",
        "storybook": "storybook dev -p 6006",
        "build-storybook": "storybook build",
        "type-check": "tsc --noEmit",
        "figma:parse": "figma connect parse",
        "figma:publish": "figma connect publish",
        "figma:unpublish": "figma connect unpublish",
        "lint": "eslint src",
        "lint:fix": "eslint src --fix",
        "format": "prettier --write .",
        "check-format"
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** preinstall, prepare, prepublishOnly
- **Dependencies:** 3
- **Optional dependencies:** 0
- **Peer dependencies:** 6
- **Development dependencies:** 29
- **Published dependency-graph edges:** 9

### Published dependency entries
- @types/node 22.19.21 (Dependency)
- @wistia/wistia-player-react 0.7.8 (Dependency)
- react-mailchimp-subscribe 2.1.3 (Dependency)
- @gsap/react ^2.1.2 (PeerDependency)
- gsap ^3.13.0 (PeerDependency)
- react ^19.2.6 (PeerDependency)
- react-dom ^19.2.6 (PeerDependency)
- react-tiny-popover ^8.1.6 (PeerDependency)
- swiper ^12.1.3 (PeerDependency)

## Package metadata
- **Package:** @zenpatient-org/healthspan-marketing-ui
- **Ecosystem:** npm
- **Version:** 1.0.22
- **License:** MIT
- **Version published:** 2026-10-21T21:28:29.508Z
- **Package first seen:** 2026-06-30T22:56:39.799Z
- **Package last seen:** 2026-11-23T19:20:25.025Z
- **Known versions:** 145
- **Latest version:** 1.1.35
- **Appeal under review:** No
- **Description:** Design system
- **Maintainers:** zenpatient, tonythebuilder, ben-healthspan, fazilazhar, healthspan, rawmind
- **Runtime engines:** node: \>=24
- **Artifact files:** 3352
- **Artifact unpacked size:** 18,338,721 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@zenpatient-org/healthspan-marketing-ui/v/1.0.22>)
