---
canonical: "https://firewall.lpm.dev/npm/feishu-docx-mcp/v/0.3.2"
markdown: "https://firewall.lpm.dev/npm/feishu-docx-mcp/v/0.3.2.md"
package: "feishu-docx-mcp"
report_status: "published"
title: "feishu-docx-mcp@0.3.2 npm security report"
verdict: "malicious"
version: "0.3.2"
---

# feishu-docx-mcp@0.3.2 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** — It can act in the installer's environment before the user invokes the MCP server, including accessing credentials and executing commands.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Matched malicious
- **Public report status:** Published
- **Threat category:** Install Hook Abuse
- **Selected version:** 0.3.2
- **Selected version is latest:** No
- **Analysis source:** AI Security Review (lpm-firewall-ai)

Trusted malware advisory MAL-2026-16032 identifies this version as malicious. Firewall keeps the version blocked under its trusted-intelligence policy. An AI recommendation to allow or warn does not override that advisory.

AI assessment: malicious; recommendation: publish block. This assessment is supporting evidence; the published decision above determines the current policy.

Installing the package automatically launches a large obfuscated program. That program includes process execution and concealed credential, filesystem, and network logic, so its effective behavior cannot be safely constrained to the advertised MCP service.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 99.0%
- **Started:** 2026-09-07T11:37:24.355Z
- **Finished:** 2026-09-07T11:38:21.135Z
- **Download time:** 521 ms
- **Static scan time:** 1166 ms
- **AI review time:** 55091 ms
- **Total time:** 56780 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:** Installing the package automatically launches a large obfuscated program. That program includes process execution and concealed credential, filesystem, and network logic, so its effective behavior cannot be safely constrained to the advertised MCP service.

- **Trigger:** npm installation, before normal package use.

- **Impact:** It can act in the installer's environment before the user invokes the MCP server, including accessing credentials and executing commands.

- **Evidence paths:** package.json, index.js

- **Review source:** ai\_review

- **Reviewed:** 2026-09-07T11:38:21.135Z

### AI review details

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

- **Mechanism:** Obfuscated preinstall payload with child-process, environment, filesystem, and network capabilities.

- **Attack narrative:** npm invokes \`bun run index.js\` as preinstall. The invoked file is a 499 KB single-line obfuscated payload that imports child-process execution and contains concealed code for reading environment values, handling credential patterns, filesystem access, and network requests. This behavior is unrelated to the readable Feishu MCP runtime and executes before normal use, creating an unconsented install-time compromise path.

- **Rationale:** The automatic preinstall hook executes a deliberately concealed, capability-rich payload. This is concrete install-hook abuse, not package-aligned setup.

- **Files touched:** index.js

### Review decision

- **Verdict:** Malicious

- **Confidence:** 99.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for block:** The manifest automatically runs index.js during npm preinstall., index.js is a 499 KB single-line, deliberately obfuscated program rather than the advertised MCP source., The hidden installer imports child-process execution and contains environment, credential-pattern, filesystem, and network-handling code., The install hook runs before the package's normal Feishu MCP entrypoints.

- **Evidence against:** The dist directory contains readable Feishu MCP service code with package-aligned API and token-cache functionality., No readable source ties the hidden installer to a disclosed Feishu feature or a fixed benign endpoint.

## Affected versions and remediation

This report applies to feishu-docx-mcp@0.3.2.

- Avoid installing feishu-docx-mcp@0.3.2. 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. High: Install Time Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/feishu-docx-mcp@0.3.2/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.preinstall = bun run index.js
```

### 2. Medium: Ambiguous Install Lifecycle Script
- **Category:** Manifest
- **Confidence:** 75.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/feishu-docx-mcp@0.3.2/package.json>)

Install-time lifecycle script is not statically allowlisted and needs review.

Public source snippet (untrusted):

```json
scripts.preinstall = bun run index.js
```

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

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

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

Package declares npm scripts.

### 5. Critical: Critical Secret
- **Category:** Secrets
- **Confidence:** 90.0%
- **Path:** index.js
- **Public source:** [View source](<https://unpkg.com/feishu-docx-mcp@0.3.2/index.js>)

Package contains a critical-looking secret pattern.

Public source snippet (untrusted):

```javascript
patternName = private_key_rsa
severity = critical
line = 1
```

### 6. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** index.js
- **Public source:** [View source](<https://unpkg.com/feishu-docx-mcp@0.3.2/index.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L1: const _0x192368=_0x2a3a;(function(_0x44be0e,_0x3ff020){const _0x46b694={_0x4a8b2d:0x5bf,_0x1acf94:0x3d9,_0x2ef3d3:0x527,_0xc7f929:0x26b,_0x2a4660:0x4b0,_0x8195fc:0x171,_0x411d1a:0x...
```

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

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 10. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** index.js
- **Public source:** [View source](<https://unpkg.com/feishu-docx-mcp@0.3.2/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
L1: const _0x192368=_0x2a3a;(function(_0x44be0e,_0x3ff020){const _0x46b694={_0x4a8b2d:0x5bf,_0x1acf94:0x3d9,_0x2ef3d3:0x527,_0xc7f929:0x26b,_0x2a4660:0x4b0,_0x8195fc:0x171,_0x411d1a:0x...
```

### 11. High: Obfuscated Payload Loader
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** index.js
- **Public source:** [View source](<https://unpkg.com/feishu-docx-mcp@0.3.2/index.js>)

Source contains an obfuscated payload loader that reconstructs and executes hidden code.

Public source snippet (untrusted):

```javascript
L1: const _0x192368=_0x2a3a;(function(_0x44be0e,_0x3ff020){const _0x46b694={_0x4a8b2d:0x5bf,_0x1acf94:0x3d9,_0x2ef3d3:0x527,_0xc7f929:0x26b,_0x2a4660:0x4b0,_0x8195fc:0x171,_0x411d1a:0x...
```

### 12. High: Obfuscated
- **Category:** Supply Chain
- **Confidence:** 100.0%

Package source appears deliberately obfuscated.

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

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

### 16. Critical: Secret Pattern
- **Category:** Secrets
- **Confidence:** 75.0%
- **Path:** index.js
- **Public source:** [View source](<https://unpkg.com/feishu-docx-mcp@0.3.2/index.js>)

RSA private key in index.js

Public source snippet (untrusted):

```javascript
patternName = private_key_rsa
severity = critical
line = 1
```

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

### Published dependency entries
- @modelcontextprotocol/sdk ^1.17.5 (Dependency)
- @types/yargs ^17.0.33 (Dependency)
- axios ^1.7.9 (Dependency)
- bun ^1.3.13 (Dependency)
- cross-env ^7.0.3 (Dependency)
- dotenv ^16.4.7 (Dependency)
- express ^4.21.2 (Dependency)
- form-data ^4.0.3 (Dependency)
- remeda ^2.20.1 (Dependency)
- yargs ^17.7.2 (Dependency)
- zod ^3.24.2 (Dependency)

## Package metadata
- **Package:** feishu-docx-mcp
- **Ecosystem:** npm
- **Version:** 0.3.2
- **License:** MIT
- **Version published:** 2026-09-07T09:25:00.552Z
- **Package first seen:** 2026-09-07T11:38:21.135Z
- **Package last seen:** 2026-09-07T13:52:44.042Z
- **Known versions:** 2
- **Latest version:** 0.0.1-security
- **Appeal under review:** No
- **Description:** Model Context Protocol server for Feishu integration
- **Author:** cso1z
- **Keywords:** feishu, lark, mcp, typescript
- **Runtime engines:** node: ^20.17.0
- **Artifact files:** 49
- **Artifact unpacked size:** 1,150,424 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/feishu-docx-mcp/v/0.3.2>)
- [Repository](<https://github.com/scribblerR/Feishu-MCP.git>)
- [OSV advisory](<https://osv.dev/vulnerability/MAL-2026-16032>)
- [ADVISORY](<https://github.com/advisories/GHSA-q5c6-p5q5-g3px>)
- [PACKAGE](<https://www.npmjs.com/package/feishu-docx-mcp/v/0.3.2>)
