registry  /  @ottocode/install  /  0.1.346

@ottocode/install@0.1.346

AI-powered development assistant CLI - npm installer

Static Scan Results

scanned 2h ago · by rust-scanner

Static analysis flagged 9 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
ChildProcessEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 1 file(s), 8.96 KB of source, external domains: github.com, install.ottocode.io

Source & flagged code

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

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
start.jsView file
13import { fileURLToPath } from 'node:url'; L14: import { get } from 'node:https'; L15: import { homedir, platform, arch } from 'node:os'; L16: import { spawnSync, spawn } from 'node:child_process'; L17: ... L21: function isInWorkspace() { L22: const __dirname = dirname(fileURLToPath(import.meta.url)); L23: const workspaceRoot = resolve(__dirname, '../../'); ... L31: const sep = platform() === 'win32' ? ';' : ':'; L32: const pathDirs = (process.env.PATH || '').split(sep); L33: const ext = platform() === 'win32' ? '.exe' : ''; ... L42: const result = spawnSync('file', [binPath], { encoding: 'utf8' });
Medium
Install Persistence

Source writes installer persistence such as shell profile or service configuration.

start.jsView on unpkg · L13

Findings

1 High4 Medium4 Low
HighInstall Time Lifecycle Scriptspackage.json
MediumNetwork
MediumEnvironment Vars
MediumInstall Persistencestart.js
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings