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

# chatcc-agent@0.8.9 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 AI-agent capability risk** — Allowed by default with warning: agent-facing configuration or capability changes need review before use.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Warn-only AI-agent capability risk
- **Public report status:** Published
- **Threat category:** AI-agent capability abuse
- **Selected version:** 0.8.9
- **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.

No malicious install-time behavior or covert payload was found, but the package exposes a high-impact remote agent capability beyond the constrained safe terminal path. Warn rather than block because activation is explicit and IM senders are paired.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 89.0%
- **Started:** 2026-08-02T09:07:34.972Z
- **Finished:** 2026-08-02T09:09:05.469Z
- **Download time:** 508 ms
- **Static scan time:** 1298 ms
- **AI review time:** 88691 ms
- **Total time:** 90497 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:** After explicit pairing and daemon startup, a paired IM client can request an advanced PTY shell command. An explicit Studio command can also expose authenticated, scoped remote file and terminal actions.

- **Trigger:** User runs chatcc pair/start or chatcc cclink-studio; paired client sends a command.

- **Impact:** A compromised or over-trusted paired client could execute commands and access permitted workspace files.

- **Evidence paths:** package.json, src/index.js, src/terminal-bridge.js, src/security.js, src/cclink-studio-remote.js, src/daemon.js

- **Review source:** ai\_review

- **Reviewed:** 2026-08-02T09:09:05.469Z

### AI review details

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

- **Mechanism:** Authenticated remote agent control with optional unrestricted PTY execution.

- **Rationale:** No malicious install-time behavior or covert payload was found, but the package exposes a high-impact remote agent capability beyond the constrained safe terminal path. Warn rather than block because activation is explicit and IM senders are paired.

- **Files touched:** src/index.js, src/terminal-bridge.js, src/cclink-studio-remote.js, /etc/systemd/system/chatcc-agent.service, ~/.chatcc/credentials.json

- **Network endpoints:** https://\<tcb\_env\>.service.tcloudbase.com/index

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 89.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** src/index.js accepts paired-client terminal\_command with advanced\_mode., src/terminal-bridge.js runs advanced commands through a PTY shell., src/cclink-studio-remote.js exposes scoped remote file, terminal, and runtime actions., src/daemon.js can install a boot-persistent systemd service on explicit command.

- **Evidence against:** package.json has no preinstall/install/postinstall lifecycle hook., src/index.js rejects messages from unpaired IM senders., src/security.js constrains safe terminal mode and workspace paths., src/daemon.js requires explicit service install and writable /etc/systemd/system.

## Affected versions and remediation

This report applies to chatcc-agent@0.8.9.

- Review the evidence and your use of chatcc-agent@0.8.9 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. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

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

Package source references network APIs.

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

Package source references environment variables.

### 4. Medium: Install Persistence
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** src/daemon.js
- **Public source:** [View source](<https://unpkg.com/chatcc-agent@0.8.9/src/daemon.js>)

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

Public source snippet (untrusted):

```javascript
L1: const { spawn, execFileSync } = require('child_process');
L2: const fs = require('fs');
...
L32: 
L33: const CHATCC_DIR = path.join(os.homedir(), '.chatcc');
L34: const PID_FILE = path.join(CHATCC_DIR, 'agent.pid');
...
L59: function isSystemdServiceActive() {
L60: if (process.platform !== 'linux' || !fs.existsSync(SERVICE_FILE)) return false;
L61: try {
...
L72: if (!fs.existsSync(credFile)) return false;
L73: const data = JSON.parse(fs.readFileSync(credFile, 'utf-8'));
L74: if (!data.expires_at) return false;
...
L82: const logFd = fs.openSync(logPath, 'a');
```

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

Package source references filesystem APIs.

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 8. High: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** src/daemon.js
- **Public source:** [View source](<https://unpkg.com/chatcc-agent@0.8.9/src/daemon.js>)

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 = chatcc-agent@0.7.99
matchedIdentity = npm:Y2hhdGNjLWFnZW50:0.7.99
similarity = 0.800
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:** 2
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 4

### Published dependency entries
- @tencentcloud/chat 3.6.6 (Dependency)
- ws 8.21.0 (Dependency)
- @anthropic-ai/claude-agent-sdk ^0.3.204 (OptionalDependency)
- node-pty ^1.0.0 (OptionalDependency)

## Package metadata
- **Package:** chatcc-agent
- **Ecosystem:** npm
- **Version:** 0.8.9
- **License:** MIT
- **Version published:** 2026-07-17T16:38:46.412Z
- **Package first seen:** 2026-07-19T14:47:15.094Z
- **Package last seen:** 2026-11-23T16:00:47.291Z
- **Known versions:** 46
- **Latest version:** 0.8.50
- **Appeal under review:** No
- **Description:** CCLink Agent - bridges Claude Code CLI with instant messaging
- **Author:** CCLink
- **Maintainers:** liunux1992
- **Keywords:** claude, claude-code, ai-agent, chat, coding-assistant
- **Runtime engines:** node: \>=16.0.0
- **Supported OS:** darwin, linux, win32
- **Artifact files:** 71
- **Artifact unpacked size:** 751,593 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/chatcc-agent/v/0.8.9>)
- [Repository](<https://github.com/nicepkg/chatcc-agent>)
- [Homepage](<https://github.com/nicepkg/chatcc-agent#readme>)
- [Issues](<https://github.com/nicepkg/chatcc-agent/issues>)
