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

# portomatic@0.3.79 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 20 finding(s) 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:** 0.3.79
- **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 enables installation telemetry by default, which warrants a warning under the review rules. The inspected install flow reports package and runtime metadata, and I found no evidence that it collects credentials or unrelated file contents.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 95.0%
- **Started:** 2026-11-02T23:11:15.240Z
- **Finished:** 2026-11-02T23:12:06.179Z
- **Download time:** 4066 ms
- **Static scan time:** 6467 ms
- **AI review time:** 40406 ms
- **Total time:** 50939 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 postinstall hook sends installation telemetry without an install-time consent prompt; this is a warning-level telemetry concern.

- **Trigger:** Automatically on package installation through postinstall.

- **Impact:** The collector receives package installation metadata and the connection's source IP address. No credential or unrelated file exfiltration was identified in the inspected path.

- **Evidence paths:** package.json, bin/install.mjs, lib/telemetry/client/index.js

- **Review source:** ai\_review

- **Reviewed:** 2026-11-02T23:12:06.179Z

### AI review details

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

- **Mechanism:** bin/install.mjs emits an install event and flushes it to the Portomatic telemetry endpoint. The reported fields include platform, architecture, runtime version, CI and launch metadata, and package-manager name.

- **Rationale:** The package enables installation telemetry by default, which warrants a warning under the review rules. The inspected install flow reports package and runtime metadata, and I found no evidence that it collects credentials or unrelated file contents.

- **Files touched:** ~/.portomatic/npm-version, ~/.portomatic device identity and telemetry state

- **Network endpoints:** https://telemetry.portomatic.com/v1/events

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 95.0%

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

- **Intent class:** Unknown

- **False-positive risk:** Medium

- **Evidence for warning:** The package runs bin/install.mjs automatically through its postinstall lifecycle script., The install hook emits install metadata including platform, architecture, Node version, CI status, launch type, and package-manager name., Telemetry is posted by default to https://telemetry.portomatic.com/v1/events, with PORTOMATIC\_TELEMETRY\_URL available to override the destination.

- **Evidence against:** The telemetry client discloses collection on first runtime use and describes random device IDs, the source IP address, and its filtering of telemetry fields., The install hook sends package and runtime metadata; the inspected source does not show it sending credential values or file contents.

## Affected versions and remediation

This report applies to portomatic@0.3.79.

- Review the evidence and your use of portomatic@0.3.79 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/portomatic@0.3.79/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node bin/install.mjs
```

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

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

Public source snippet (untrusted):

```json
scripts.postinstall = node bin/install.mjs
```

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

Package declares npm scripts.

### 4. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** products/linear/dist/src/\_bundle/entry-0.js
- **Public source:** [View source](<https://unpkg.com/portomatic@0.3.79/products/linear/dist/src/_bundle/entry-0.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L5: ${files.map(({name})=>join(directory,name)).join(`
L6: `)}`}async function connectorExample(name,out){return writeFiles(await connectorExampleFiles(name),out)}async function connectorExampleFiles(name){if(!connectorExamples.includes(na...
L7: `)+`
```

### 5. Low: Eval
- **Category:** Source
- **Confidence:** 45.0%

Package source references a known benign dynamic code generation pattern.

### 6. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** products/linear/dist/src/\_bundle/chunk-6RIR7NKN.js
- **Public source:** [View source](<https://unpkg.com/portomatic@0.3.79/products/linear/dist/src/_bundle/chunk-6RIR7NKN.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L1: import{GraphQLError}from"graphql";import{readFile}from"node:fs/promises";import{readdir}from"node:fs/promises";import{pathToFileURL}from"node:url";async function discover(directory...
```

### 7. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** products/linear/dist/src/\_bundle/chunk-RNZXSEY6.js
- **Public source:** [View source](<https://unpkg.com/portomatic@0.3.79/products/linear/dist/src/_bundle/chunk-RNZXSEY6.js>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L1: import{userRole}from"./chunk-76YCO2M5.js";import{Store}from"./chunk-IQKR4UO2.js";import{entityDefaults}from"./chunk-JOIGJ5YI.js";import{initializeWorkspace}from"./chunk-G74I2YWQ.js...
```

### 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:** products/linear/dist/src/\_bundle/chunk-Z3R4Q76T.js
- **Public source:** [View source](<https://unpkg.com/portomatic@0.3.79/products/linear/dist/src/_bundle/chunk-Z3R4Q76T.js>)

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

Public source snippet (untrusted):

```javascript
L3: `)}function errorResult(error){return{ok:!1,error:{code:error.code??"RUNTIME_ERROR",message:error.message,...error.diagnostics?{diagnostics:error.diagnostics}:{},...error.logPath?{...
L4: Usage: npx portomatic linear ${command??"<command>"}${commands[command]?.[1]?" ":""}${commands[command]?.[1]??"[--help]"} [--json]`)}var commands=commandSpecs("linear",["init","sta...
L5: `).filter(Boolean).map(line=>JSON.parse(line)).some(event=>event.kind==="lifecycle"&&event.message==="stopped")?failure("INSTANCE_STOPPED",`Linear instance ${known.id} is stopped. ...
```

### 12. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** products/linear/dist/src/\_bundle/chunk-Z3R4Q76T.js
- **Public source:** [View source](<https://unpkg.com/portomatic@0.3.79/products/linear/dist/src/_bundle/chunk-Z3R4Q76T.js>)

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

Public source snippet (untrusted):

```javascript
L1: import{suggestions}from"./chunk-L4ZRFEAY.js";import{fileURLToPath as __packFilePath}from"node:url";import{readFileSync,readdirSync}from"node:fs";var __packModuleURL=new URL("../../...
L2: `).map(line=>line.trimStart()).find(line=>line.startsWith(`portomatic ${product} ${name} `)||line.startsWith(`npx portomatic ${product} ${name} `))?.replace(new RegExp(`^(?:npx )?p...
L3: `)}function errorResult(error){return{ok:!1,error:{code:error.code??"RUNTIME_ERROR",message:error.message,...error.diagnostics?{diagnostics:error.diagnostics}:{},...error.logPath?{...
L4: Usage: npx portomatic linear ${command??"<command>"}${commands[command]?.[1]?" ":""}${commands[command]?.[1]??"[--help]"} [--json]`)}var commands=commandSpecs("linear",["init","sta...
L5: `).filter(Boolean).map(line=>JSON.parse(line
```

### 13. High: Embedded Payload Drop Execution
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** products/slack/dist/src/\_bundle/chunk-O5OR5FEA.js
- **Public source:** [View source](<https://unpkg.com/portomatic@0.3.79/products/slack/dist/src/_bundle/chunk-O5OR5FEA.js>)

Source decodes an embedded payload, writes it to a temporary or concealed path, and executes the staged file.

Public source snippet (untrusted):

```javascript
embedded payload decode/write/execute = eaduint32le(offset)!==33639248)throw error("invalid zip directory");let method2=bytes.readuint16le(offset+10),size=bytes.readuint32le(offset+20),unpacked=bytes.readuint32le(offset+24),length=bytes.readuint16le(offset+28),extra=bytes.readuint16le(offset+30),comment=bytes.readuint16le(offset+32),local=bytes.readuint32le(offset+42),name=bytes.subarray(offset+46,offset+46+length).tostring("utf8");if(!name||name.startswith("/")||name.includes("\\")||name.includes("\0")||name.split("/").some(p=>p==="."||p==="..")||entries2.has(name))throw error("unsafe hosted package path");if((bytes.readuint32le(offset+38)>>>16&61440)===40960)throw error("hosted package symlink");if((total+=unpacked)>67108864)throw error("hosted package expands beyond limit");if(bytes.rea
```

### 14. Critical: Ai Agent Control Hijack
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** lib/telemetry/schemas/shape.json
- **Public source:** [View source](<https://unpkg.com/portomatic@0.3.79/lib/telemetry/schemas/shape.json>)

Source creates an unconsented AI-agent control surface through install-time mutation or a default unauthenticated remote skill channel.

Public source snippet (untrusted):

```json
Install-time code directly mutates a foreign AI-agent control surface:
L6183: "mcpServerDefinitions",
L6184: "mcpServersAllowlist",
L6185: "mcpServersEnabled",
L6186: "mcpServersMode",
L6187: "mcp_aaa_auth_error_translations",
Write operation from lib/telemetry/client/index.js:
L3: import { fileURLToPath } from 'node:url';
L4: import { unlinkSync, writeFileSync } from 'node:fs';
L5: import { homedir } from 'node:os';
...
L39: if (firstRun) {
L40: try { writeFileSync(pendingFirstRun, '', { flag: 'wx', mode: 0o600 }); } catch {}
L41: }
Foreign user/project scope from bin/install.mjs:
L1: #!/usr/bin/env node
L2: // Anonymous, best-effort install metadata. Reporting must never fail an installation.
```

### 15. High: Cross File Remote Execution Context
- **Category:** Source
- **Confidence:** 72.0%
- **Path:** products/linear/dist/src/\_bundle/entry-0.js
- **Public source:** [View source](<https://unpkg.com/portomatic@0.3.79/products/linear/dist/src/_bundle/entry-0.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: products/linear/dist/src/_bundle/entry-0.js spawns products/linear/dist/src/_bundle/chunk-Z3R4Q76T.js; helper contains network access plus dynamic code execution.
L5: ${files.map(({name})=>join(directory,name)).join(`
L6: `)}`}async function connectorExample(name,out){return writeFiles(await connectorExampleFiles(name),out)}async function connectorExampleFiles(name){if(!connectorExamples.includes(na...
L7: `)+`
L8: `}var __packModuleURL3=new URL("../cli/project.mjs",import.meta.url).href,__packModuleDir3=__packFilePath3(new URL(".",__packModuleURL3));async function init(directory="."){let roo...
L9: `,"example.mjs":`const response = await fetch(process.env.LINEAR_GRAPHQL_URL, {
L10: method: 'POST',
...
L13: });
L14: const result = await response.json();
L
```

### 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. Low: No License
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest does not declare a clear license.

### 20. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** products/linear/dist/src/\_bundle/chunk-6IAOXHLT.js\#virtual:string-array:round1
- **Public source:** [View source](<https://unpkg.com/portomatic@0.3.79/products/linear/dist/src/_bundle/chunk-6IAOXHLT.js%23virtual%3Astring-array%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
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** postinstall
- **Dependencies:** 20
- **Optional dependencies:** 1
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 21

### Published dependency entries
- @automerge/automerge 3.5.0 (Dependency)
- @modelcontextprotocol/sdk 1.32.1 (Dependency)
- acorn 8.15.0 (Dependency)
- ajv 8.20.0 (Dependency)
- codemirror 5.65.21 (Dependency)
- entities 7.0.1 (Dependency)
- es-module-lexer 2.0.0 (Dependency)
- esbuild 0.28.2 (Dependency)
- graphql 16.14.2 (Dependency)
- import-meta-resolve 4.2.0 (Dependency)
- markdown-it 15.0.3 (Dependency)
- msgpackr 2.1.2 (Dependency)
- prosemirror-markdown 1.13.8 (Dependency)
- prosemirror-model 1.25.12 (Dependency)
- sharp 0.35.5 (Dependency)
- tsx 4.23.15 (Dependency)
- ws 8.22.0 (Dependency)
- yaml 2.9.1 (Dependency)
- yjs 13.6.33 (Dependency)
- zod 4.6.7 (Dependency)
- pg 8.16.3 (OptionalDependency)

## Package metadata
- **Package:** portomatic
- **Ecosystem:** npm
- **Version:** 0.3.79
- **Version published:** 2026-11-02T23:09:08.540Z
- **Package first seen:** 2026-09-17T02:44:49.901Z
- **Package last seen:** 2026-11-03T00:13:03.963Z
- **Known versions:** 17
- **Latest version:** 0.3.80
- **Appeal under review:** No
- **Description:** Local third-party app sandboxes for agents.
- **Maintainers:** portomatic-admin
- **Runtime engines:** node: \>=24
- **Artifact files:** 707
- **Artifact unpacked size:** 18,893,867 bytes
- **Artifact signatures:** 2
- **Attestations:** No

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