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

# polydev-ai@1.11.0 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** — 13 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.11.0
- **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 lifecycle hook skips non-interactive installs and only offers browser login after a prompt. The inspected token handling sends the Polydev token to Polydev’s own service, and the uninstall cleanup targets Polydev-specific credentials.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Clean
- **Recorded analysis confidence:** 91.0%
- **Started:** 2026-11-06T07:22:22.713Z
- **Finished:** 2026-11-06T07:23:12.748Z
- **Download time:** 510 ms
- **Static scan time:** 900 ms
- **AI review time:** 48624 ms
- **Total time:** 50035 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; the reviewed install, login, and token-status behavior aligns with the package’s stated purpose.

- **Trigger:** The postinstall hook runs during installation; login and status flows run after a prompt or user command, and MCP status checks run when requested.

- **Impact:** No unauthorized collection or unrelated account action was identified in the inspected paths.

- **Review source:** ai\_review

- **Reviewed:** 2026-11-06T07:23:12.748Z

### AI review details

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

- **Mechanism:** The install hook skips non-interactive environments and asks before launching login. Login uses a localhost callback to save a Polydev token; the wrapper sends that token to Polydev’s API. Uninstall removes Polydev’s token and related shell lines.

- **Rationale:** The lifecycle hook skips non-interactive installs and only offers browser login after a prompt. The inspected token handling sends the Polydev token to Polydev’s own service, and the uninstall cleanup targets Polydev-specific credentials.

- **Files touched:** mcp/postinstall.js, mcp/login.js, mcp/stdio-wrapper.js, mcp/preuninstall.js, ~/.polydev.env, ~/.zshrc, ~/.bashrc, ~/.profile

- **Network endpoints:** polydev.ai, www.polydev.ai

### Review decision

- **Verdict:** Clean

- **Confidence:** 91.0%

- **Recommended action:** mark\_clean

- **Intent class:** Benign

- **False-positive risk:** Low

- **Evidence for AI clean decision:** The postinstall hook exits in non-interactive environments and prompts before starting browser login., Login directs the user to Polydev’s authentication page with a localhost callback., The wrapper sends its Polydev token to Polydev’s own authentication status endpoint., The preuninstall hook removes the package’s saved token and matching shell configuration lines.

- **Evidence against:** The package defines postinstall and preuninstall lifecycle scripts., The login command reads OpenAI and Google CLI authentication status to report whether local tools are authenticated.

## Affected versions and remediation

This report applies to polydev-ai@1.11.0.

- No action is needed for polydev-ai@1.11.0. 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. High: Install Time Lifecycle Scripts (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/polydev-ai@1.11.0/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node mcp/postinstall.js || true
```

### 2. Medium: Ambiguous Install Lifecycle Script (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 75.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/polydev-ai@1.11.0/package.json>)

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

Public source snippet (untrusted):

```json
scripts.postinstall = node mcp/postinstall.js || true
```

### 3. Low: Non Install Lifecycle Scripts (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 80.0%

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

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

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

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

### 7. Medium: Install Persistence (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** mcp/login.js
- **Public source:** [View source](<https://unpkg.com/polydev-ai@1.11.0/mcp/login.js>)

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

Public source snippet (untrusted):

```javascript
L16: const os = require('os');
L17: const http = require('http');
L18: const { execFile, exec } = require('child_process');
L19: const { promisify } = require('util');
...
L61: 
L62: After login, restart your terminal or run: source ~/.zshrc
L63: 
...
L151: });
L152: res.end();
L153: return;
...
L211: try {
L212: const { stdout } = await execAsync(`which ${tool.command} 2>/dev/null`);
```

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

### 9. High: Sandbox Evasion Gated Capability (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** mcp/stdio-wrapper.js
- **Public source:** [View source](<https://unpkg.com/polydev-ai@1.11.0/mcp/stdio-wrapper.js>)

Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.

Public source snippet (untrusted):

```javascript
L4: if (typeof globalThis.fetch === 'undefined') {
L5: const https = require('https');
L6: const http = require('http');
...
L8: 
L9: globalThis.fetch = function fetchPolyfill(url, options = {}) {
L10: return new Promise((resolve, reject) => {
...
L24: res.on('end', () => {
L25: const body = Buffer.concat(chunks).toString('utf8');
L26: resolve({
...
L38: req.setTimeout(300000, () => { req.destroy(); reject(new Error('Request timed out')); });
L39: if (options.body) req.write(options.body);
L40: req.end();
```

### 10. High: Trigger Reachable Persistence (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** mcp/stdio-wrapper.js
- **Public source:** [View source](<https://unpkg.com/polydev-ai@1.11.0/mcp/stdio-wrapper.js>)

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

Public source snippet (untrusted):

```javascript
Trigger-reachable persistence chain: manifest.main -> mcp/stdio-wrapper.js
L4: if (typeof globalThis.fetch === 'undefined') {
L5: const https = require('https');
L6: const http = require('http');
...
L8: 
L9: globalThis.fetch = function fetchPolyfill(url, options = {}) {
L10: return new Promise((resolve, reject) => {
...
L24: res.on('end', () => {
L25: const body = Buffer.concat(chunks).toString('utf8');
L26: resolve({
...
L38: req.setTimeout(300000, () => { req.destroy(); reject(new Error('Request timed out')); });
L39: if (options.body) req.write(options.body);
L40: req.end();
```

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

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

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

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

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

### Published dependency entries
- open 11.0.0 (Dependency)
- which 5.0.0 (Dependency)

## Package metadata
- **Package:** polydev-ai
- **Ecosystem:** npm
- **Version:** 1.11.0
- **License:** Apache-2.0
- **Version published:** 2026-11-06T07:21:13.294Z
- **Package first seen:** 2026-11-06T07:23:12.748Z
- **Package last seen:** 2026-11-07T01:40:11.970Z
- **Known versions:** 2
- **Latest version:** 1.12.0
- **Appeal under review:** No
- **Description:** Any model in any agent: ask GPT, Gemini, Grok, Claude and more the same question from your coding agent and compare the answers. One MCP server; your local CLIs and API keys pay for the tokens.
- **Author:** Polydev AI
- **Maintainers:** pujitha24
- **Keywords:** mcp, model-context-protocol, mcp-server, ai, claude, codex, openai, gemini, grok, second-opinion, multi-model
- **Runtime engines:** node: \>=20
- **Artifact files:** 11
- **Artifact unpacked size:** 291,239 bytes
- **Artifact signatures:** 2
- **Attestations:** No

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