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

# screenpipe-mcp@0.20.3 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.20.3
- **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 source shows a first-party agent plugin packaging capability, which warrants a warning under the agent integration policy. The observed runtime key is attached to Screenpipe API requests, and there is no confirmed malicious behavior.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 83.0%
- **Started:** 2026-10-08T18:51:28.549Z
- **Finished:** 2026-10-08T18:52:17.225Z
- **Download time:** 760 ms
- **Static scan time:** 14363 ms
- **AI review time:** 33551 ms
- **Total time:** 48676 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 package includes a command that generates first-party cloud plugin archives for agent hosts. This is a guarded, user-initiated integration capability; no confirmed attack surface was established.

- **Trigger:** A user runs the installer-generation command.

- **Impact:** Users may install the Screenpipe cloud plugin and let an agent read synced Screenpipe history; inspected source did not establish unauthorized access or credential exposure.

- **Review source:** ai\_review

- **Reviewed:** 2026-10-08T18:52:17.225Z

### AI review details

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

- **Mechanism:** The command packages plugin manifests and MCP configuration into output artifacts rather than editing the user's agent configuration.

- **Rationale:** The source shows a first-party agent plugin packaging capability, which warrants a warning under the agent integration policy. The observed runtime key is attached to Screenpipe API requests, and there is no confirmed malicious behavior.

- **Files touched:** scripts/build-installers.mjs, plugins/screenpipe-cloud/plugin.json, src/installers.test.ts

- **Network endpoints:** https://screenpipe.com/api/user/data-sync/mcp

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 83.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** The package creates first-party Claude and Codex plugin manifests as part of its installer-generation command., The generated cloud plugin points to a Screenpipe service and describes read access to synced history., Runtime API requests use the configured Screenpipe API base and attach its Screenpipe API key., The manifest has no install-time hook; installer generation runs as a named build command.

- **Evidence against:** Installer generation writes plugin files into a package-owned output directory; it does not mutate a consumer's agent configuration., The checked plugin configuration uses the Screenpipe service endpoint and declares read capability., No source-inspected behavior established credential theft, remote code execution, or another active attack.

## Affected versions and remediation

This report applies to screenpipe-mcp@0.20.3.

- Review the evidence and your use of screenpipe-mcp@0.20.3 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: Non Install Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 80.0%

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

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

Package declares npm scripts.

### 3. Medium: Secret Pattern
- **Category:** Secrets
- **Confidence:** 75.0%
- **Path:** dist/http-server.js
- **Public source:** [View source](<https://unpkg.com/screenpipe-mcp@0.20.3/dist/http-server.js>)

Package contains a possible secret pattern.

Public source snippet (untrusted):

```javascript
patternName = generic_password
severity = medium
line = 19675
```

### 4. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/http-server.js
- **Public source:** [View source](<https://unpkg.com/screenpipe-mcp@0.20.3/dist/http-server.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L35293: exports2.execAsync = undefined;
L35294: var child_process = require("child_process");
L35295: var util = require("util");
```

### 5. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/http-server.js
- **Public source:** [View source](<https://unpkg.com/screenpipe-mcp@0.20.3/dist/http-server.js>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L35289: 
L35290: // node_modules/@[redacted]-id/execAsync.js
L35291: var require_execAsync = __commonJS(function(exports2) {
```

### 6. High: Eval
- **Category:** Source
- **Confidence:** 80.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/screenpipe-mcp@0.20.3/dist/cli.js>)

Package source references dynamic code evaluation.

Public source snippet (untrusted):

```javascript
L44671: sourceCode = this.opts.code.process(sourceCode, sch);
L44672: const makeValidate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode);
L44673: const validate = makeValidate(this, this.scope.get());
```

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

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L9542: ref: validation_error_1.default,
L9543: code: (0, codegen_1._)`require("ajv/dist/runtime/validation_error").default`
L9544: });
```

### 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. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 11. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/screenpipe-mcp@0.20.3/dist/index.js>)

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

Public source snippet (untrusted):

```javascript
L49956: port,
L49957: env = process.env
L49958: }) {
L49959: return (baseOverride || env.SCREENPIPE_LOCAL_API_URL || env.SCREENPIPE_API_URL || (env.SCREENPIPE_LOCAL_API_PORT ? `http://localhost:${env.SCREENPIPE_LOCAL_API_PORT}` : `http://${h...
L49960: }
...
L49969: const fs = require("fs");
L49970: const { execFile, exec } = require("child_process");
L49971: const { promisify } = require("util");
```

### 12. Critical: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/screenpipe-mcp@0.20.3/dist/index.js>)

Source executes local commands and sends command output to an external endpoint.

Public source snippet (untrusted):

```javascript
L50028: if (budgetLeft() > 0) {
L50029: const { stdout } = await execAsync("npx screenpipe@latest auth token", {
L50030: timeout: Math.min(PER_CANDIDATE_MS, budgetLeft()),
...
L50037: } catch {}
L50038: process.stderr.write([
L50039: "[screenpipe-mcp] could not discover SCREENPIPE_LOCAL_API_KEY from any source.",
...
L50043: "Fix: set SCREENPIPE_LOCAL_API_KEY in your MCP launcher's env block,",
L50044: "or install the screenpipe desktop app (https://screenpi.pe) so its CLI",
L50045: "can resolve the key without bypassing Screenpipe's database boundary.",
```

### 13. Critical: Remote Response Code Execution
- **Category:** Source
- **Confidence:** 98.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/screenpipe-mcp@0.20.3/dist/cli.js>)

Source passes code obtained from a remote response into a dynamic execution sink.

Public source snippet (untrusted):

```javascript
L922: return {
L923: buildmetadata: match[5],
L924: major: isNaN(major) ? undefined : major,
...
L5033: const mimeType = match ? match[1] : "text/plain";
L5034: const isBase64 = url.includes(";base64,");
L5035: const dataStart = url.indexOf(",");
...
L5382: try {
L5383: const queryParams = new URL(url, "http://s.io").search.slice(1);
L5384: return queryParams.length ? queryParams : undefined;
...
L8090: }
L8091: function addPrivateRequestAttributes(span, params, enableTruncation) {
L8092: const messages = messagesFromParams(params);
```

### 14. High: Cross File Remote Execution Context
- **Category:** Source
- **Confidence:** 72.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/screenpipe-mcp@0.20.3/dist/cli.js>)

Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.

Public source snippet (untrusted):

```javascript
Cross-file remote execution chain: dist/cli.js spawns dist/http-server.js; helper contains network access plus dynamic code execution.
L922: return {
L923: buildmetadata: match[5],
L924: major: isNaN(major) ? undefined : major,
...
L5033: const mimeType = match ? match[1] : "text/plain";
L5034: const isBase64 = url.includes(";base64,");
L5035: const dataStart = url.indexOf(",");
...
L5382: try {
L5383: const queryParams = new URL(url, "http://s.io").search.slice(1);
L5384: return queryParams.length ? queryParams : undefined;
...
L8090: }
L8091: function addPrivateRequestAttributes(span, params, enableTruncation) {
L8092: const messages = messagesFromParams(params);
```

### 15. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/screenpipe-mcp@0.20.3/dist/cli.js>)

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

Public source snippet (untrusted):

```javascript
Trigger-reachable chain: scripts.start -> dist/cli.js
L51438: if (budgetLeft() > 0) {
L51439: const { stdout } = await execAsync("npx screenpipe@latest auth token", {
L51440: timeout: Math.min(PER_CANDIDATE_MS, budgetLeft()),
...
L51447: } catch {}
L51448: process.stderr.write([
L51449: "[screenpipe-mcp] could not discover SCREENPIPE_LOCAL_API_KEY from any source.",
...
L51453: "Fix: set SCREENPIPE_LOCAL_API_KEY in your MCP launcher's env block,",
L51454: "or install the screenpipe desktop app (https://screenpi.pe) so its CLI",
L51455: "can resolve the key without bypassing Screenpipe's database boundary.",
```

### 16. High: Trigger Reachable Command Output Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/screenpipe-mcp@0.20.3/dist/cli.js>)

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

Public source snippet (untrusted):

```javascript
Trigger-reachable command-output exfiltration chain: scripts.start -> dist/cli.js
L51438: if (budgetLeft() > 0) {
L51439: const { stdout } = await execAsync("npx screenpipe@latest auth token", {
L51440: timeout: Math.min(PER_CANDIDATE_MS, budgetLeft()),
...
L51447: } catch {}
L51448: process.stderr.write([
L51449: "[screenpipe-mcp] could not discover SCREENPIPE_LOCAL_API_KEY from any source.",
...
L51453: "Fix: set SCREENPIPE_LOCAL_API_KEY in your MCP launcher's env block,",
L51454: "or install the screenpipe desktop app (https://screenpi.pe) so its CLI",
L51455: "can resolve the key without bypassing Screenpipe's database boundary.",
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 19. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** scripts/hermes-smoke.py
- **Public source:** [View source](<https://unpkg.com/screenpipe-mcp@0.20.3/scripts/hermes-smoke.py>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```python
path = scripts/hermes-smoke.py
kind = build_helper
sizeBytes = 3409
magicHex = [redacted]
```

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

### 21. Low: No License
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest does not declare a clear license.

### 22. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** scripts/assert-pack-contents.js\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/screenpipe-mcp@0.20.3/scripts/assert-pack-contents.js%23virtual%3Anormalized%3Around1>)

A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.

Public source snippet (untrusted):

```text
stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 1
```

### 23. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** src/self-contained-pack.test.ts
- **Public source:** [View source](<https://unpkg.com/screenpipe-mcp@0.20.3/src/self-contained-pack.test.ts>)

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

Public source snippet (untrusted):

```typescript
matchType = normalized_sha256
matchedPackage = screenpipe-mcp@0.19.4
matchedPath = src/self-contained-pack.test.ts
matchedIdentity = npm:c2NyZWVucGlwZS1tY3A:0.19.4
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 24. Critical: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** src/index.ts
- **Public source:** [View source](<https://unpkg.com/screenpipe-mcp@0.20.3/src/index.ts>)

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

Public source snippet (untrusted):

```typescript
matchType = previous_version_dangerous_delta
matchedPackage = screenpipe-mcp@0.20.0
matchedIdentity = npm:c2NyZWVucGlwZS1tY3A:0.20.0
similarity = 0.780
summary = stored previous version shares package body but lacks this dangerous source file
```

### 25. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 95.0%
- **Path:** src/stdio-startup.test.ts
- **Public source:** [View source](<https://unpkg.com/screenpipe-mcp@0.20.3/src/stdio-startup.test.ts>)

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

Public source snippet (untrusted):

```typescript
matchType = token_shingles
matchedPackage = screenpipe-mcp@0.19.4
matchedPath = src/stdio-startup.test.ts
matchedIdentity = npm:c2NyZWVucGlwZS1tY3A:0.19.4
similarity = 0.750
shingleOverlap = 36
summary = source token shingles overlapped finalized malicious source
```

### 26. Medium: Secret Pattern
- **Category:** Secrets
- **Confidence:** 75.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/screenpipe-mcp@0.20.3/dist/index.js>)

Hardcoded password in dist/index.js

Public source snippet (untrusted):

```javascript
patternName = generic_password
severity = medium
line = 18690
```

### 27. Medium: Secret Pattern
- **Category:** Secrets
- **Confidence:** 75.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/screenpipe-mcp@0.20.3/dist/cli.js>)

Hardcoded password in dist/cli.js

Public source snippet (untrusted):

```javascript
patternName = generic_password
severity = medium
line = 4951
```

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

## Package metadata
- **Package:** screenpipe-mcp
- **Ecosystem:** npm
- **Version:** 0.20.3
- **License:** SEE LICENSE IN LICENSE.md
- **Version published:** 2026-10-08T18:48:57.302Z
- **Package first seen:** 2026-08-01T20:44:49.646Z
- **Package last seen:** 2026-10-08T18:52:17.225Z
- **Known versions:** 5
- **Latest version:** 0.20.3
- **Appeal under review:** No
- **Description:** MCP server for screenpipe - search your screen recordings and audio transcriptions
- **Author:** Screenpipe
- **Maintainers:** louis030195
- **Keywords:** mcp, screenpipe, model-context-protocol, claude, ai, screen-recording, ocr, audio-transcription
- **Runtime engines:** node: \>=18.0.0
- **Artifact files:** 67
- **Artifact unpacked size:** 6,646,469 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/screenpipe-mcp/v/0.20.3>)
