registry  /  @onebrain-ai/cli  /  3.3.24

@onebrain-ai/cli@3.3.24

Local-first Rust CLI for OneBrain — personal AI OS for Obsidian. Downloads the matching platform binary from GitHub Releases on install.

Static Scan Results

scanned 4d ago · by rust-scanner

Static analysis flagged 11 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoEnvironmentVarsFilesystemNetwork
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 2 file(s), 18.1 KB of source, external domains: github.com

Source & flagged code

4 flagged · loading source
package.jsonView file
scripts.postinstall = node postinstall.js
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
scripts.postinstall = node postinstall.js
Medium
Ambiguous Install Lifecycle Script

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

package.jsonView on unpkg
bin/onebrain.jsView file
14const fs = require('node:fs'); L15: const { spawnSync } = require('node:child_process'); L16:
High
Child Process

Package source references child process execution.

bin/onebrain.jsView on unpkg · L14
postinstall.jsView file
28const path = require('node:path'); L29: const https = require('node:https'); L30: const crypto = require('node:crypto'); L31: const { execFileSync } = require('node:child_process'); L32: L33: if (process.env.ONEBRAIN_CLI_SKIP_POSTINSTALL) { L34: console.log('[@onebrain-ai/cli] ONEBRAIN_CLI_SKIP_POSTINSTALL set — skipping binary download.');
High
Same File Env Network Execution

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

postinstall.jsView on unpkg · L28

Findings

3 High4 Medium4 Low
HighInstall Time Lifecycle Scriptspackage.json
HighChild Processbin/onebrain.js
HighSame File Env Network Executionpostinstall.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings