registry  /  first-tree-staging  /  0.5.12-staging.651.1

first-tree-staging@0.5.12-staging.651.1

First Tree — unified CLI for Context Tree onboarding, agent management, and team messaging. (Source-tree dev build; CI rewrites `name` and `bin` for prod / staging publishes — see docs/local-dev-isolation.md.)

Static Scan Results

scanned 5d ago · by rust-scanner

Static analysis flagged 13 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
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShellWebSocket
Supply chain
HighEntropyStringsMinifiedUrlStrings
ManifestNo manifest risk signals triggered.
scanned 12 file(s), 521 KB of source, external domains: github.com, www.apple.com
Oversized source lightweight scan
dist/connect-token-Bpdk7a5f.mjs2.36 MB file, sampled 256 KB
FilesystemNetworkChildProcessEnvironmentVarsCryptoShellWebSocketHighEntropyStringsUrlStringsgithub.comwww.apple.com

Source & flagged code

6 flagged · loading source
package.jsonView file
scripts.postinstall = node scripts/prune-codex-runtime-binary.mjs && node scripts/prune-claude-runtime-binary.mjs && node scripts/prune-claude-sdk-deps.mjs
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
scripts.postinstall = node scripts/prune-codex-runtime-binary.mjs && node scripts/prune-claude-runtime-binary.mjs && node scripts/prune-claude-sdk-deps.mjs
Medium
Ambiguous Install Lifecycle Script

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

package.jsonView on unpkg
dist/cli/index.mjsView file
6import { existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, realpathSync, rmSync, statSync, unlinkSync } from "node:fs"; L7: import { execFileSync } from "node:child_process"; L8: import { readFile as readFile$1, stat } from "node:fs/promises";
High
Child Process

Package source references child process execution.

dist/cli/index.mjsView on unpkg · L6
2206print.line(" command=/usr/local/bin/strip-wslg-overlay.sh\n\n"); L2207: print.line(" Then run `wsl --shutdown` in Windows PowerShell and reopen the shell.\n"); L2208: }
High
Shell

Package source references shell execution.

dist/cli/index.mjsView on unpkg · L2206
1#!/usr/bin/env node L2: import { $ as startClientService, $t as discoverClaudeCodeSkills, At as agentConfigSchema, B as checkNodeVersion, Bt as resolveConfigReadonly, Ct as formatStaleReason, Dt as print,... L3: import "node:crypto"; ... L6: import { existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, realpathSync, rmSync, statSync, unlinkSync } from "node:fs"; L7: import { execFileSync } from "node:child_process"; L8: import { readFile as readFile$1, stat } from "node:fs/promises"; ... L13: //#region src/core/channel-env.ts L14: if (!process.env.FIRST_TREE_HOME) process.env.FIRST_TREE_HOME = channelConfig.defaultHome; L15: process.title = channelConfig.binName;
High
Same File Env Network Execution

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

dist/cli/index.mjsView on unpkg · L1
dist/connect-token-Bpdk7a5f.mjsView file
path = dist/connect-token-Bpdk7a5f.mjs kind = oversized_source_file sizeBytes = 2476487 magicHex = [redacted]
High
Oversized Source File

Package contains source files above the static scanner size ceiling.

dist/connect-token-Bpdk7a5f.mjsView on unpkg

Findings

5 High4 Medium4 Low
HighInstall Time Lifecycle Scriptspackage.json
HighChild Processdist/cli/index.mjs
HighShelldist/cli/index.mjs
HighSame File Env Network Executiondist/cli/index.mjs
HighOversized Source Filedist/connect-token-Bpdk7a5f.mjs
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings