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

first-tree-staging@0.5.12-staging.682.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 3d ago · by rust-scanner

Static analysis flagged 14 finding(s) at 93.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.; previous stored version diff introduced dangerous source

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShellWebSocket
Supply chain
HighEntropyStringsMinifiedUrlStrings
ManifestNo manifest risk signals triggered.
scanned 12 file(s), 544 KB of source, external domains: github.com
Oversized source lightweight scan
dist/connect-token-BoL-r4Je.mjs2.41 MB file, sampled 256 KB
FilesystemNetworkChildProcessEnvironmentVarsCryptoShellWebSocketHighEntropyStringsUrlStringsgithub.com

Source & flagged code

7 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
7import { existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, realpathSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs"; L8: import { execFileSync } from "node:child_process"; L9: import { fileURLToPath } from "node:url";
High
Child Process

Package source references child process execution.

dist/cli/index.mjsView on unpkg · L7
2325writeLine(" command=/usr/local/bin/strip-wslg-overlay.sh\n\n"); L2326: writeLine(" Then run `wsl --shutdown` in Windows PowerShell and reopen the shell.\n"); L2327: }
High
Shell

Package source references shell execution.

dist/cli/index.mjsView on unpkg · L2325
1#!/usr/bin/env node L2: import { $ as [redacted], $t as loadAgents, At as resolveServerUrl, B as checkBackgroundService, Bt as success, C as promptMissingFields, Cn as initClien... L3: import { createRequire } from "node:module"; ... L7: import { existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, realpathSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs"; L8: import { execFileSync } from "node:child_process"; L9: import { fileURLToPath } from "node:url"; ... L15: //#region src/core/channel-env.ts L16: if (!process.env.FIRST_TREE_HOME) process.env.FIRST_TREE_HOME = channelConfig.defaultHome; L17: 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
matchType = previous_version_dangerous_delta matchedPackage = first-tree-staging@0.5.12-staging.674.1 matchedIdentity = npm:Zmlyc3QtdHJlZS1zdGFnaW5n:0.5.12-staging.674.1 similarity = 0.917 summary = stored previous version shares package body but lacks this dangerous source file
High
Previous Version Dangerous Delta

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

dist/cli/index.mjsView on unpkg
dist/connect-token-BoL-r4Je.mjsView file
path = dist/connect-token-BoL-r4Je.mjs kind = oversized_source_file sizeBytes = 2532197 magicHex = [redacted]
High
Oversized Source File

Package contains source files above the static scanner size ceiling.

dist/connect-token-BoL-r4Je.mjsView on unpkg

Findings

6 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-BoL-r4Je.mjs
HighPrevious Version Dangerous Deltadist/cli/index.mjs
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings