---
canonical: "https://firewall.lpm.dev/npm/dialog-survey"
markdown: "https://firewall.lpm.dev/npm/dialog-survey/report.md"
package: "dialog-survey"
report_status: "published"
title: "dialog-survey@1.19.3 npm security report"
verdict: "malicious"
version: "1.19.3"
---

# dialog-survey@1.19.3 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
**Blocked & quarantined** — The Anthropic credential may be disclosed to a different service without the user configuring that destination.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Matched malicious
- **Public report status:** Published
- **Threat category:** Credential exfiltration
- **Selected version:** 1.19.3
- **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: malicious; recommendation: publish block. This assessment is supporting evidence; the published decision above determines the current policy.

The runtime client accepts an Anthropic credential but defaults to a Volcengine endpoint and transmits the selected key as a Bearer token. This is automatic credential disclosure to a service the credential does not belong to.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 96.0%
- **Started:** 2026-11-11T09:27:45.120Z
- **Finished:** 2026-11-11T09:28:43.334Z
- **Download time:** 260 ms
- **Static scan time:** 1155 ms
- **AI review time:** 56798 ms
- **Total time:** 58214 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:** An ambient Anthropic credential can be sent to the default Volcengine endpoint.

- **Trigger:** Runtime follow-up generation or another LLM feature that constructs the client from environment variables.

- **Impact:** The Anthropic credential may be disclosed to a different service without the user configuring that destination.

- **Evidence paths:** dist/src/integrations/llm/openai-compatible.js, dist/src/services/followup.service.js

- **Review source:** ai\_review

- **Reviewed:** 2026-11-11T09:28:43.334Z

### AI review details

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

- **Mechanism:** The client selects ANTHROPIC\_AUTH\_TOKEN as an API key when earlier key variables are unset, defaults the endpoint to Volcengine Ark when no base URL is configured, and sends the key in the Authorization header.

- **Attack narrative:** When an LLM feature runs, the client reads ANTHROPIC\_AUTH\_TOKEN as a fallback key. If no base URL is configured, it sends requests to Volcengine Ark and places that key in the Bearer Authorization header, disclosing an Anthropic credential to another service.

- **Rationale:** The runtime client accepts an Anthropic credential but defaults to a Volcengine endpoint and transmits the selected key as a Bearer token. This is automatic credential disclosure to a service the credential does not belong to.

- **Files touched:** dist/src/integrations/llm/openai-compatible.js, dist/src/services/followup.service.js

- **Network endpoints:** https://ark.cn-beijing.volces.com/api/coding/v1/chat/completions

### Review decision

- **Verdict:** Malicious

- **Confidence:** 96.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for block:** The LLM client accepts ANTHROPIC\_AUTH\_TOKEN as a fallback API key., Without a configured base URL, the client selects Volcengine’s Ark endpoint., The client sends the selected key as a Bearer token in LLM requests., Runtime follow-up generation constructs the client from environment variables.

- **Evidence against:** LLM requests send prompts to a provider as part of the package’s survey feature.

## Affected versions and remediation

This report applies to dialog-survey@1.19.3.

- Avoid installing dialog-survey@1.19.3. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.

## Public findings

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

Package declares npm scripts.

### 2. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** scripts/mutation-test.mjs
- **Public source:** [View source](<https://unpkg.com/dialog-survey@1.19.3/scripts/mutation-test.mjs>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L22: 
L23: import { spawnSync } from 'node:child_process';
L24: import { readFileSync } from 'node:fs';
```

### 3. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** scripts/scan-git-history-secrets.mjs
- **Public source:** [View source](<https://unpkg.com/dialog-survey@1.19.3/scripts/scan-git-history-secrets.mjs>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L86: * Two shapes reach here. Without a shell, a missing binary sets `error`. With
L87: * `shell: true` (Windows) the shell itself reports the miss on stdout with
L88: * status 127 and no `error`, so both are checked — otherwise a run without
```

### 4. Low: Eval
- **Category:** Source
- **Confidence:** 45.0%
- **Path:** public/js/htmx.min.js
- **Public source:** [View source](<https://unpkg.com/dialog-survey@1.19.3/public/js/htmx.min.js>)

Package source references a known benign dynamic code generation pattern.

Public source snippet (untrusted):

```javascript
L382: return vn(ne().body, function () {
L383: return eval(e);
L384: });
```

### 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: Entrypoint Build Divergence
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** scripts/cli.mjs
- **Public source:** [View source](<https://unpkg.com/dialog-survey@1.19.3/scripts/cli.mjs>)

Manifest entrypoint contains risky behavior absent from dist/build output.

Public source snippet (untrusted):

```javascript
Manifest entrypoint (manifest.bin) carries capability families absent from dist/build output: environment+network, sensitive-file+network, execution+network
L10: 
L11: import { execSync, spawn } from 'node:child_process';
L12: import crypto from 'node:crypto';
...
L24: import { cp, mkdir, rm, writeFile } from 'node:fs/promises';
L25: import http from 'node:http';
L26: import net from 'node:net';
...
L34: 
L35: const INSTALL_DIR = join(homedir(), '.dialog-survey');
L36: const PM2_APP_NAME = 'dialog-survey';
...
L43: * Files/directories copied from the package root into the install directory
L44: * (Step 5). Must stay in sync with the `files` field in package.json:
L45: * - `scripts/` holds the `bin` target (`scripts/cli.mjs`), so lifecycle
```

### 8. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 9. High: Runtime Package Install
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** scripts/cli.mjs
- **Public source:** [View source](<https://unpkg.com/dialog-survey@1.19.3/scripts/cli.mjs>)

Package source invokes a package manager install command at runtime.

Public source snippet (untrusted):

```javascript
L458: }
L459: exec('npm install --omit=dev --ignore-scripts --legacy-peer-deps', { cwd: installDir });
L460: return 'npm install --legacy-peer-deps';
```

### 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: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** scripts/sync-version.sh
- **Public source:** [View source](<https://unpkg.com/dialog-survey@1.19.3/scripts/sync-version.sh>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```shell
path = scripts/sync-version.sh
kind = build_helper
sizeBytes = 4866
magicHex = [redacted]
```

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

### 14. Low: No License
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest does not declare a clear license.

### 15. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** scripts/sync-version.cjs
- **Public source:** [View source](<https://unpkg.com/dialog-survey@1.19.3/scripts/sync-version.cjs>)

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

Public source snippet (untrusted):

```javascript
stage = ast_semantic_analysis; reason = ast_trace_path_limit_exceeded; limitedFiles = 1
```

### 16. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** scripts/cli.mjs
- **Public source:** [View source](<https://unpkg.com/dialog-survey@1.19.3/scripts/cli.mjs>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = dialog-survey@1.19.2
matchedPath = scripts/cli.mjs
matchedIdentity = npm:ZGlhbG9nLXN1cnZleQ:1.19.2
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 17. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** scripts/mutation-test.mjs
- **Public source:** [View source](<https://unpkg.com/dialog-survey@1.19.3/scripts/mutation-test.mjs>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = dialog-survey@1.19.2
matchedPath = scripts/mutation-test.mjs
matchedIdentity = npm:ZGlhbG9nLXN1cnZleQ:1.19.2
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 18. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** scripts/scan-git-history-secrets.mjs
- **Public source:** [View source](<https://unpkg.com/dialog-survey@1.19.3/scripts/scan-git-history-secrets.mjs>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = dialog-survey@1.19.2
matchedPath = scripts/scan-git-history-secrets.mjs
matchedIdentity = npm:ZGlhbG9nLXN1cnZleQ:1.19.2
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 19. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** scripts/ops/ds-smoke.sh
- **Public source:** [View source](<https://unpkg.com/dialog-survey@1.19.3/scripts/ops/ds-smoke.sh>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```shell
matchType = normalized_sha256
matchedPackage = dialog-survey@1.19.2
matchedPath = scripts/ops/ds-smoke.sh
matchedIdentity = npm:ZGlhbG9nLXN1cnZleQ:1.19.2
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 20. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** scripts/ops/ds-health-watch.sh
- **Public source:** [View source](<https://unpkg.com/dialog-survey@1.19.3/scripts/ops/ds-health-watch.sh>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```shell
matchType = normalized_sha256
matchedPackage = dialog-survey@1.19.2
matchedPath = scripts/ops/ds-health-watch.sh
matchedIdentity = npm:ZGlhbG9nLXN1cnZleQ:1.19.2
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 21. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** scripts/ops/ds-win-watch.ps1
- **Public source:** [View source](<https://unpkg.com/dialog-survey@1.19.3/scripts/ops/ds-win-watch.ps1>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```text
matchType = normalized_sha256
matchedPackage = dialog-survey@1.19.2
matchedPath = scripts/ops/ds-win-watch.ps1
matchedIdentity = npm:ZGlhbG9nLXN1cnZleQ:1.19.2
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 22. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** scripts/run-xp-gate-native.sh
- **Public source:** [View source](<https://unpkg.com/dialog-survey@1.19.3/scripts/run-xp-gate-native.sh>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```shell
matchType = normalized_sha256
matchedPackage = dialog-survey@1.19.2
matchedPath = scripts/run-xp-gate-native.sh
matchedIdentity = npm:ZGlhbG9nLXN1cnZleQ:1.19.2
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 23. High: Known Malware Source Fingerprint Signature
- **Category:** Supply Chain
- **Confidence:** 94.0%
- **Path:** scripts/cli.mjs
- **Public source:** [View source](<https://unpkg.com/dialog-survey@1.19.3/scripts/cli.mjs>)

Source fingerprint signature matches a known malicious package signature; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = malicious_source_fingerprint_signature
signature = 1c4606c954a7e5db
signatureType = suspicious_hashes
sourceLabel = final_verdict:malicious
matchedPackage = dialog-survey@1.19.2
matchedPath = scripts/cli.mjs
matchedIdentity = npm:ZGlhbG9nLXN1cnZleQ:1.19.2
similarity = 1.000
shingleOverlap = 65
summary = package final verdict is malicious
```

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

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

### Published dependency entries
- @fastify/cors ^11.2.0 (Dependency)
- @fastify/csrf-protection ^8.0.0 (Dependency)
- @fastify/formbody ^8.0.2 (Dependency)
- @fastify/multipart ^10.0.0 (Dependency)
- @fastify/rate-limit ^11.0.0 (Dependency)
- @fastify/secure-session ^8.0.0 (Dependency)
- @fastify/static ^9.1.3 (Dependency)
- @fastify/view ^11.1.1 (Dependency)
- @fastify/websocket ^11.2.0 (Dependency)
- @prisma/adapter-pg 7.10.0 (Dependency)
- @prisma/client 7.10.0 (Dependency)
- bcryptjs ^2.4.3 (Dependency)
- csv-parse ^7.0.0 (Dependency)
- dotenv ^17.3.1 (Dependency)
- fastify ^5.8.4 (Dependency)
- fastify-type-provider-zod ^6.1.0 (Dependency)
- marked ^14.1.4 (Dependency)
- node-cron ^4.2.1 (Dependency)
- nunjucks ^3.2.4 (Dependency)
- p-limit ^5.0.0 (Dependency)
- pg ^8.20.0 (Dependency)
- pino ^10.3.1 (Dependency)
- pino-pretty ^13.1.3 (Dependency)
- playwright ^1.61.0 (Dependency)
- ws ^8.20.0 (Dependency)
- xlsx ^0.18.5 (Dependency)
- zod ^4.3.6 (Dependency)

## Package metadata
- **Package:** dialog-survey
- **Ecosystem:** npm
- **Version:** 1.19.3
- **Version published:** 2026-11-11T09:23:54.817Z
- **Package first seen:** 2026-10-09T06:46:03.737Z
- **Package last seen:** 2026-11-11T09:28:43.334Z
- **Known versions:** 13
- **Latest version:** 1.19.3
- **Appeal under review:** No
- **Description:** AI-powered survey dialog bot that conducts async multi-turn conversations via DingTalk
- **Runtime engines:** node: \>=22.0.0
- **Artifact files:** 466
- **Artifact unpacked size:** 3,154,329 bytes
- **Artifact signatures:** 2
- **Attestations:** Yes

## References
- [HTML security report](<https://firewall.lpm.dev/npm/dialog-survey>)
- [Repository](<https://github.com/boyingliu01/dialog-survey.git>)
- [Homepage](<https://github.com/boyingliu01/dialog-survey#readme>)
- [Issues](<https://github.com/boyingliu01/dialog-survey/issues>)
