registry  /  pi-messenger-swarm  /  0.25.22

pi-messenger-swarm@0.25.22

Swarm-first multi-agent messaging and task orchestration extension for Pi

Static Scan Results

scanned 2h ago · by rust-scanner

Static analysis flagged 12 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
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 162 file(s), 882 KB of source, external domains: 127.0.0.1

Source & flagged code

5 flagged · loading source
package.jsonView file
scripts.postinstall = simple-git-hooks 2>/dev/null || true
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
scripts.postinstall = simple-git-hooks 2>/dev/null || true
Medium
Ambiguous Install Lifecycle Script

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

package.jsonView on unpkg
swarm/spawn.tsView file
5import { randomUUID } from 'node:crypto'; L6: import { spawn, type ChildProcess } from 'node:child_process'; L7: import { getAgentDir } from '@earendil-works/pi-coding-agent';
High
Child Process

Package source references child process execution.

swarm/spawn.tsView on unpkg · L5
dist/harness/cli.jsView file
116* When the CLI runs inside a pi bash session, the ancestry looks like: L117: * zsh → pi (PID N) → bash -c "pi-messenger-swarm ..." → node (CLI) L118: *
High
Shell

Package source references shell execution.

dist/harness/cli.jsView on unpkg · L116
47*/ L48: import { execSync, spawn as spawnChild } from 'node:child_process'; L49: import * as fs from 'node:fs'; ... L51: import { fileURLToPath } from 'node:url'; L52: import * as http from 'node:http'; L53: const __filename = fileURLToPath(import.meta.url); L54: const __dirname = path.dirname(__filename); L55: const PORT = Number(process.env.PI_MESSENGER_PORT ?? 9877); L56: const HOST = '127.0.0.1';
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/harness/cli.jsView on unpkg · L47

Findings

4 High4 Medium4 Low
HighInstall Time Lifecycle Scriptspackage.json
HighChild Processswarm/spawn.ts
HighShelldist/harness/cli.js
HighSame File Env Network Executiondist/harness/cli.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings