---
canonical: "https://firewall.lpm.dev/npm/pi-maestro-flow"
markdown: "https://firewall.lpm.dev/npm/pi-maestro-flow/v/0.14.0.md"
package: "pi-maestro-flow"
report_status: "published"
title: "pi-maestro-flow@0.14.0 npm security report"
verdict: "suspicious"
version: "0.14.0"
---

# pi-maestro-flow@0.14.0 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Flagged as agent extension risk** — Allowed by default with warning: install-time first-party agent extension setup was detected.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Warn-only agent extension risk
- **Public report status:** Published
- **Threat category:** Agent extension lifecycle risk
- **Selected version:** 0.14.0
- **Selected version is latest:** No
- **Analysis source:** AI Security Review (lpm-firewall-ai)

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: suspicious; recommendation: downgrade to warn. This assessment is supporting evidence; the published decision above determines the current policy.

LPM treats this as warn-only first-party agent extension lifecycle risk. Install-time scripts modify Pi agent configuration and Maestro workflow directories. No confirmed exfiltration, remote payload execution, or destructive behavior was found in those scripts.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 94.0%
- **Started:** 2026-08-04T11:14:18.825Z
- **Finished:** 2026-08-04T11:15:02.305Z
- **Download time:** 510 ms
- **Static scan time:** 2875 ms
- **AI review time:** 40094 ms
- **Total time:** 43480 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** Install-time scripts modify Pi agent configuration and Maestro workflow directories. No confirmed exfiltration, remote payload execution, or destructive behavior was found in those scripts.

- **Trigger:** npm install

- **Impact:** Automatically enables package-related Pi companion extensions and keybinding/workflow setup.

- **Evidence paths:** package.json, scripts/configure-keybindings.mjs, scripts/register-companion-packages.mjs, scripts/install-workflows.mjs, src/tools/web-access/gemini-web-config.ts, src/tools/web-access/chrome-cookies.ts, src/tools/web-access/gemini-web.ts

- **Review source:** ai\_review

- **Reviewed:** 2026-08-04T11:15:02.305Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** postinstall extension/configuration setup

- **Rationale:** The package is not confirmed malware, but its postinstall modifies an AI-agent control surface and installs workflows. Per policy, this is a warning-level first-party/companion extension lifecycle risk.

- **Files touched:** ~/.pi/agent/keybindings.json, ~/.pi/agent/settings.json, ~/.maestro/workflows

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 94.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Dangerous Capability

- **False-positive risk:** Low

- **Evidence for warning:** package.json runs three postinstall scripts., scripts/configure-keybindings.mjs writes ~/.pi/agent/keybindings.json., scripts/register-companion-packages.mjs writes ~/.pi/agent/settings.json and registers companion extensions., scripts/install-workflows.mjs installs/copies workflows into ~/.maestro/workflows.

- **Evidence against:** Lifecycle scripts make no network requests or credential reads., Companion registration is limited to pi-maestro-teammate and pi-cockpit and is idempotent., Browser-cookie access is disabled unless an explicit setting or environment flag enables it., Gemini cookies are sent only to Google endpoints in the inspected code.

## Affected versions and remediation

This report applies to pi-maestro-flow@0.14.0.

- Review the evidence and your use of pi-maestro-flow@0.14.0 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.

## Public findings

### 1. High: Install Time Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/pi-maestro-flow@0.14.0/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node scripts/configure-keybindings.mjs && node scripts/install-workflows.mjs && node scripts/register-companion-packages.mjs
```

### 2. Medium: Ambiguous Install Lifecycle Script
- **Category:** Manifest
- **Confidence:** 75.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/pi-maestro-flow@0.14.0/package.json>)

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

Public source snippet (untrusted):

```json
scripts.postinstall = node scripts/configure-keybindings.mjs && node scripts/install-workflows.mjs && node scripts/register-companion-packages.mjs
```

### 3. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 4. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** src/settings/resource-lock.ts
- **Public source:** [View source](<https://unpkg.com/pi-maestro-flow@0.14.0/src/settings/resource-lock.ts>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```typescript
L4: 
L5: const require = createRequire(import.meta.url);
L6: const properLockfile = require("proper-lockfile") as {
```

### 5. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 6. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 7. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 8. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 9. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 10. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** .pi/skills/team-adversarial-swarm/scripts/test\_aco.py
- **Public source:** [View source](<https://unpkg.com/pi-maestro-flow@0.14.0/.pi/skills/team-adversarial-swarm/scripts/test_aco.py>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```python
path = .pi/skills/team-adversarial-swarm/scripts/test_aco.py
kind = build_helper
sizeBytes = 20941
magicHex = [redacted]
```

### 11. High: Payload In Excluded Dir
- **Category:** Artifact Inventory
- **Confidence:** 85.0%
- **Path:** .pi/skills/team-adversarial-swarm/scripts/test\_aco.py
- **Public source:** [View source](<https://unpkg.com/pi-maestro-flow@0.14.0/.pi/skills/team-adversarial-swarm/scripts/test_aco.py>)

Package hides binary, compressed, or executable-looking payloads in test/fixture/hidden paths.

Public source snippet (untrusted):

```python
path = .pi/skills/team-adversarial-swarm/scripts/test_aco.py
kind = payload_in_excluded_dir
sizeBytes = 20941
magicHex = [redacted]
```

### 12. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

### 13. Low: No License
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest does not declare a clear license.

### 14. High: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** src/tools/smart-search.ts
- **Public source:** [View source](<https://unpkg.com/pi-maestro-flow@0.14.0/src/tools/smart-search.ts>)

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

Public source snippet (untrusted):

```typescript
matchType = previous_version_dangerous_delta
matchedPackage = pi-maestro-flow@0.7.0
matchedIdentity = npm:cGktbWFlc3Ryby1mbG93:0.7.0
similarity = 0.350
summary = stored previous version shares package body but lacks this dangerous source file
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** postinstall
- **Dependencies:** 21
- **Optional dependencies:** 1
- **Peer dependencies:** 4
- **Development dependencies:** 7
- **Published dependency-graph edges:** 26

### Published dependency entries
- @ff-labs/fff-node 0.10.1 (Dependency)
- @modelcontextprotocol/ext-apps 1.7.4 (Dependency)
- @modelcontextprotocol/sdk 1.30.0 (Dependency)
- @mozilla/readability ^0.6.0 (Dependency)
- @types/turndown ^5.0.6 (Dependency)
- cross-spawn 7.0.6 (Dependency)
- linkedom ^0.18.13 (Dependency)
- maestro-flow 0.5.60 (Dependency)
- open 10.2.0 (Dependency)
- p-limit ^7.3.1 (Dependency)
- pi-cockpit 0.8.0 (Dependency)
- pi-maestro-settings-core 0.1.0 (Dependency)
- pi-maestro-teammate 1.6.0 (Dependency)
- promise.try ^2.0.1 (Dependency)
- proper-lockfile 4.1.2 (Dependency)
- puppeteer-core 24.31.0 (Dependency)
- recheck 4.5.0 (Dependency)
- turndown ^7.2.4 (Dependency)
- typebox 1.1.24 (Dependency)
- unpdf ^1.8.0 (Dependency)
- zod 3.25.76 (Dependency)
- @konbakuyomu/smart-search 0.1.14 (OptionalDependency)
- @earendil-works/pi-agent-core \* (PeerDependency)
- @earendil-works/pi-ai \* (PeerDependency)
- @earendil-works/pi-coding-agent \* (PeerDependency)
- @earendil-works/pi-tui \* (PeerDependency)

## Package metadata
- **Package:** pi-maestro-flow
- **Ecosystem:** npm
- **Version:** 0.14.0
- **Version published:** 2026-08-02T14:06:46.981Z
- **Package first seen:** 2026-07-12T14:48:16.766Z
- **Package last seen:** 2026-10-08T17:13:23.611Z
- **Known versions:** 27
- **Latest version:** 0.31.3
- **Appeal under review:** No
- **Description:** Pi extension for Maestro knowledge and workflow orchestration with teammate dispatch
- **Maintainers:** dyw1234
- **Keywords:** pi-package, pi, pi-coding-agent, maestro, agents, explore, delegate, moa, workflow, orchestration, swarm, aco
- **Runtime engines:** node: \>=22.19.0
- **Artifact files:** 775
- **Artifact unpacked size:** 6,728,711 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/pi-maestro-flow/v/0.14.0>)
