---
canonical: "https://firewall.lpm.dev/npm/@cakagus/codeclaw/v/1.7.2"
markdown: "https://firewall.lpm.dev/npm/@cakagus/codeclaw/v/1.7.2.md"
package: "@cakagus/codeclaw"
report_status: "published"
title: "@cakagus/codeclaw@1.7.2 npm security report"
verdict: "clean"
version: "1.7.2"
---

# @cakagus/codeclaw@1.7.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
**Allowed — no malicious behavior detected** — 16 low-signal patterns reviewed and cleared.

- **Verdict:** Clean
- **Product-default install policy:** Allow
- **Firewall policy:** No policy match
- **Public report status:** Published
- **Threat category:** None published
- **Selected version:** 1.7.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: clean; recommendation: mark clean. This assessment is supporting evidence; the published decision above determines the current policy.

The manifest has no install lifecycle hooks, and the inspected credential flows send provider keys to the corresponding provider for the feature using them. MCP startup depends on configured servers, while doctor fixes require explicit --fix invocation.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Clean
- **Recorded analysis confidence:** 91.0%
- **Started:** 2026-11-07T18:37:08.873Z
- **Finished:** 2026-11-07T18:37:55.549Z
- **Download time:** 511 ms
- **Static scan time:** 503 ms
- **AI review time:** 45661 ms
- **Total time:** 46676 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:** No attack was identified; network, process, and file operations support the configured coding agent and its explicitly launched services.

- **Trigger:** User launches the CLI or Telegram bot; configured provider and MCP features run as needed.

- **Impact:** Expected agent functions include provider requests, configured MCP tools, and local runtime files; no unrelated collection or hidden persistence was found.

- **Review source:** ai\_review

- **Reviewed:** 2026-11-07T18:37:55.549Z

### AI review details

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

- **Mechanism:** Provider credentials are sent to their matching services, and MCP connections use servers from the user's configuration.

- **Rationale:** The manifest has no install lifecycle hooks, and the inspected credential flows send provider keys to the corresponding provider for the feature using them. MCP startup depends on configured servers, while doctor fixes require explicit --fix invocation.

- **Files touched:** telegram.js, index.js, lib/mcp.js, lib/doctor.js

- **Network endpoints:** https://api.exa.ai/contents, https://api.exa.ai/search, https://api.exa.ai/embeddings, https://api.groq.com/openai/v1/audio/transcriptions

### Review decision

- **Verdict:** Clean

- **Confidence:** 91.0%

- **Recommended action:** mark\_clean

- **Intent class:** Benign

- **False-positive risk:** Low

- **Evidence for AI clean decision:** package.json declares no install, preinstall, or postinstall lifecycle script., Exa API keys are sent to Exa endpoints for web search, page contents, and embeddings., Groq API key is used with Groq’s transcription endpoint when processing voice messages., MCP servers start from the user’s configured server list; disabled entries are skipped., Doctor mode is invoked as an explicit CLI command, and its fixes require --fix., Telegram polling starts when the user launches the Telegram command.

## Affected versions and remediation

This report applies to @cakagus/codeclaw@1.7.2.

- No action is needed for @cakagus/codeclaw@1.7.2. Pin the version in your lockfile and check new releases as they are scanned.

## Public findings

These are automated scan signals. The review checked each one and found no malicious behavior, so all of them are cleared.

### 1. Low: Scripts Present (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. Medium: Dynamic Require (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** telegram.js
- **Public source:** [View source](<https://unpkg.com/@cakagus/codeclaw@1.7.2/telegram.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L317: await tg.sendMessage(chatId, "⏳ Mengambil data real-time XAU/USD...").catch(() => {});
L318: const { spawn } = await import("node:child_process");
L319: const output = await new Promise((resolve) => {
```

### 3. Medium: Network (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 4. Medium: Environment Vars (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 5. Medium: Install Persistence (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** lib/doctor.js
- **Public source:** [View source](<https://unpkg.com/@cakagus/codeclaw@1.7.2/lib/doctor.js>)

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

Public source snippet (untrusted):

```javascript
L2: import path from "node:path";
L3: import { execSync } from "node:child_process";
L4: import { CONFIG_FILE, SKILLS_DIR, SKILLS_INDEX, IS_LEGACY } from "./paths.js";
...
L7: try {
L8: return { ok: true, out: execSync(cmd, { encoding: "utf8", stdio: "pipe", timeout: 10000, shell: "/bin/bash" }).trim() };
L9: } catch (e) {
L10: return { ok: false, out: (e.stdout || "").toString().trim(), err: (e.stderr || e.message || "").toString().trim() };
L11: }
...
L13: 
L14: async function tryFetch(url, opts = {}) {
L15: try {
...
L23: function isTermux() {
```

### 6. Low: Filesystem (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 7. Low: High Entropy Strings (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 8. Low: Url Strings (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 9. Medium: Ships Build Helper (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** bin/tokenobral-deploy.sh
- **Public source:** [View source](<https://unpkg.com/@cakagus/codeclaw@1.7.2/bin/tokenobral-deploy.sh>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```shell
path = bin/tokenobral-deploy.sh
kind = build_helper
sizeBytes = 893
magicHex = [redacted]
```

### 10. Medium: Structural Risk Force Deep Review (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Artifact Inventory
- **Confidence:** 85.0%

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

### 11. Low: No License (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest does not declare a clear license.

### 12. High: Known Malware Source Similarity (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/tools.js
- **Public source:** [View source](<https://unpkg.com/@cakagus/codeclaw@1.7.2/lib/tools.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = @cakagus/codeclaw@1.5.2
matchedPath = lib/tools.js
matchedIdentity = npm:QGNha2FndXMvY29kZWNsYXc:1.5.2
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 13. High: Known Malware Source Similarity (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/doctor.js
- **Public source:** [View source](<https://unpkg.com/@cakagus/codeclaw@1.7.2/lib/doctor.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = @cakagus/codeclaw@1.5.2
matchedPath = lib/doctor.js
matchedIdentity = npm:QGNha2FndXMvY29kZWNsYXc:1.5.2
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 14. High: Known Malware Source Similarity (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** scripts/gen-badges.mjs
- **Public source:** [View source](<https://unpkg.com/@cakagus/codeclaw@1.7.2/scripts/gen-badges.mjs>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = @cakagus/codeclaw@1.5.2
matchedPath = scripts/gen-badges.mjs
matchedIdentity = npm:QGNha2FndXMvY29kZWNsYXc:1.5.2
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 15. High: Known Malware Source Similarity (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** lib/research.js
- **Public source:** [View source](<https://unpkg.com/@cakagus/codeclaw@1.7.2/lib/research.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = @cakagus/codeclaw@1.5.2
matchedPath = lib/research.js
matchedIdentity = npm:QGNha2FndXMvY29kZWNsYXc:1.5.2
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 16. High: Previous Version Dangerous Delta (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** telegram.js
- **Public source:** [View source](<https://unpkg.com/@cakagus/codeclaw@1.7.2/telegram.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 = @cakagus/codeclaw@1.7.1
matchedIdentity = npm:QGNha2FndXMvY29kZWNsYXc:1.7.1
similarity = 0.981
summary = stored previous version shares package body but lacks this dangerous source file
```

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

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

### Published dependency entries
- @ai-sdk/anthropic ^4.0.92 (Dependency)
- @ai-sdk/google ^4.0.108 (Dependency)
- @ai-sdk/openai ^4.0.105 (Dependency)
- @ai-sdk/react ^4.0.161 (Dependency)
- @modelcontextprotocol/sdk ^1.32.2 (Dependency)
- ai ^7.0.157 (Dependency)
- mcp-auth ^1.0.0-beta.1 (Dependency)
- node-cron ^4.6.0 (Dependency)
- zod ^4.6.7 (Dependency)
- undici ^8.12.3 (OptionalDependency)

## Package metadata
- **Package:** @cakagus/codeclaw
- **Ecosystem:** npm
- **Version:** 1.7.2
- **Version published:** 2026-11-07T18:33:45.706Z
- **Package first seen:** 2026-10-30T19:15:04.707Z
- **Package last seen:** 2026-11-25T13:18:21.198Z
- **Known versions:** 14
- **Latest version:** 1.7.3
- **Appeal under review:** No
- **Description:** \<div align="center"\>
- **Maintainers:** cakagus
- **Runtime engines:** node: \>=22.5.0
- **Artifact files:** 60
- **Artifact unpacked size:** 411,912 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@cakagus/codeclaw/v/1.7.2>)
