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

# purmemo-mcp@15.7.44 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 19 findings warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Telemetry warning (can be blocked)
- **Public report status:** Published
- **Threat category:** Telemetry
- **Selected version:** 15.7.44
- **Selected version is latest:** Yes
- **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 sends runtime error telemetry to its own service, including API response or exception text and tool metadata, without clear user-facing disclosure. This supports a warning for telemetry, but the reporter requires its token and the source does not show credential theft or unrelated collection.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 87.0%
- **Started:** 2026-11-12T17:38:14.256Z
- **Finished:** 2026-11-12T17:39:14.927Z
- **Download time:** 260 ms
- **Static scan time:** 1006 ms
- **AI review time:** 59404 ms
- **Total time:** 60671 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:** Undisclosed runtime error telemetry may send error text and tool metadata to Purmemo.

- **Trigger:** A remote MCP tool request encounters an API error or exception, and INCIDENT\_REPORT\_TOKEN is configured.

- **Impact:** Error details and tool usage metadata may be reported without user-facing disclosure; the reporter is inactive when its token is absent.

- **Evidence paths:** dist/lib/incident-reporter.js, dist/remote/start.js

- **Review source:** ai\_review

- **Reviewed:** 2026-11-12T17:39:14.927Z

### AI review details

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

- **Mechanism:** The server passes API response text or an exception message to a reporter that posts a normalized signature and tool metadata to the Purmemo API.

- **Rationale:** The package sends runtime error telemetry to its own service, including API response or exception text and tool metadata, without clear user-facing disclosure. This supports a warning for telemetry, but the reporter requires its token and the source does not show credential theft or unrelated collection.

- **Network endpoints:** https://api.purmemo.ai/api/v1/incidents/report, PURMEMO\_API\_URL/api/v1/incidents/report

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 87.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** Runtime incident reporting sends normalized error signatures, component names, and tool names to the Purmemo API., The remote server automatically submits API response text and caught error messages to the incident reporter during tool failures., The reporter is disabled when INCIDENT\_REPORT\_TOKEN is unset and normalizes error signatures before sending.

- **Evidence against:** The postinstall script only prints a setup suggestion; it does not run setup., Hook installation and configuration writes are part of an explicit setup flow, with a prompt for interactive use., The reporter targets the Purmemo API by default and sends no tool arguments in its request body.

## Affected versions and remediation

This report applies to purmemo-mcp@15.7.44.

- Review the evidence and your use of purmemo-mcp@15.7.44 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: Install Time Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/purmemo-mcp@15.7.44/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node -e "console.log('\\n🧠 pūrmemo MCP ready! Run: npx purmemo-mcp init\\n')"
```

### 2. Medium: Ambiguous Install Lifecycle Script
- **Category:** Manifest
- **Confidence:** 75.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/purmemo-mcp@15.7.44/package.json>)

Install-time lifecycle script is not statically allowlisted and needs review.

Public source snippet (untrusted):

```json
scripts.postinstall = node -e "console.log('\\n🧠 pūrmemo MCP ready! Run: npx purmemo-mcp init\\n')"
```

### 3. Low: Non Install Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 80.0%

Package declares lifecycle scripts that are not normally run for registry tarball installs.

### 4. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 5. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/auth/universal-auth.js
- **Public source:** [View source](<https://unpkg.com/purmemo-mcp@15.7.44/dist/auth/universal-auth.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L10: import * as readline from 'readline';
L11: import { execFile } from 'child_process';
L12: import { promisify } from 'util';
```

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

Package source references shell execution.

### 7. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/server.js
- **Public source:** [View source](<https://unpkg.com/purmemo-mcp@15.7.44/dist/server.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L87: const setupPath = path.join(__dirname, 'setup.js');
L88: import(setupPath).catch(err => { console.error(err); process.exit(1); });
L89: // setup.js manages its own process lifecycle
```

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

Package source references network APIs.

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

Package source references environment variables.

### 10. Medium: Install Persistence
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/auth/universal-auth.js
- **Public source:** [View source](<https://unpkg.com/purmemo-mcp@15.7.44/dist/auth/universal-auth.js>)

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

Public source snippet (untrusted):

```javascript
L10: import * as readline from 'readline';
L11: import { execFile } from 'child_process';
L12: import { promisify } from 'util';
...
L18: constructor() {
L19: this.configDir = path.join(os.homedir(), '.purmemo');
L20: this.configFile = path.join(this.configDir, 'universal-auth.json');
L21: this.apiUrl = 'https://api.purmemo.ai';
L22: if (!fs.existsSync(this.configDir)) {
...
L56: input: process.stdin,
L57: output: process.stdout
L58: });
...
L113: // SECURITY: Use execFile (no shell) to prevent command injection via URL
```

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

Package source references filesystem APIs.

### 12. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/auth/oauth-manager.js
- **Public source:** [View source](<https://unpkg.com/purmemo-mcp@15.7.44/dist/auth/oauth-manager.js>)

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

Public source snippet (untrusted):

```javascript
L8: import open from 'open';
L9: import { execFile } from 'child_process';
L10: import * as os from 'os';
...
L23: constructor(config = {}) {
L24: this.apiUrl = config.apiUrl || process.env.PURMEMO_API_URL || 'https://api.purmemo.ai';
L25: this.clientId = config.clientId || 'chatgpt-purmemo';
```

### 13. High: Trigger Reachable External Ai Agent Control Surface Mutation
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/setup.js
- **Public source:** [View source](<https://unpkg.com/purmemo-mcp@15.7.44/dist/setup.js>)

Manifest-trigger-reachable source writes behavior-bearing configuration into a user or project AI-agent control surface.

Public source snippet (untrusted):

```javascript
Manifest-trigger-reachable source links an external AI-agent control path to a behavior-bearing write operation.
execsync(`echo y | gemini extensions link "${extdir}"`, {
                    stdio: 'pipe',
                    timeout: 15000,
                });
                console.log(chalk.green('✅ gemini cli extension installed (hooks + commands)'));
            }
        }
        catch {
            console.log(chalk.green('✅ gemini cli extension prepared at ~/.purmemo/gemini-extension/'));
            console.log(chalk.gray('   to activate: gemini extensions link ~/.purmemo/gemini-extension/'));
        }
    }
    catch (err) {
        console.log(chalk.gray(`could not install gemini extension: ${err.message}`));
    }
}
```

### 14. High: Trigger Reachable Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/setup.js
- **Public source:** [View source](<https://unpkg.com/purmemo-mcp@15.7.44/dist/setup.js>)

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

Public source snippet (untrusted):

```javascript
Trigger-reachable persistence chain: manifest.bin -> dist/setup.js
L17: import * as readline from 'node:readline/promises';
L18: import { execSync } from 'node:child_process';
L19: import TokenStore from './auth/token-store.js';
...
L25: import { fileURLToPath } from 'node:url';
L26: const __dirname = path.dirname(fileURLToPath(import.meta.url));
L27: const API_URL = process.env.PURMEMO_API_URL || 'https://api.purmemo.ai';
L28: const APP_URL = process.env.PURMEMO_APP_URL || 'https://app.purmemo.ai';
...
L32: // (status/init/add/--update) reporting the same telemetry as MCP-server-spawned
L33: // calls. Lazy-initialized because readInstalledVersion() reads package.json.
L34: let _userAgentCache = null;
...
L39: try {
L40: const pkg = JSON.parse(fs.readFileSync(path.join(__dirname, '..', 'pa
```

### 15. High: Runtime Package Install
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** dist/hooks/purmemo\_lib.js
- **Public source:** [View source](<https://unpkg.com/purmemo-mcp@15.7.44/dist/hooks/purmemo_lib.js>)

Package source invokes a package manager install command at runtime.

Public source snippet (untrusted):

```javascript
L679: const { spawn } = await import('node:child_process');
L680: const child = spawn('npx', ['-y', 'purmemo-mcp@latest', '--update'], {
L681: timeout: 30_000,
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 18. 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.

### 19. Critical: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** dist/server.js
- **Public source:** [View source](<https://unpkg.com/purmemo-mcp@15.7.44/dist/server.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 = purmemo-mcp@15.7.40
matchedIdentity = npm:cHVybWVtby1tY3A:15.7.40
similarity = 0.818
summary = stored previous version shares package body but lacks this dangerous source file
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** postinstall, prepublishOnly
- **Dependencies:** 5
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 3
- **Published dependency-graph edges:** 5

### Published dependency entries
- @modelcontextprotocol/sdk ^1.16.0 (Dependency)
- chalk ^5.3.0 (Dependency)
- express ^4.18.2 (Dependency)
- open ^10.0.0 (Dependency)
- ora ^7.0.1 (Dependency)

## Package metadata
- **Package:** purmemo-mcp
- **Ecosystem:** npm
- **Version:** 15.7.44
- **License:** MIT
- **Version published:** 2026-11-12T17:34:38.328Z
- **Package first seen:** 2026-08-04T08:29:27.650Z
- **Package last seen:** 2026-11-12T17:39:14.927Z
- **Known versions:** 15
- **Latest version:** 15.7.44
- **Appeal under review:** No
- **Description:** MCP server for pūrmemo - AI conversation memory that works everywhere. Save and recall conversations across Claude Desktop, Cursor, and other MCP-compatible platforms. Intelligent context extraction, smart titles, living documents.
- **Author:** pūrmemo
- **Maintainers:** pur.memo, puomemo
- **Keywords:** mcp, model-context-protocol, memory, ai, claude, cursor, chatgpt, gemini, windsurf, zed, purmemo, second-brain
- **Runtime engines:** node: \>=18.0.0
- **Artifact files:** 176
- **Artifact unpacked size:** 2,199,291 bytes
- **Artifact signatures:** 2
- **Attestations:** Yes
- **Provenance:** https://slsa.dev/provenance/v1

## References
- [HTML security report](<https://firewall.lpm.dev/npm/purmemo-mcp/v/15.7.44>)
- [Repository](<https://github.com/purmemo-ai/purmemo-mcp>)
- [Homepage](<https://github.com/purmemo-ai/purmemo-mcp#readme>)
- [Issues](<https://github.com/purmemo-ai/purmemo-mcp/issues>)
