@dptech-corp/bohr-cli@2.5.23
CLI tool for Bohrium scientific computing platform
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe lifecycle hook performs a concrete, intrusive global CLI replacement, so it warrants a warning. Source inspection found no concrete malicious chain beyond that behavior.
Static reason
One or more suspicious static signals were detected.
Trigger
npm postinstall, particularly when a global `bohr` command already exists.
Impact
Can disrupt or supersede another package's `bohr` command.
Mechanism
Unconditional global CLI symlink replacement
AI rationale
The lifecycle hook performs a concrete, intrusive global CLI replacement, so it warrants a warning. Source inspection found no concrete malicious chain beyond that behavior.
Evidence
package.jsoninstall.jsrun.jsbin/bohr-linux-amd64CHANGELOG.mdbin/bohr-darwin-amd64bin/bohr-darwin-arm64bin/bohr-linux-arm64
Decision evidence
public snapshotAI called this Suspicious at 90.0% confidence as Dangerous Capability with low false-positive risk.
Evidence for warning
- package.json runs postinstall via install.js.
- install.js calls `npm bin -g`, deletes an existing global `bohr` link, and replaces it.
- The replacement occurs without checking ownership of the prior command.
Evidence against
- install.js contains no network, credential, or environment harvesting.
- run.js only dispatches the selected bundled binary when the user invokes `bohr`.
- No JavaScript eval, dynamic loading, or AI-agent configuration writes found.
- Bundled binaries appear to be platform CLI artifacts; observed endpoint strings are Bohrium/DP Tech-aligned.
Behavioral surface
ChildProcessFilesystemShell
Source & flagged code
3 flagged · loading sourcepackage.jsonView file
•scripts.postinstall = node install.js
High
Install Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkg•scripts.postinstall = node install.js
Medium
Ambiguous Install Lifecycle Script
Install-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgbin/bohr-darwin-arm64View file
•path = bin/bohr-darwin-arm64
kind = native_binary
sizeBytes = 33257458
magicHex = [redacted]
Medium
Findings
1 High3 Medium2 Low
HighInstall Time Lifecycle Scriptspackage.json
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumShips Native Binarybin/bohr-darwin-arm64
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
Affected versions and remediation
This report applies to @dptech-corp/bohr-cli@2.5.23.
See all versions of @dptech-corp/bohr-cli for other recorded verdicts.
- Review the evidence and your use of @dptech-corp/bohr-cli@2.5.23 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.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.