---
canonical: "https://firewall.lpm.dev/npm/@dptech-corp/bohr-cli/v/2.5.25"
markdown: "https://firewall.lpm.dev/npm/@dptech-corp/bohr-cli/v/2.5.25.md"
package: "@dptech-corp/bohr-cli"
report_status: "published"
title: "@dptech-corp/bohr-cli@2.5.25 npm security report"
verdict: "suspicious"
version: "2.5.25"
---

# @dptech-corp/bohr-cli@2.5.25 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 6 finding(s) warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Destructive Action
- **Selected version:** 2.5.25
- **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 install hook performs a concrete destructive global command replacement. It does not establish credential theft, exfiltration, remote payload execution, or foreign AI-agent control-surface mutation, so blocking is not warranted.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 94.0%
- **Started:** 2026-08-09T11:07:44.937Z
- **Finished:** 2026-08-09T11:08:42.433Z
- **Download time:** 2264 ms
- **Static scan time:** 254 ms
- **AI review time:** 54977 ms
- **Total time:** 57496 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:** Installation can overwrite a pre-existing global bohr executable owned by another package. This is an unconsented global command-path mutation, not an AI-agent control-surface write.

- **Trigger:** npm postinstall

- **Impact:** A different package's bohr command can be removed and replaced.

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

- **Review source:** ai\_review

- **Reviewed:** 2026-08-09T11:08:42.433Z

### AI review details

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

- **Mechanism:** global npm-bin unlink and symlink replacement

- **Rationale:** The install hook performs a concrete destructive global command replacement. It does not establish credential theft, exfiltration, remote payload execution, or foreign AI-agent control-surface mutation, so blocking is not warranted.

- **Files touched:** install.js, run.js, bin/bohr-\<platform\>-\<arch\>, npm global bin/bohr

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 94.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Low

- **Evidence for warning:** package.json runs postinstall: node install.js., install.js runs npm bin -g during installation., install.js deletes an existing global bohr entry when it resolves elsewhere., install.js replaces that entry with a symlink to this package's run.js.

- **Evidence against:** run.js only selects and executes the bundled platform binary with user arguments., install.js has no network, credential-harvesting, eval, or agent-config logic., No network activity is present in the install-time JavaScript.

## Affected versions and remediation

This report applies to @dptech-corp/bohr-cli@2.5.25.

- Review the evidence and your use of @dptech-corp/bohr-cli@2.5.25 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/@dptech-corp/bohr-cli@2.5.25/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/@dptech-corp/bohr-cli@2.5.25/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. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 5. Medium: Ships Native Binary
- **Category:** Artifact Inventory
- **Confidence:** 75.0%
- **Path:** bin/bohr-darwin-arm64
- **Public source:** [View source](<https://unpkg.com/@dptech-corp/bohr-cli@2.5.25/bin/bohr-darwin-arm64>)

Package ships native binary artifacts.

Public source snippet (untrusted):

```text
path = bin/bohr-darwin-arm64
kind = native_binary
sizeBytes = 33554754
magicHex = [redacted]
```

### 6. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 80.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:** @dptech-corp/bohr-cli
- **Ecosystem:** npm
- **Version:** 2.5.25
- **License:** MIT
- **Version published:** 2026-08-07T03:53:25.362Z
- **Package first seen:** 2026-07-10T08:28:53.357Z
- **Package last seen:** 2026-10-22T10:37:11.674Z
- **Known versions:** 94
- **Latest version:** 2.8.1
- **Appeal under review:** No
- **Description:** CLI tool for Bohrium scientific computing platform
- **Author:** DP Technology
- **Maintainers:** dingzhaohan
- **Keywords:** bohrium, scientific-computing, cli, paper-search, molecular-dynamics
- **Supported OS:** darwin, linux, win32
- **Supported CPU:** x64, arm64
- **Artifact files:** 10
- **Artifact unpacked size:** 203,658,136 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@dptech-corp/bohr-cli/v/2.5.25>)
