---
canonical: "https://firewall.lpm.dev/npm/dsh-git-push/v/3.0.0"
markdown: "https://firewall.lpm.dev/npm/dsh-git-push/v/3.0.0.md"
package: "dsh-git-push"
report_status: "published"
title: "dsh-git-push@3.0.0 npm security report"
verdict: "suspicious"
version: "3.0.0"
---

# dsh-git-push@3.0.0 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 22 findings warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Credential exfiltration
- **Selected version:** 3.0.0
- **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 user-triggered clone flow resolves a GitHub token and sends it to raw mirror candidates outside GitHub. This is a concrete credential disclosure, but the source suggests a security bug in the clone implementation rather than intentional theft, so it warrants a warning rather than a block.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 98.0%
- **Started:** 2026-11-20T01:50:27.142Z
- **Finished:** 2026-11-20T01:52:05.875Z
- **Download time:** 759 ms
- **Static scan time:** 1789 ms
- **AI review time:** 96185 ms
- **Total time:** 98733 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 clone downloader can disclose a GitHub token to third-party mirror hosts.

- **Trigger:** A user runs the documented clone command for a repository while a GitHub token is available.

- **Impact:** A mirror operator receiving the request can obtain the user's GitHub token and potentially use its granted permissions.

- **Evidence paths:** lib/git/clone-download.js, lib/git/clone.js, lib/core/mirror-candidates.json, lib/cli/commands-vcs.mjs, lib/core/credentials.js

- **Review source:** ai\_review

- **Reviewed:** 2026-11-20T01:52:05.875Z

### AI review details

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

- **Mechanism:** The downloader attaches the token to requests for raw-file URLs routed through the selected and alternate mirrors.

- **Rationale:** The user-triggered clone flow resolves a GitHub token and sends it to raw mirror candidates outside GitHub. This is a concrete credential disclosure, but the source suggests a security bug in the clone implementation rather than intentional theft, so it warrants a warning rather than a block.

- **Files touched:** lib/git/clone-download.js, lib/git/clone.js, lib/core/mirror-candidates.json, lib/cli/commands-vcs.mjs, lib/core/credentials.js

- **Network endpoints:** https://gh-proxy.com/, https://ghfast.top/, https://ghproxy.net/, https://api.github.com, https://raw.githubusercontent.com

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 98.0%

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

- **Intent class:** Critical Vulnerability

- **False-positive risk:** Medium

- **Evidence for warning:** The clone path resolves a GitHub token and passes it into the blob downloader., The downloader builds a request chain containing the selected and alternate raw mirrors., It adds the token as a Bearer Authorization header and fetches each candidate URL., The default mirror candidates include gh-proxy.com, ghfast.top, and ghproxy.net.

- **Evidence against:** Cloning is an intended feature triggered by a user command., The package documents that requests carrying credentials should bypass third-party mirrors, but the downloader does not apply that safeguard.

## Affected versions and remediation

This report applies to dsh-git-push@3.0.0.

- Review the evidence and your use of dsh-git-push@3.0.0 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. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** scripts/scan-repos.mjs
- **Public source:** [View source](<https://unpkg.com/dsh-git-push@3.0.0/scripts/scan-repos.mjs>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L54: // 顶层懒加载（独立进程 ESM，仅需的模块）
L55: ({ credentialsDir } = await import(`${REPO_ROOT}/lib/git/credentials.js`));
L56: ({ scanRepos } = await import(`${REPO_ROOT}/lib/git/repos.js`));
```

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

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 9. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 75.0%

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

### 10. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** lib/client-parts/git/actions.js
- **Public source:** [View source](<https://unpkg.com/dsh-git-push@3.0.0/lib/client-parts/git/actions.js>)

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_parse_error; limitedFiles = 5
```

### 11. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/core/exec.js
- **Public source:** [View source](<https://unpkg.com/dsh-git-push@3.0.0/lib/core/exec.js>)

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 = dsh-git-push@2.20.19
matchedPath = lib/core/exec.js
matchedIdentity = npm:ZHNoLWdpdC1wdXNo:2.20.19
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 12. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/npm/local-registry.js
- **Public source:** [View source](<https://unpkg.com/dsh-git-push@3.0.0/lib/npm/local-registry.js>)

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 = dsh-git-push@2.20.19
matchedPath = lib/npm/local-registry.js
matchedIdentity = npm:ZHNoLWdpdC1wdXNo:2.20.19
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 13. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/npm/registry.js
- **Public source:** [View source](<https://unpkg.com/dsh-git-push@3.0.0/lib/npm/registry.js>)

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 = dsh-git-push@2.20.19
matchedPath = lib/npm/registry.js
matchedIdentity = npm:ZHNoLWdpdC1wdXNo:2.20.19
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 14. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/app/apply.js
- **Public source:** [View source](<https://unpkg.com/dsh-git-push@3.0.0/lib/app/apply.js>)

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 = dsh-git-push@2.20.19
matchedPath = lib/app/apply.js
matchedIdentity = npm:ZHNoLWdpdC1wdXNo:2.20.19
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 15. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/core/mirror-store.js
- **Public source:** [View source](<https://unpkg.com/dsh-git-push@3.0.0/lib/core/mirror-store.js>)

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 = dsh-git-push@2.20.19
matchedPath = lib/core/mirror-store.js
matchedIdentity = npm:ZHNoLWdpdC1wdXNo:2.20.19
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 16. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/git/scan-runner.js
- **Public source:** [View source](<https://unpkg.com/dsh-git-push@3.0.0/lib/git/scan-runner.js>)

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 = dsh-git-push@2.20.19
matchedPath = lib/git/scan-runner.js
matchedIdentity = npm:ZHNoLWdpdC1wdXNo:2.20.19
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 17. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/npm/install.js
- **Public source:** [View source](<https://unpkg.com/dsh-git-push@3.0.0/lib/npm/install.js>)

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 = dsh-git-push@2.20.19
matchedPath = lib/npm/install.js
matchedIdentity = npm:ZHNoLWdpdC1wdXNo:2.20.19
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 18. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/git/clone-download.js
- **Public source:** [View source](<https://unpkg.com/dsh-git-push@3.0.0/lib/git/clone-download.js>)

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 = dsh-git-push@2.20.19
matchedPath = lib/git/clone-download.js
matchedIdentity = npm:ZHNoLWdpdC1wdXNo:2.20.19
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 19. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/git/cred-env.js
- **Public source:** [View source](<https://unpkg.com/dsh-git-push@3.0.0/lib/git/cred-env.js>)

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 = dsh-git-push@2.20.19
matchedPath = lib/git/cred-env.js
matchedIdentity = npm:ZHNoLWdpdC1wdXNo:2.20.19
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 20. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/git/wrapped-git.js
- **Public source:** [View source](<https://unpkg.com/dsh-git-push@3.0.0/lib/git/wrapped-git.js>)

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 = dsh-git-push@2.20.19
matchedPath = lib/git/wrapped-git.js
matchedIdentity = npm:ZHNoLWdpdC1wdXNo:2.20.19
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 21. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** scripts/scan-version.mjs
- **Public source:** [View source](<https://unpkg.com/dsh-git-push@3.0.0/scripts/scan-version.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 = dsh-git-push@2.20.19
matchedPath = scripts/scan-version.mjs
matchedIdentity = npm:ZHNoLWdpdC1wdXNo:2.20.19
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 22. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/cli/commands-account.mjs
- **Public source:** [View source](<https://unpkg.com/dsh-git-push@3.0.0/lib/cli/commands-account.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 = dsh-git-push@2.20.19
matchedPath = lib/cli/commands-account.mjs
matchedIdentity = npm:ZHNoLWdpdC1wdXNo:2.20.19
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** prepare
- **Dependencies:** 0
- **Optional dependencies:** 1
- **Peer dependencies:** 2
- **Development dependencies:** 0
- **Published dependency-graph edges:** 3

### Published dependency entries
- audit-sluice 0.1.0 (OptionalDependency)
- @deepseek-ai/dsh-tools \>=0.1.6-0 \<0.3.0-0 (PeerDependency)
- @deepseek-ai/schemastery \>=3.0.0 \<4.0.0-0 (PeerDependency)

## Package metadata
- **Package:** dsh-git-push
- **Ecosystem:** npm
- **Version:** 3.0.0
- **License:** MIT
- **Version published:** 2026-11-16T04:53:00.330Z
- **Package first seen:** 2026-10-13T05:42:04.238Z
- **Package last seen:** 2026-11-20T01:52:05.875Z
- **Known versions:** 33
- **Latest version:** 3.1.2
- **Appeal under review:** No
- **Description:** DSH git 自动提交推送插件——统一函数入口架构（规则/审计/git/自身/侧边栏/评分/豁免/上下文/HTTP/测试十大总入口）
- **Author:** EIGHTfs
- **Maintainers:** fluquormyosotis
- **Keywords:** dsh, dsh-plugin, deepseek-harness, git, commit, push, audit, cli
- **Runtime engines:** node: \>=18.0.0
- **Artifact files:** 158
- **Artifact unpacked size:** 1,634,891 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/dsh-git-push/v/3.0.0>)
- [Repository](<https://github.com/EIGHTfs/dsh-git-push>)
- [Homepage](<https://github.com/EIGHTfs/dsh-git-push#readme>)
- [Issues](<https://github.com/EIGHTfs/dsh-git-push/issues>)
