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

# vibebook.dev@1.7.1 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:** 1.7.1
- **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 package’s documented \`herdr\` command automatically updates its Claude plugin during a long-running session, without a separate update request. The inspected credential flow goes to the Vibebook service, and the download command is only shown as a suggested setup step, so the evidence supports a warning rather than a malicious verdict.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 79.0%
- **Started:** 2026-11-19T02:21:57.561Z
- **Finished:** 2026-11-19T02:22:51.625Z
- **Download time:** 517 ms
- **Static scan time:** 350 ms
- **AI review time:** 53196 ms
- **Total time:** 54064 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 long-running \`herdr\` command automatically updates the Vibebook Claude plugin, creating an agent extension lifecycle risk.

- **Trigger:** A user starts \`vibebook herdr\` and leaves it running; the update check runs hourly unless \`VIBEBOOK\_NO\_PLUGIN\_UPDATE\` is set. \`--once\` skips the loop.

- **Impact:** The installed Claude plugin can be refreshed during room synchronization without the user separately requesting an update.

- **Evidence paths:** cli.mjs

- **Review source:** ai\_review

- **Reviewed:** 2026-11-19T02:22:51.625Z

### AI review details

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

- **Mechanism:** The CLI invokes \`claude plugin marketplace update vibebook\` and \`claude plugin update vibebook@vibebook\` without a separate update request.

- **Rationale:** The package’s documented \`herdr\` command automatically updates its Claude plugin during a long-running session, without a separate update request. The inspected credential flow goes to the Vibebook service, and the download command is only shown as a suggested setup step, so the evidence supports a warning rather than a malicious verdict.

- **Files touched:** ~/.vibebook/herdr.pid, ~/.claude/plugins/installed\_plugins.json (read to check the installed plugin version)

- **Network endpoints:** chat.decocms.com

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 79.0%

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

- **Intent class:** Unknown

- **False-positive risk:** Medium

- **Evidence for warning:** During a long-running \`vibebook herdr\` session, the CLI periodically invokes Claude’s marketplace and plugin update commands for Vibebook without a separate update request., The documented \`herdr\` command keeps Claude Code sessions synced with Vibebook rooms; the automatic update runs only in that command’s loop, and \`--once\` skips the loop.

- **Evidence against:** OAuth and MCP requests use the saved Vibebook service origin, with the session token sent to that origin’s \`/mcp\` endpoint., Login explicitly connects the machine to the service; no install lifecycle scripts are declared in the manifest., The setup URL appears in an error message as a suggested command and is not executed by the CLI.

## Affected versions and remediation

This report applies to vibebook.dev@1.7.1.

- Review the evidence and your use of vibebook.dev@1.7.1 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:** cli.mjs
- **Public source:** [View source](<https://unpkg.com/vibebook.dev@1.7.1/cli.mjs>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L3: // cli/vibebook.ts
L4: import { execFileSync, execSync, spawn } from "node:child_process";
L5: import { createHash, randomBytes } from "node:crypto";
```

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

Package source references shell execution.

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

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 6. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** cli.mjs
- **Public source:** [View source](<https://unpkg.com/vibebook.dev@1.7.1/cli.mjs>)

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

Public source snippet (untrusted):

```javascript
L3: // cli/vibebook.ts
L4: import { execFileSync, execSync, spawn } from "node:child_process";
L5: import { createHash, randomBytes } from "node:crypto";
L6: import { appendFileSync, chmodSync, closeSync, existsSync, fstatSync, mkdirSync, openSync, readdirSync, readFileSync, readSync, renameSync, rmSync, statSync, unlinkSync, writeFileS...
L7: import { createServer } from "node:http";
L8: import { homedir, hostname, tmpdir } from "node:os";
...
L10: var VERSION = "1.7.1";
L11: var HOME = process.env.VIBEBOOK_HOME || join(homedir(), ".vibebook");
L12: var SESSION = join(HOME, "session.json");
```

### 7. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** cli.mjs\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/vibebook.dev@1.7.1/cli.mjs%23virtual%3Anormalized%3Around1>)

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

Public source snippet (untrusted):

```text
L769: } catch (err) {
L770: log(`${title}: Claude aberto em ${e.folder}, esperando você confirmar no herdr (${String(err.stderr ?? err).match(/"message":"([^"]+)"/)?.[1] ?? "não ficou pronto"})`);\n    }\n  }...
L771: const book = u.searchParams.get("book") || "*", since = Number(u.searchParams.get("since") ?? -1);
```

### 8. High: External Ai Agent Control Surface Mutation
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** cli.mjs
- **Public source:** [View source](<https://unpkg.com/vibebook.dev@1.7.1/cli.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:
lback;
  }
};
var writeprivate = (f, data) => {
  mkdirsync(dirname(f), { recursive: true, mode: 448 });
  const tmp = `${f}.${process.pid}.tmp`;
  writefilesync(tmp, json.stringify(data, null, 2), { mode: 384 });
  chmodsync(tmp, 384);
  renamesync(tmp, f);
};
var argv = process.argv.slice(2);
var flags = {};
var pos = [];
for (let i = 0;i < argv.length; i++) {
  const a = argv[i];
  if (a.startswith("--")) {
    const [k, v] = a.slice(2).split("=", 2);
    if (v !== undefined)
      flags[k] = v;
    else if (argv[i + 1] !== undefined && !argv[i + 1].startswith("--"))
      flags[k] = argv[++i];
    else
      flags[k] = true;
  } else if (a === "-d")
    flags.data = argv[++i] ?? "";
  else
    po
```

### 9. High: Trigger Reachable Command Output Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** cli.mjs\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/vibebook.dev@1.7.1/cli.mjs%23virtual%3Anormalized%3Around1>)

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

Public source snippet (untrusted):

```text
Trigger-reachable command-output exfiltration chain: manifest.bin -> cli.mjs
L769: } catch (err) {
L770: log(`${title}: Claude aberto em ${e.folder}, esperando você confirmar no herdr (${String(err.stderr ?? err).match(/"message":"([^"]+)"/)?.[1] ?? "não ficou pronto"})`);\n    }\n  }...
L771: const book = u.searchParams.get("book") || "*", since = Number(u.searchParams.get("since") ?? -1);
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 12. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 79.0%
- **Path:** cli.mjs
- **Public source:** [View source](<https://unpkg.com/vibebook.dev@1.7.1/cli.mjs>)

During a long-running \`vibebook herdr\` session, the CLI periodically invokes Claude’s marketplace and plugin update commands for Vibebook without a separate update request.

Public source snippet (untrusted):

```javascript
const before = pluginVersion();
            execFileSync("claude", ["plugin", "marketplace", "update", "vibebook"], { stdio: "ignore", timeout: 120000 });
            execFileSync("claude", ["plugin", "update", "vibebook@vibebook"], { std
```

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

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

## Package metadata
- **Package:** vibebook.dev
- **Ecosystem:** npm
- **Version:** 1.7.1
- **License:** MIT
- **Version published:** 2026-11-19T02:06:05.056Z
- **Package first seen:** 2026-11-04T21:12:10.732Z
- **Package last seen:** 2026-11-22T11:21:48.949Z
- **Known versions:** 25
- **Latest version:** 1.7.7
- **Appeal under review:** No
- **Description:** vibebook CLI: your vibebook rooms from the terminal, for you and your Claude. One login per machine; room tools discovered at run time.
- **Maintainers:** firstdoit
- **Keywords:** vibebook, claude, agents, cli
- **Runtime engines:** node: \>=18
- **Artifact files:** 2
- **Artifact unpacked size:** 58,920 bytes
- **Artifact signatures:** 2
- **Attestations:** Yes
- **Provenance:** https://slsa.dev/provenance/v1

## References
- [HTML security report](<https://firewall.lpm.dev/npm/vibebook.dev/v/1.7.1>)
- [Repository](<https://github.com/decocms/chat>)
- [Homepage](<https://chat.decocms.com/>)
- [Issues](<https://github.com/decocms/chat/issues>)
