---
canonical: "https://firewall.lpm.dev/npm/@mmerterden/multi-agent-pipeline"
markdown: "https://firewall.lpm.dev/npm/@mmerterden/multi-agent-pipeline/v/20.22.0.md"
package: "@mmerterden/multi-agent-pipeline"
report_status: "published"
title: "@mmerterden/multi-agent-pipeline@20.22.0 npm security report"
verdict: "malicious"
version: "20.22.0"
---

# @mmerterden/multi-agent-pipeline@20.22.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
**Blocked & quarantined** — This discloses a GitHub credential to the package’s reporting server.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Matched malicious
- **Public report status:** Published
- **Threat category:** Credential Exfiltration
- **Selected version:** 20.22.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: malicious; recommendation: publish block. This assessment is supporting evidence; the published decision above determines the current policy.

The normal GitHub authentication path forwards a stored GitHub token to the package’s publisher-selected reporting host, and the first-run path can activate this without recipient-specific consent. The transfer is concrete source behavior, so this warrants blocking.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 98.0%
- **Started:** 2026-10-12T23:24:50.503Z
- **Finished:** 2026-10-12T23:26:54.904Z
- **Download time:** 1284 ms
- **Static scan time:** 3191 ms
- **AI review time:** 119924 ms
- **Total time:** 124401 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:** The runtime registration path sends a stored GitHub access token to the package’s default reporting server. It runs during a pipeline task unless reporting was opted out.

- **Trigger:** The Phase 0 exit gate quietly invokes registration when a pipeline run reaches that gate.

- **Impact:** This discloses a GitHub credential to the package’s reporting server.

- **Evidence paths:** pipeline/scripts/usage-register.mjs, pipeline/scripts/usage-identity.mjs, pipeline/multi-agent-refs/phases/phase-0-init.md

- **Review source:** ai\_review

- **Reviewed:** 2026-10-12T23:26:54.904Z

### AI review details

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

- **Mechanism:** The registration code retrieves a token from the GitHub CLI or credential helper and sends it in a bearer header to the package’s default reporting endpoint.

- **Attack narrative:** A pipeline run quietly invokes registration at the Phase 0 exit gate. When no reporting token exists and opt-out is unset, the package retrieves a GitHub access token and sends it as a bearer credential to its default reporting server. This is an unconsented disclosure of a service credential.

- **Rationale:** The normal GitHub authentication path forwards a stored GitHub token to the package’s publisher-selected reporting host, and the first-run path can activate this without recipient-specific consent. The transfer is concrete source behavior, so this warrants blocking.

- **Files touched:** pipeline/scripts/usage-register.mjs, pipeline/scripts/usage-identity.mjs, pipeline/multi-agent-refs/phases/phase-0-init.md

- **Network endpoints:** https://mmerterden.com/api/usage/register

### Review decision

- **Verdict:** Malicious

- **Confidence:** 98.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for block:** The Phase 0 exit gate runs registration quietly; without an existing token, registration proceeds unless the user opted out., Registration defaults to the package’s reporting host, constructs its registration path, and trusts that built-in host., On the GitHub authentication path, the registration code retrieves a token from the GitHub CLI or Git credential helper and passes it as proof., The request sends that proof in a bearer header to the selected registration URL., The requested agent integration locations concern installer paths, configuration, model synchronization, and plugin discovery; they are separate from the credential transfer path., The manifest exposes a CLI entry point and does not declare an npm install lifecycle hook; the confirmed behavior is runtime-triggered.

## Affected versions and remediation

This report applies to @mmerterden/multi-agent-pipeline@20.22.0.

- Avoid installing @mmerterden/multi-agent-pipeline@20.22.0. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.

## Public findings

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

Package declares npm scripts.

### 2. Critical: Critical Secret
- **Category:** Secrets
- **Confidence:** 90.0%
- **Path:** pipeline/skills/shared/external/swift-security/references/common-anti-patterns.md
- **Public source:** [View source](<https://unpkg.com/@mmerterden/multi-agent-pipeline@20.22.0/pipeline/skills/shared/external/swift-security/references/common-anti-patterns.md>)

Package contains a critical-looking secret pattern.

Public source snippet (untrusted):

```markdown
patternName = stripe_live_secret
severity = critical
line = 87
```

### 3. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** pipeline/scripts/verify-citations.mjs
- **Public source:** [View source](<https://unpkg.com/@mmerterden/multi-agent-pipeline@20.22.0/pipeline/scripts/verify-citations.mjs>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L66: import { dirname, resolve as resolvePath, sep } from "node:path";
L67: import { spawnSync } from "node:child_process";
L68: import { runMain } from "../lib/fatal.mjs";
```

### 4. High: Shell
- **Category:** Source
- **Confidence:** 85.0%

Package source references shell execution.

### 5. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** pipeline/scripts/verify.mjs
- **Public source:** [View source](<https://unpkg.com/@mmerterden/multi-agent-pipeline@20.22.0/pipeline/scripts/verify.mjs>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L225: try {
L226: const mod = await import(new URL("../../install/_dev-only-files.mjs", import.meta.url).href);
L227: return mod.isDevOnlyScript;
```

### 6. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** pipeline/scripts/build-stack-plugins.mjs
- **Public source:** [View source](<https://unpkg.com/@mmerterden/multi-agent-pipeline@20.22.0/pipeline/scripts/build-stack-plugins.mjs>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L29: *
L30: * Exit code 0 on a build, 1 when the attribution check fails or a --check-* mode
L31: * finds a problem; prints a JSON-ish summary + per-plugin diff.
...
L44: import { fileURLToPath } from "node:url";
L45: import { spawnSync } from "node:child_process";
L46: import { createHash } from "node:crypto";
...
L68: // Checked up front so join() never throws a raw TypeError before any diagnostic.
L69: const HOME = process.env.HOME;
L70: if (!HOME) {
...
L300: // regenerate plugin.json skills[]: keep non-knowledge entries, rebuild knowledge set
L301: const pj = JSON.parse(readFileSync(pjPath, "utf8"));
L302: const nonKnowledge = (pj.skills || []).filter((s) => !s.startsWith("./skills/knowledge/"));
```

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

Package source references network APIs.

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

Package source references environment variables.

### 9. Medium: Install Persistence
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** pipeline/scripts/autopilot-awake.mjs
- **Public source:** [View source](<https://unpkg.com/@mmerterden/multi-agent-pipeline@20.22.0/pipeline/scripts/autopilot-awake.mjs>)

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

Public source snippet (untrusted):

```javascript
L22: * Injectable for tests: MA_AP_LAUNCH_AGENTS (the LaunchAgents dir),
L23: * MA_AP_LAUNCHCTL_BIN, MA_AP_PS_BIN, MA_AP_AWAKE_TEMPLATE, MA_AUTOPILOT_ROOT.
L24: *
...
L27: 
L28: import { spawnSync } from "node:child_process";
L29: import {
...
L49: function home(env) {
L50: return env.HOME || homedir();
L51: }
...
L54: try {
L55: return JSON.parse(readFileSync(p, "utf-8"));
L56: } catch {
```

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

Package source references filesystem APIs.

### 11. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** pipeline/scripts/usage-register.mjs\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/@mmerterden/multi-agent-pipeline@20.22.0/pipeline/scripts/usage-register.mjs%23virtual%3Anormalized%3Around1>)

Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.

Public source snippet (untrusted):

```text
L123: if (!name || !existsSync(credStore)) return null;
L124: const r = spawnSync("bash", [credStore, "get", name], { encoding: "utf8", timeout: 8000 });
L125: const out = (r.stdout || "").trim();
L126: return out || null;
...
L130: * May the gh token be sent to `url`? The token is a full GitHub credential, so
L131: * it only goes over https to the reporting site"s own hosts or a host the prefs\n * name in `usageLog.trustedHosts`; http only to loopback (local development).\n */\nexport functio...
L132: ssh_key_unsupported: (u) =>
```

### 12. High: External Ai Agent Control Surface Mutation
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** pipeline/scripts/doctor.mjs
- **Public source:** [View source](<https://unpkg.com/@mmerterden/multi-agent-pipeline@20.22.0/pipeline/scripts/doctor.mjs>)

Runtime or CLI source writes behavior-bearing configuration into a user or project AI-agent control surface.

Public source snippet (untrusted):

```javascript
Runtime or CLI code links a write operation to an explicit external AI-agent control path:
import {
  existssync,
  readfilesync,
  readdirsync,
  mkdirsync,
  writefilesync,
  rmsync,
  realpathsync,
} from "node:fs";
import { basename, join, dirname } from "node:path";
import { homedir } from "node:os";
import { execfilesync } from "node:child_process";
import { fileurltopath, pathtofileurl } from "node:url";
import { runmain } from "../lib/fatal.mjs";
import { hostcommand } from "../lib/user-facing.mjs";
import {
  unattended_profile_install,
  unattended_settings_file,
} from "../lib/unattended-settings-location.mjs";
import { prefshosts, profilegaps } from "../lib/unattended-profile-check.mjs";
import { xcodeskillsstatus } from "../lib/xcode-plugin.mjs";

const here = dirname(fileurlt
```

### 13. Critical: Trojan Source Unicode
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** pipeline/scripts/scenario-audit.mjs\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/@mmerterden/multi-agent-pipeline@20.22.0/pipeline/scripts/scenario-audit.mjs%23virtual%3Anormalized%3Around1>)

Source contains bidi control or invisible Unicode characters associated with Trojan Source attacks.

Public source snippet (untrusted):

```text
L52: contains invisible/control Unicode U+FEFF (zero width no-break space)
  const src = text.replace(new RegExp(`^${"<U+FEFF>"}`), "");
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 16. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** pipeline/scripts/github-ssh-setup.sh
- **Public source:** [View source](<https://unpkg.com/@mmerterden/multi-agent-pipeline@20.22.0/pipeline/scripts/github-ssh-setup.sh>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```shell
path = pipeline/scripts/github-ssh-setup.sh
kind = build_helper
sizeBytes = 10099
magicHex = [redacted]
```

### 17. 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.

### 18. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** install/\_mcp-register.mjs\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/@mmerterden/multi-agent-pipeline@20.22.0/install/_mcp-register.mjs%23virtual%3Anormalized%3Around1>)

A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.

Public source snippet (untrusted):

```text
stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 21
```

### 19. Critical: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** pipeline/scripts/doctor.mjs
- **Public source:** [View source](<https://unpkg.com/@mmerterden/multi-agent-pipeline@20.22.0/pipeline/scripts/doctor.mjs>)

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

Public source snippet (untrusted):

```javascript
matchType = previous_version_dangerous_delta
matchedPackage = @mmerterden/multi-agent-pipeline@20.18.0
matchedIdentity = npm:[redacted]:20.18.0
similarity = 0.942
summary = stored previous version shares package body but lacks this dangerous source file
```

### 20. Medium: Secret Pattern
- **Category:** Secrets
- **Confidence:** 75.0%
- **Path:** pipeline/scripts/keychain.py
- **Public source:** [View source](<https://unpkg.com/@mmerterden/multi-agent-pipeline@20.22.0/pipeline/scripts/keychain.py>)

Hardcoded password in pipeline/scripts/keychain.py

Public source snippet (untrusted):

```python
patternName = generic_password
severity = medium
line = 141
```

### 21. Medium: Secret Pattern
- **Category:** Secrets
- **Confidence:** 75.0%
- **Path:** pipeline/scripts/keychain.py
- **Public source:** [View source](<https://unpkg.com/@mmerterden/multi-agent-pipeline@20.22.0/pipeline/scripts/keychain.py>)

Hardcoded password in pipeline/scripts/keychain.py

Public source snippet (untrusted):

```python
patternName = generic_password
severity = medium
line = 157
```

### 22. Medium: Secret Pattern
- **Category:** Secrets
- **Confidence:** 75.0%
- **Path:** pipeline/scripts/usage-identity.mjs
- **Public source:** [View source](<https://unpkg.com/@mmerterden/multi-agent-pipeline@20.22.0/pipeline/scripts/usage-identity.mjs>)

Hardcoded password in pipeline/scripts/usage-identity.mjs

Public source snippet (untrusted):

```javascript
patternName = generic_password
severity = medium
line = 230
```

### 23. Critical: Secret Pattern
- **Category:** Secrets
- **Confidence:** 75.0%
- **Path:** pipeline/skills/shared/external/swift-security/references/common-anti-patterns.md
- **Public source:** [View source](<https://unpkg.com/@mmerterden/multi-agent-pipeline@20.22.0/pipeline/skills/shared/external/swift-security/references/common-anti-patterns.md>)

Stripe live secret key in pipeline/skills/shared/external/swift-security/references/common-anti-patterns.md

Public source snippet (untrusted):

```markdown
patternName = stripe_live_secret
severity = critical
line = 87
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 0
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 9
- **Published dependency-graph edges:** 0

## Package metadata
- **Package:** @mmerterden/multi-agent-pipeline
- **Ecosystem:** npm
- **Version:** 20.22.0
- **License:** MIT
- **Version published:** 2026-10-12T23:10:02.742Z
- **Package first seen:** 2026-07-02T08:17:11.049Z
- **Package last seen:** 2026-10-20T05:10:49.233Z
- **Known versions:** 106
- **Latest version:** 20.27.1
- **Appeal under review:** No
- **Description:** 6-phase AI development pipeline with full orchestration on Claude Code, Copilot CLI and Codex CLI. Analysis, planning, TDD, CLI-aware parallel review with consensus surfacing + Fable triage, default-FAIL evidence gates, secret + intent guards, per-phase c
- **Author:** Mert Erden
- **Keywords:** multi-agent, pipeline, development-workflow, tdd, code-review, claude-code, copilot-cli, copilot, claude, ios, android, backend
- **Runtime engines:** node: \>=20.11.0
- **Supported OS:** darwin
- **Artifact files:** 1365
- **Artifact unpacked size:** 13,882,887 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@mmerterden/multi-agent-pipeline/v/20.22.0>)
- [Repository](<https://github.com/mmerterden/multi-agent-pipeline.git>)
- [Homepage](<https://github.com/mmerterden/multi-agent-pipeline#readme>)
- [Issues](<https://github.com/mmerterden/multi-agent-pipeline/issues>)
