---
canonical: "https://firewall.lpm.dev/npm/@triflux/remote/v/10.47.0"
markdown: "https://firewall.lpm.dev/npm/@triflux/remote/v/10.47.0.md"
package: "@triflux/remote"
report_status: "published"
title: "@triflux/remote@10.47.0 npm security report"
verdict: "suspicious"
version: "10.47.0"
---

# @triflux/remote@10.47.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 — allowed with a warning** — Allowed by default policy, but 16 findings warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Credential exfiltration
- **Selected version:** 10.47.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.

The helper conditionally forwards a locally stored hub token to an unrestricted configured destination, which leaves a real credential-exposure risk. The default is loopback and the transfer is not shown reaching a publisher-selected recipient, so the evidence supports a warning rather than a block.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 90.0%
- **Started:** 2026-10-22T21:26:27.031Z
- **Finished:** 2026-10-22T21:27:49.721Z
- **Download time:** 1272 ms
- **Static scan time:** 3352 ms
- **AI review time:** 78066 ms
- **Total time:** 82690 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:** Session registration can expose the local hub token when the configured destination is unintended. The helper accepts a caller or environment-selected URL without a destination restriction.

- **Trigger:** A caller registers a Synapse session while TFX\_HUB\_URL or a caller-provided base URL points to an unintended recipient.

- **Impact:** The selected recipient can receive the hub token and session metadata; the default destination is loopback.

- **Evidence paths:** hub/team/synapse-http.mjs, hub/team/headless.mjs

- **Review source:** ai\_review

- **Reviewed:** 2026-10-22T21:27:49.721Z

### AI review details

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

- **Mechanism:** The helper reads the local hub token and attaches it as a Bearer header to the registration request unless forwarding is disabled.

- **Rationale:** The helper conditionally forwards a locally stored hub token to an unrestricted configured destination, which leaves a real credential-exposure risk. The default is loopback and the transfer is not shown reaching a publisher-selected recipient, so the evidence supports a warning rather than a block.

- **Network endpoints:** TFX\_HUB\_URL, http://127.0.0.1

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 90.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** The manifest identifies version 10.47.0 and exports hub/index.mjs; it declares no lifecycle scripts., The Synapse helper reads the hub token from TFX\_HUB\_TOKEN or the local token file, and sends it in a Bearer header unless token forwarding is explicitly disabled., The helper accepts TFX\_HUB\_URL as its base URL without restricting the destination; absent that setting, it uses loopback., Headless worker registration calls the helper without disabling token forwarding or supplying a destination., The other flagged runtime operations format status output, inspect recent output for input waits, and normalize worktree paths.

- **Evidence against:** The default Synapse destination is loopback; exposure requires configuring TFX\_HUB\_URL or passing a caller-provided base URL., The inspected TUI, health probe, and prompt-building operations do not perform account actions or credential transfers.

## Affected versions and remediation

This report applies to @triflux/remote@10.47.0.

- Review the evidence and your use of @triflux/remote@10.47.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: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** cto/collect.mjs
- **Public source:** [View source](<https://unpkg.com/@triflux/remote@10.47.0/cto/collect.mjs>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L1: import { execFileSync } from "node:child_process";
L2: import {
```

### 2. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** hub/tray.mjs
- **Public source:** [View source](<https://unpkg.com/@triflux/remote@10.47.0/hub/tray.mjs>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L287: const url = getDashboardUrl();
L288: const shell = process.env.ComSpec || "cmd.exe";
L289: const chrome = findChromePath();
```

### 3. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** scripts/lib/toml.mjs
- **Public source:** [View source](<https://unpkg.com/@triflux/remote@10.47.0/scripts/lib/toml.mjs>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L5: 
L6: const require = createRequire(import.meta.url);
L7: let TOML = null;
```

### 4. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** hub/workers/lib/jsonrpc-ws-uds.mjs
- **Public source:** [View source](<https://unpkg.com/@triflux/remote@10.47.0/hub/workers/lib/jsonrpc-ws-uds.mjs>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L1: // hub/workers/lib/jsonrpc-ws-uds.mjs
L2: // JSON-RPC 2.0 client over WebSocket-over-Unix-Domain-Socket.
L3: //
...
L57: if (len < 126) {
L58: header = Buffer.from([0x80 | opcode, 0x80 | len]);
L59: } else if (len < 65536) {
...
L179: "Sec-WebSocket-Version: 13\r\n\r\n";
L180: socket.write(req);
L181: });
```

### 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. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** scripts/lib/hub.mjs
- **Public source:** [View source](<https://unpkg.com/@triflux/remote@10.47.0/scripts/lib/hub.mjs>)

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

Public source snippet (untrusted):

```javascript
L1: import { spawn } from "node:child_process";
L2: 
...
L12: export async function restartHub({
L13: hubUrl = process.env.TFX_HUB_URL || "http://127.0.0.1:27888",
L14: hubServer,
```

### 9. High: Credential Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** hub/team/synapse-http.mjs
- **Public source:** [View source](<https://unpkg.com/@triflux/remote@10.47.0/hub/team/synapse-http.mjs>)

Source combines credential-like environment material and outbound requests; review data flow before blocking.

Public source snippet (untrusted):

```javascript
L1: import { execFileSync } from "node:child_process";
L2: import { createHash } from "node:crypto";
...
L11: // packages/core mirror (which cannot carry relative cross-package imports).
L12: const HUB_TOKEN_FILE = join(homedir(), ".claude", ".tfx-hub-token");
L13: 
...
L29: .update(String(value || ""))
L30: .digest("base64url")
L31: .slice(0, 22)}`;
...
L42: function resolveProjectId(cwd, meta, opts = {}) {
L43: const explicit = meta?.project_id || process.env.TFX_PROJECT_ID;
L44: if (explicit) return normalizedProjectId(explicit);
...
L106: process.env.TFX_HOST_ID ||
```

### 10. High: Trigger Reachable Credential Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** hub/team/synapse-http.mjs
- **Public source:** [View source](<https://unpkg.com/@triflux/remote@10.47.0/hub/team/synapse-http.mjs>)

A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable credential exfiltration chain: manifest.main -> hub/index.mjs -> hub/team/conductor.mjs -> hub/team/synapse-http.mjs
L1: import { execFileSync } from "node:child_process";
L2: import { createHash } from "node:crypto";
...
L11: // packages/core mirror (which cannot carry relative cross-package imports).
L12: const HUB_TOKEN_FILE = join(homedir(), ".claude", ".tfx-hub-token");
L13: 
...
L29: .update(String(value || ""))
L30: .digest("base64url")
L31: .slice(0, 22)}`;
...
L42: function resolveProjectId(cwd, meta, opts = {}) {
L43: const explicit = meta?.project_id || process.env.TFX_PROJECT_ID;
L44: if (explicit) return normalizedProjectId(explicit);
...
L106: process.env.TFX_HOST_ID ||
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 13. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** scripts/lib/codex-recovery.sh
- **Public source:** [View source](<https://unpkg.com/@triflux/remote@10.47.0/scripts/lib/codex-recovery.sh>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```shell
path = scripts/lib/codex-recovery.sh
kind = build_helper
sizeBytes = 3519
magicHex = [redacted]
```

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

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

### 15. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** hub/team/interactive-tui-transport.mjs\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/@triflux/remote@10.47.0/hub/team/interactive-tui-transport.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 = 4
```

### 16. Critical: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** hub/team/headless.mjs
- **Public source:** [View source](<https://unpkg.com/@triflux/remote@10.47.0/hub/team/headless.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 = @triflux/remote@10.41.1
matchedIdentity = npm:QHRyaWZsdXgvcmVtb3Rl:10.41.1
similarity = 0.600
summary = stored previous version shares package body but lacks this dangerous source file
```

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

- **Dependencies:** 7
- **Optional dependencies:** 0
- **Peer dependencies:** 1
- **Development dependencies:** 0
- **Published dependency-graph edges:** 8

### Published dependency entries
- @modelcontextprotocol/sdk ^1.27.1 (Dependency)
- ajv ^8.18.0 (Dependency)
- better-sqlite3 ^12.10.0 (Dependency)
- pino ^10.3.1 (Dependency)
- pino-pretty ^13.1.3 (Dependency)
- systray2 ^2.1.4 (Dependency)
- zod ^4.0.0 (Dependency)
- @triflux/core ^10.0.0-alpha.1 (PeerDependency)

## Package metadata
- **Package:** @triflux/remote
- **Ecosystem:** npm
- **Version:** 10.47.0
- **License:** MIT
- **Version published:** 2026-09-24T05:16:16.912Z
- **Package first seen:** 2026-07-01T05:41:03.984Z
- **Package last seen:** 2026-11-22T23:15:02.635Z
- **Known versions:** 69
- **Latest version:** 11.0.0
- **Appeal under review:** No
- **Description:** triflux remote — team mode, psmux, MCP workers, SQLite store.
- **Author:** tellang
- **Maintainers:** tellang
- **Keywords:** triflux, team-mode, psmux, remote, mcp-workers
- **Runtime engines:** node: \>=18.0.0
- **Artifact files:** 196
- **Artifact unpacked size:** 2,027,017 bytes
- **Artifact signatures:** 2
- **Attestations:** Yes
- **Provenance:** https://slsa.dev/provenance/v1

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@triflux/remote/v/10.47.0>)
- [Repository](<https://github.com/tellang/triflux>)
- [Homepage](<https://github.com/tellang/triflux#readme>)
- [Issues](<https://github.com/tellang/triflux/issues>)
