---
canonical: "https://firewall.lpm.dev/npm/dingtalk-workspace-cli/v/1.0.62"
markdown: "https://firewall.lpm.dev/npm/dingtalk-workspace-cli/v/1.0.62.md"
package: "dingtalk-workspace-cli"
report_status: "published"
title: "dingtalk-workspace-cli@1.0.62 npm security report"
verdict: "policy_finding"
version: "1.0.62"
---

# dingtalk-workspace-cli@1.0.62 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
**Soft block: AI-agent control surface** — Warn by default; block when configured. Installed AI coding agents can load these skill files after restart and change their behavior without the user opting in.

- **Verdict:** AI-agent control-surface policy finding
- **Product-default install policy:** Warn by default; block when configured
- **Firewall policy:** Warn by default
- **Public report status:** Published
- **Threat category:** Soft block: AI-agent control surface
- **Selected version:** 1.0.62
- **Selected version is latest:** No
- **Analysis source:** AI Security Review (lpm-firewall-ai)

This finding concerns changes to an AI agent's instructions or configuration without explicit user action. It does not by itself establish malware intent. The CLI warns by default and blocks when configured for this policy.

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

LPM flags this version as an AI-agent control-surface risk. On npm install, postinstall runs install.js, unpacks bundled agent skills, and writes them into the home-directory skill folders of many third-party AI agents. Detection is only whether a parent config folder exists; there is no user prompt.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 93.0%
- **Started:** 2026-09-18T04:48:35.331Z
- **Finished:** 2026-09-18T04:51:35.795Z
- **Download time:** 3043 ms
- **Static scan time:** 226 ms
- **AI review time:** 177194 ms
- **Total time:** 180464 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:** On npm install, postinstall runs install.js, unpacks bundled agent skills, and writes them into the home-directory skill folders of many third-party AI agents. Detection is only whether a parent config folder exists; there is no user prompt.

- **Trigger:** npm install of dingtalk-workspace-cli, which runs the postinstall script.

- **Impact:** Installed AI coding agents can load these skill files after restart and change their behavior without the user opting in.

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

- **Review source:** ai\_review

- **Reviewed:** 2026-09-18T04:51:35.795Z

### AI review details

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

- **Mechanism:** unconsented postinstall write of bundled skills into foreign agent skill directories

- **Attack narrative:** On install, npm runs install.js. That script unpacks assets/dws-skills.zip and copies product skills into ~/.agents/skills, then into any detected third-party agent skill directory such as ~/.claude/skills, ~/.cursor/skills, and ~/.codex/skills. There is no consent prompt and no skip switch. After the user restarts an agent, those files can change what the agent does.

- **Rationale:** postinstall runs install.js, which writes bundled skills into many third-party agent skill directories without consent. That is unconsented install-time mutation of a foreign, broad AI-agent control surface.

- **Files touched:** install.js, assets/dws-skills.zip, ~/.agents/skills, ~/.claude/skills, ~/.cursor/skills, ~/.codex/skills, ~/.dws/skills, ~/.dws/skills-state.json

### Review decision

- **Verdict:** Malicious

- **Confidence:** 93.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for policy risk:** package.json postinstall runs node install.js on every npm install, install.js lists dozens of third-party agent skill folders, including Claude, Cursor, Codex, and Grok, postinstall main() unpacks bundled skills and installs them with no consent prompt or skip flag, skills are written into ~/.agents/skills and into every detected agent home, managed skill state records source as npm-postinstall

- **Evidence against:** installer JavaScript has no HTTP client or remote download; GitHub URLs appear only in package metadata, platform zip and tar.gz files match the CLI binary map rather than a second hidden payload channel, publication is limited to DWS-managed skill names plus a canonical dws skill, not wholesale deletion of unrelated user skills

## Affected versions and remediation

This report applies to dingtalk-workspace-cli@1.0.62.

- Avoid installing dingtalk-workspace-cli@1.0.62. 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/dingtalk-workspace-cli@1.0.62/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node install.js
```

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

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

Public source snippet (untrusted):

```json
scripts.postinstall = node install.js
```

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

Package declares npm scripts.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 6. Critical: Ai Agent Control Hijack
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** install.js
- **Public source:** [View source](<https://unpkg.com/dingtalk-workspace-cli@1.0.62/install.js>)

Source creates an unconsented AI-agent control surface through install-time mutation or a default unauthenticated remote skill channel.

Public source snippet (untrusted):

```javascript
L22: ["augment", false, ".augment/skills"], ["bob", false, ".bob/skills"],
L23: ["claude-code", false, ".claude/skills"], ["openclaw", false, ".openclaw/skills"],
L24: ["cline", true, ".agents/skills"], ["codearts-agent", false, ".codeartsdoer/skills"],
L25: ["codebuddy", false, ".codebuddy/skills"], ["codemaker", false, ".codemaker/skills"],
L26: ["codestudio", false, ".codestudio/skills"], ["codex", true, ".codex/skills"],
L27: ["command-code", false, ".commandcode/skills"], ["continue", false, ".continue/skills"],
...
L29: ["cursor", true, ".cursor/skills"], ["deepagents", true, ".deepagents/agent/skills"],
L30: ["devin", false, ".config/devin/skills"], ["dexto", true, ".agents/skills"],
L31: ["droid", false, ".factory/skills"], ["eve", false, null],
...
L37: ["iflow-cli", false, ".iflo
```

### 7. High: Trigger Reachable External Ai Agent Control Surface Mutation
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** install.js
- **Public source:** [View source](<https://unpkg.com/dingtalk-workspace-cli@1.0.62/install.js>)

Manifest-trigger-reachable source writes behavior-bearing configuration into a user or project AI-agent control surface.

Public source snippet (untrusted):

```javascript
Manifest-trigger-reachable source links an external AI-agent control path to a behavior-bearing write operation.
ls"], ["ona", false, ".ona/skills"],
  ["pi", false, ".pi/agent/skills"], ["qoder", false, ".qoder/skills"],
  ["qoder-cn", false, ".qoder-cn/skills"], ["qwen-code", false, ".qwen/skills"],
  ["replit", true, ".config/agents/skills"], ["reasonix", false, ".reasonix/skills"],
  ["rovodev", false, ".rovodev/skills"], ["roo", false, ".roo/skills"],
  ["tabnine-cli", false, ".tabnine/agent/skills"], ["terramind", false, ".terramind/skills"],
  ["tinycloud", false, ".tinycloud/skills"], ["trae", false, ".trae/skills"],
  ["trae-cn", false, ".trae-cn/skills"], ["warp", true, ".agents/skills"],
  ["windsurf", false, ".codeium/windsurf/skills"], ["zed", true, ".agents/skills"],
  ["zcod
```

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

Package source contains high-entropy string patterns.

### 9. Medium: Ships Compressed Blob
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** assets/dws-windows-amd64.zip
- **Public source:** [View source](<https://unpkg.com/dingtalk-workspace-cli@1.0.62/assets/dws-windows-amd64.zip>)

Package ships compressed or archive-like blobs.

Public source snippet (untrusted):

```text
path = assets/dws-windows-amd64.zip
kind = compressed_blob
sizeBytes = 17946244
magicHex = [redacted]
```

### 10. High: Ships High Entropy Blob
- **Category:** Artifact Inventory
- **Confidence:** 75.0%
- **Path:** assets/dws-windows-amd64.zip
- **Public source:** [View source](<https://unpkg.com/dingtalk-workspace-cli@1.0.62/assets/dws-windows-amd64.zip>)

Package ships high-entropy non-source blobs.

Public source snippet (untrusted):

```text
path = assets/dws-windows-amd64.zip
kind = high_entropy_blob
sizeBytes = 17946244
magicHex = [redacted]
```

### 11. Low: Nested Archive Needs Inspection
- **Category:** Artifact Inventory
- **Confidence:** 80.0%
- **Path:** assets/dws-windows-amd64.zip
- **Public source:** [View source](<https://unpkg.com/dingtalk-workspace-cli@1.0.62/assets/dws-windows-amd64.zip>)

Package ships a nested archive or MCP bundle that was inventoried but not recursively analyzed.

Public source snippet (untrusted):

```text
path = assets/dws-windows-amd64.zip
kind = nested_archive_needs_inspection
sizeBytes = 17946244
magicHex = [redacted]
```

### 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:** postinstall
- **Dependencies:** 0
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 0

## Package metadata
- **Package:** dingtalk-workspace-cli
- **Ecosystem:** npm
- **Version:** 1.0.62
- **License:** Apache-2.0
- **Version published:** 2026-09-16T08:47:22.923Z
- **Package first seen:** 2026-07-01T10:59:16.840Z
- **Package last seen:** 2026-10-03T11:59:13.631Z
- **Known versions:** 10
- **Latest version:** 1.0.63
- **Appeal under review:** No
- **Description:** DingTalk Workspace CLI - AI-powered productivity tools
- **Keywords:** dingtalk, dws, cli, workspace, ai, productivity
- **Runtime engines:** node: \>=16.7.0
- **Artifact files:** 12
- **Artifact unpacked size:** 97,529,915 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/dingtalk-workspace-cli/v/1.0.62>)
- [Repository](<https://github.com/open-dingtalk/dingtalk-workspace-cli.git>)
- [Homepage](<https://github.com/open-dingtalk/dingtalk-workspace-cli>)
- [Issues](<https://github.com/open-dingtalk/dingtalk-workspace-cli/issues>)
