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

# @mrrlin-dev/mcp@0.4.151 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** — 22 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:** 0.4.151
- **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 bundle's execution and network behavior aligns with an MCP agent CLI, while the postinstall hook is limited to signaling its own bridge after global installation. The scanner's credential and command-exfiltration leads did not establish an unrelated credential destination or an attack chain.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Clean
- **Recorded analysis confidence:** 94.0%
- **Started:** 2026-11-05T06:32:18.966Z
- **Finished:** 2026-11-05T06:33:08.342Z
- **Download time:** 1276 ms
- **Static scan time:** 8748 ms
- **AI review time:** 39351 ms
- **Total time:** 49376 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 identified; the observed process execution, service access, and bridge restart behavior fit the package's MCP agent purpose.

- **Trigger:** The CLI performs service and agent work when invoked; the postinstall hook may run after a global install.

- **Impact:** No source evidence shows credentials sent to an unrelated host, hidden command-output exfiltration, or concealed automatically executed payloads.

- **Review source:** ai\_review

- **Reviewed:** 2026-11-05T06:33:08.342Z

### AI review details

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

- **Mechanism:** The CLI communicates with Mrrlin's API and passes a limited environment to provider subprocesses. The global-install hook finds the package's bridge through PM2 and signals it to restart.

- **Rationale:** The bundle's execution and network behavior aligns with an MCP agent CLI, while the postinstall hook is limited to signaling its own bridge after global installation. The scanner's credential and command-exfiltration leads did not establish an unrelated credential destination or an attack chain.

- **Files touched:** scripts/postinstall-restart.cjs, dist/bin.cjs

- **Network endpoints:** api.mrrlin.com, api-staging.mrrlin.com

### Review decision

- **Verdict:** Clean

- **Confidence:** 94.0%

- **Recommended action:** mark\_clean

- **Intent class:** Benign

- **False-positive risk:** Low

- **Evidence for AI clean decision:** The manifest identifies `dist/bin.cjs` as the `mrrlin-mcp` CLI and defines a postinstall hook., The postinstall hook runs only for global installs and skips CI or an explicit opt-out., The hook signals only running processes identified as the package's own bridge, to allow it to restart after an update., The bundled CLI uses Mrrlin's production and staging API hosts as its service endpoints., Provider API keys are included in a sanitized environment passed to agent subprocesses, consistent with running the selected provider.

- **Evidence against:** The global-install postinstall hook can send SIGUSR2 to a running Mrrlin bridge without a separate confirmation., The agent subprocess environment can include OpenAI, Anthropic, and Gemini API keys.

## Affected versions and remediation

This report applies to @mrrlin-dev/mcp@0.4.151.

- No action is needed for @mrrlin-dev/mcp@0.4.151. 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/@mrrlin-dev/mcp@0.4.151/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node scripts/postinstall-restart.cjs
```

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

### 3. High: Child Process (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/bin.cjs
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.151/dist/bin.cjs>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L9775: "use strict";
L9776: var cp2 = require("child_process");
L9777: var parse8 = require_parse2();
```

### 4. High: Shell (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/bin.cjs
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.151/dist/bin.cjs>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L9693: parsed.args = ["/d", "/s", "/c", `"${shellCommand}"`];
L9694: parsed.command = process.env.comspec || "cmd.exe";
L9695: parsed.options.windowsVerbatimArguments = true;
```

### 5. High: Eval (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 80.0%
- **Path:** dist/bin.cjs
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.151/dist/bin.cjs>)

Package source references dynamic code evaluation.

Public source snippet (untrusted):

```javascript
L421: try {
L422: const utilInspect = eval("require('util').inspect");
L423: _custom = utilInspect.custom;
```

### 6. Low: Weak Crypto (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** dist/bin.cjs
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.151/dist/bin.cjs>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L421: try {
L422: const utilInspect = eval("require('util').inspect");
L423: _custom = utilInspect.custom;
...
L1624: if (global.Buffer && global.Buffer.isBuffer(str)) {
L1625: str = str.toString("utf8");
L1626: }
...
L3225: // validation function arguments
L3226: data: new codegen_1.Name("data"),
L3227: // data passed to validation function
...
L4252: id = normalizeId(id);
L4253: return resolver.resolve(baseId, id);
L4254: }
```

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

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

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

### 10. High: Same File Env Network Execution (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/bin.cjs
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.151/dist/bin.cjs>)

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

Public source snippet (untrusted):

```javascript
L46274: var import_node_fs3 = __toESM(require("node:fs"), 1);
L46275: var import_node_net = __toESM(require("node:net"), 1);
L46276: var import_node_http = __toESM(require("node:http"), 1);
...
L46280: var import_node_crypto3 = __toESM(require("node:crypto"), 1);
L46281: var import_node_child_process9 = require("node:child_process");
L46282: var activeHostKeypair = null;
...
L46285: return activeHostKeypair;
L46286: const envKeyPath = process.env.VERIFICATION_HOST_KEY_PATH;
L46287: if (envKeyPath && import_node_fs3.default.existsSync(envKeyPath)) {
```

### 11. High: Credential Redirect Persistence (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/bin.cjs
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.151/dist/bin.cjs>)

Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.

Public source snippet (untrusted):

```javascript
Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/bin.cjs:
var fs$writeFile = fs17.writeFile;
fs17.writeFile = writeFile5;
function writeFile5(path34, data, options, cb) {
return go$writeFile(path34, data, options, cb);
function go$writeFile(path35, data2, options2, cb2, startTime) {
return fs$writeFile(path35, data2, options2, function(err) {
enqueue([go$writeFile, [path35, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
delete opts.headers.authorization;
```

### 12. Critical: Command Output Exfiltration (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/bin.cjs
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.151/dist/bin.cjs>)

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

Public source snippet (untrusted):

```javascript
L62791: proxy.close();
L62792: process.stderr.write(`[browser-serve proxy error]: ${err.message}
L62793: `);
...
L62800: var import_node_fs29 = __toESM(require("node:fs"), 1);
L62801: var import_node_http3 = __toESM(require("node:http"), 1);
L62802: var import_node_os22 = __toESM(require("node:os"), 1);
L62803: var import_node_path43 = __toESM(require("node:path"), 1);
L62804: var import_node_child_process26 = require("node:child_process");
L62805: var import_node_crypto23 = __toESM(require("node:crypto"), 1);
```

### 13. High: Obfuscated Payload Loader (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** dist/bin.cjs
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.151/dist/bin.cjs>)

Source contains an obfuscated payload loader that reconstructs and executes hidden code.

Public source snippet (untrusted):

```javascript
L10241: if (!fs16[gracefulQueue]) {
L10242: queue = global[gracefulQueue] || [];
L10243: publishQueue(fs16, queue);
```

### 14. High: Remote Agent Bridge (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** dist/bin.cjs
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.151/dist/bin.cjs>)

Source exposes local file and command tools to a remote model endpoint.

Public source snippet (untrusted):

```javascript
L9775: "use strict";
L9776: var cp2 = require("child_process");
L9777: var parse8 = require_parse2();
...
L21702: }
L21703: function isStagingApiBaseUrl(input) {
L21704: return isSameApiHost(input, STAGING_API_BASE_URL);
...
L22240: try {
L22241: raw = import_node_fs2.default.readFileSync(configPath, "utf8");
L22242: } catch {
...
L49850: *
L49851: * This can be used by clients to improve the LLM's understanding of available tools, resources, etc. It can be thought of like a "hint" to the model. For example, this information ...
L49852: */
```

### 15. Critical: Trigger Reachable Dangerous Capability (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/bin.cjs
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.151/dist/bin.cjs>)

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/bin.cjs
L62791: proxy.close();
L62792: process.stderr.write(`[browser-serve proxy error]: ${err.message}
L62793: `);
...
L62800: var import_node_fs29 = __toESM(require("node:fs"), 1);
L62801: var import_node_http3 = __toESM(require("node:http"), 1);
L62802: var import_node_os22 = __toESM(require("node:os"), 1);
L62803: var import_node_path43 = __toESM(require("node:path"), 1);
L62804: var import_node_child_process26 = require("node:child_process");
L62805: var import_node_crypto23 = __toESM(require("node:crypto"), 1);
```

### 16. High: Trigger Reachable Command Output Exfiltration (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/bin.cjs
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.151/dist/bin.cjs>)

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/bin.cjs
L62791: proxy.close();
L62792: process.stderr.write(`[browser-serve proxy error]: ${err.message}
L62793: `);
...
L62800: var import_node_fs29 = __toESM(require("node:fs"), 1);
L62801: var import_node_http3 = __toESM(require("node:http"), 1);
L62802: var import_node_os22 = __toESM(require("node:os"), 1);
L62803: var import_node_path43 = __toESM(require("node:path"), 1);
L62804: var import_node_child_process26 = require("node:child_process");
L62805: var import_node_crypto23 = __toESM(require("node:crypto"), 1);
```

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

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

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

### 20. Medium: Wildcard Dependency (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest contains a wildcard dependency.

### 21. Low: No License (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest does not declare a clear license.

### 22. High: Semantic Analysis Limited (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** dist/bin.cjs
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.151/dist/bin.cjs>)

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

Public source snippet (untrusted):

```javascript
stage = ast_semantic_analysis; reason = ast_path_work_budget_exceeded; limitedFiles = 1
```

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

### Published dependency entries
- @clack/prompts ^0.8.2 (Dependency)
- @iarna/toml ^2.2.5 (Dependency)
- @modelcontextprotocol/sdk ^1.32.0 (Dependency)
- @mrrlin-dev/external-agents latest (Dependency)
- @playwright/mcp 0.0.76 (Dependency)
- dotenv ^16.4.5 (Dependency)
- hono ^4.13.11 (Dependency)
- playwright-core 1.61.0-alpha-1781023400000 (Dependency)
- proper-lockfile ^4.1.2 (Dependency)
- qrcode ^1.5.3 (Dependency)
- qrcode-terminal ^0.12.0 (Dependency)
- semver ^7.6.3 (Dependency)
- ws ^8.18.0 (Dependency)
- zod ^4.0.0 (Dependency)

## Package metadata
- **Package:** @mrrlin-dev/mcp
- **Ecosystem:** npm
- **Version:** 0.4.151
- **Version published:** 2026-11-05T06:30:52.011Z
- **Package first seen:** 2026-07-01T00:19:40.404Z
- **Package last seen:** 2026-11-23T19:30:03.205Z
- **Known versions:** 164
- **Latest version:** 0.4.283
- **Appeal under review:** No
- **Description:** CLI that runs the local Director bridge under PM2 and forwards chat turns to a locally-spawned Codex `app-server`. Installed globally on operator boxes via `npm install -g @mrrlin-dev/mcp` (the official install path; `pnpm install -g` also works if the op
- **Maintainers:** aiuxsolutions
- **Artifact files:** 21
- **Artifact unpacked size:** 3,268,061 bytes
- **Artifact signatures:** 2
- **Attestations:** No

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