registry  /  @opencode-manager/ocm-cli  /  0.2.4

@opencode-manager/ocm-cli@0.2.4

OpenCode Manager CLI: attach a local OpenCode TUI to a Manager-hosted repo.

Static Scan Results

scanned 3h ago · by rust-scanner

Static analysis flagged 8 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
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShell
Supply chain
UrlStrings
ManifestNo manifest risk signals triggered.
scanned 3 file(s), 75.4 KB of source, external domains: github.com

Source & flagged code

3 flagged · loading source
package.jsonView file
scripts.postinstall = node scripts/postinstall.mjs || true
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
scripts.postinstall = node scripts/postinstall.mjs || true
Medium
Ambiguous Install Lifecycle Script

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

package.jsonView on unpkg
dist/ocm.jsView file
2// bin/ocm.ts L3: import { spawn as spawn2, spawnSync as spawnSync4 } from "child_process"; L4: import { basename } from "path"; ... L9: import { dirname, join } from "path"; L10: var STATE_DIR = join(homedir(), ".config", "opencode-manager"); L11: var STATE_FILE = join(STATE_DIR, "state.json"); ... L20: const raw = readFileSync(STATE_FILE, "utf-8"); L21: const parsed = JSON.parse(raw); L22: if (!parsed.managerUrl) ... L44: class KeychainError extends Error { L45: exitCode; L46: constructor(message, exitCode) {
Low
Weak Crypto

Package source references weak cryptographic algorithms.

dist/ocm.jsView on unpkg · L2

Findings

1 High3 Medium4 Low
HighInstall Time Lifecycle Scriptspackage.json
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumEnvironment Vars
LowScripts Present
LowWeak Cryptodist/ocm.js
LowFilesystem
LowUrl Strings