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

# @clastres/groundcontrol@0.1.2 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.1.2
- **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 scanner's claimed remote decode/execute behavior is not present. The package intentionally establishes persistent, paired remote Claude-session control after user invocation, warranting a warning rather than a malicious block.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 91.0%
- **Started:** 2026-07-19T14:23:51.641Z
- **Finished:** 2026-07-19T14:24:17.836Z
- **Download time:** 510 ms
- **Static scan time:** 48 ms
- **AI review time:** 25637 ms
- **Total time:** 26195 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 CLI is an intentional remote-control bridge for local Claude Code sessions. An enrolled phone/key holder can receive session data and send prompts through the relay.

- **Trigger:** User runs `groundcontrol`/`npx @clastres/groundcontrol`; remote commands require the pairing key.

- **Impact:** Remote prompting of active Claude Code sessions and exposure of their transcript content to paired clients.

- **Evidence paths:** package.json, bin/groundcontrol.mjs, daemon.mjs, README.md

- **Review source:** ai\_review

- **Reviewed:** 2026-07-19T14:24:17.836Z

### AI review details

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

- **Mechanism:** Encrypted relay command channel plus terminal/Claude session control

- **Rationale:** The scanner's claimed remote decode/execute behavior is not present. The package intentionally establishes persistent, paired remote Claude-session control after user invocation, warranting a warning rather than a malicious block.

- **Files touched:** daemon.mjs, bin/groundcontrol.mjs, ~/.claude/sessions, ~/.claude/projects, ~/.groundcontrol/key, ~/.groundcontrol/relay, ~/.groundcontrol/service, ~/Library/LaunchAgents/chat.groundcontrol.daemon.plist

- **Network endpoints:** wss://relay.groundcontrol.chat

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 91.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Low

- **Evidence for warning:** daemon.mjs reads live Claude session metadata and transcripts from ~/.claude., daemon.mjs accepts relay commands and injects prompts into terminal/tmux or runs `claude --resume`., Default explicit CLI invocation on macOS installs a persistent launchd LaunchAgent., daemon.mjs connects to wss://relay.groundcontrol.chat and transmits encrypted session data.

- **Evidence against:** package.json has no preinstall, install, or postinstall lifecycle hook., No remote fetch, decode-and-execute, eval, Function, or dynamic module loading is present., Persistence is package-owned under ~/.groundcontrol and is created by explicit CLI use., Relay payloads are sealed with a locally generated ChaCha20-Poly1305 key.

## Affected versions and remediation

This report applies to @clastres/groundcontrol@0.1.2.

- Review the evidence and your use of @clastres/groundcontrol@0.1.2 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:** daemon.mjs
- **Public source:** [View source](<https://unpkg.com/@clastres/groundcontrol@0.1.2/daemon.mjs>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L15: import path from 'node:path';
L16: import { spawn, execFile, execSync } from 'node:child_process';
L17: import { promisify } from 'node:util';
```

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

Package source references shell execution.

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

Package source references environment variables.

### 4. Medium: Install Persistence
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** daemon.mjs
- **Public source:** [View source](<https://unpkg.com/@clastres/groundcontrol@0.1.2/daemon.mjs>)

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

Public source snippet (untrusted):

```javascript
L9: 
L10: import { WebSocket } from 'ws';
L11: import qrcode from 'qrcode-terminal';
...
L15: import path from 'node:path';
L16: import { spawn, execFile, execSync } from 'node:child_process';
L17: import { promisify } from 'node:util';
...
L68: const LABEL = 'chat.groundcontrol.daemon';
L69: const SERVICE_DIR = path.join(os.homedir(), '.groundcontrol', 'service');
L70: const PLIST_PATH = path.join(os.homedir(), 'Library', 'LaunchAgents', `${LABEL}.plist`);
...
L74: 
L75: const launchctl = (args) => {
L76: try { return execSync(`launchctl ${args}`, { stdio: 'pipe' }).toString(); }
```

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

Package source references filesystem APIs.

### 6. Critical: Remote Asset Decode Execute
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** daemon.mjs
- **Public source:** [View source](<https://unpkg.com/@clastres/groundcontrol@0.1.2/daemon.mjs>)

Source fetches a remote non-code asset, decodes its contents, and dynamically executes the decoded payload.

Public source snippet (untrusted):

```javascript
L9: 
L10: import { WebSocket } from 'ws';
L11: import qrcode from 'qrcode-terminal';
...
L15: import path from 'node:path';
L16: import { spawn, execFile, execSync } from 'node:child_process';
L17: import { promisify } from 'node:util';
...
L68: const LABEL = 'chat.groundcontrol.daemon';
L69: const SERVICE_DIR = path.join(os.homedir(), '.groundcontrol', 'service');
L70: const PLIST_PATH = path.join(os.homedir(), 'Library', 'LaunchAgents', `${LABEL}.plist`);
...
L74: 
L75: const launchctl = (args) => {
L76: try { return execSync(`launchctl ${args}`, { stdio: 'pipe' }).toString(); }
```

### 7. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** daemon.mjs
- **Public source:** [View source](<https://unpkg.com/@clastres/groundcontrol@0.1.2/daemon.mjs>)

A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable chain: manifest.bin -> bin/groundcontrol.mjs -> daemon.mjs
Reachable file contains a blocking source-risk pattern.
```

### 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: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

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

### 11. Critical: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** daemon.mjs
- **Public source:** [View source](<https://unpkg.com/@clastres/groundcontrol@0.1.2/daemon.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 = @clastres/groundcontrol@0.1.1
matchedIdentity = npm:QGNsYXN0cmVzL2dyb3VuZGNvbnRyb2w:0.1.1
similarity = 0.500
summary = stored previous version shares package body but lacks this dangerous source file
```

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

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

### Published dependency entries
- qrcode-terminal ^0.12.0 (Dependency)
- ws ^8.18.0 (Dependency)

## Package metadata
- **Package:** @clastres/groundcontrol
- **Ecosystem:** npm
- **Version:** 0.1.2
- **License:** MIT
- **Version published:** 2026-07-19T14:22:54.668Z
- **Package first seen:** 2026-07-19T14:16:53.066Z
- **Package last seen:** 2026-11-23T02:16:31.035Z
- **Known versions:** 10
- **Latest version:** 0.1.16
- **Appeal under review:** No
- **Description:** See and command your Claude Code sessions from your iPhone. Pairs the Ground Control app with the agents running on this Mac, end to end encrypted.
- **Author:** Carlos Lastres
- **Maintainers:** clastres
- **Keywords:** claude, claude-code, ai, agents, cli, ios, remote, monitor
- **Runtime engines:** node: \>=20
- **Artifact files:** 4
- **Artifact unpacked size:** 25,077 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@clastres/groundcontrol/v/0.1.2>)
- [Homepage](<https://groundcontrol.chat/>)
