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

# @mrrlin-dev/mcp@0.4.85 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 AI-agent capability risk** — Allowed by default with warning: agent-facing configuration or capability changes need review before use.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Warn-only AI-agent capability risk
- **Public report status:** Published
- **Threat category:** AI-agent capability abuse
- **Selected version:** 0.4.85
- **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.

Review flagged AI-agent configuration or capability changes. This remains warn-only unless evidence shows foreign-agent hijack through preinstall/install/postinstall, hidden persistence, exfiltration, remote code execution, or other concrete malicious behavior.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 74.0%
- **Started:** 2026-09-24T01:11:36.380Z
- **Finished:** 2026-09-24T01:13:24.886Z
- **Download time:** 510 ms
- **Static scan time:** 7445 ms
- **AI review time:** 100550 ms
- **Total time:** 108506 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:** Install and runtime paths can touch the operator's agent setup. A global postinstall signals the package's own PM2 bridge, and serve or configure bridge can rewrite this product's MCP entries in Claude and Codex config files.

- **Trigger:** npm install when the install is global, or a later mrrlin-mcp serve, director-bridge, or configure bridge invocation.

- **Impact:** A running mrrlin bridge can be nudged to restart, and the operator's Claude or Codex MCP registration for this product can be created or updated.

- **Evidence paths:** package.json, scripts/postinstall-restart.cjs, dist/bin.cjs

- **Review source:** ai\_review

- **Reviewed:** 2026-09-24T01:13:24.886Z

### AI review details

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

- **Mechanism:** postinstall runs pm2 jlist and sends SIGUSR2 to matching bridge pids. The CLI writes or migrates mcp server blocks in the user Claude JSON and Codex TOML configs.

- **Rationale:** The install hook only signals the package's own named bridge after a global install, and the Claude and Codex writes are the product's own MCP registration and a narrow routing-key migration. That is first-party agent setup with a real control-surface write, so it warrants a warning rather than a publish block.

- **Files touched:** .claude.json, .codex/config.toml

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 74.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** npm postinstall runs scripts/postinstall-restart.cjs on install., On a global install the script runs pm2 jlist and sends SIGUSR2 to online processes named mrrlin-bridge or whose args include director-bridge., The configure bridge command writes this package's MCP server entries into Claude, Codex, and agy client configs., Starting serve or director-bridge calls migrateRetiredApiBaseUrls, which can rewrite the package's own mrrlin block in ~/.claude.json and ~/.codex/config.toml.

- **Evidence against:** Postinstall returns immediately unless npm\_config\_global is true, and it also skips CI or MRRLIN\_MCP\_POSTINSTALL\_SKIP=1., The signal is limited to those named bridge processes and a failure still exits 0., Config migration only rewrites the mrrlin MCP block's API routing keys and refuses unparseable files., API calls stay on api.mrrlin.com or api-staging.mrrlin.com unless MRRLIN\_API\_ALLOW\_REMOTE is set.

## Affected versions and remediation

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

- Review the evidence and your use of @mrrlin-dev/mcp@0.4.85 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/@mrrlin-dev/mcp@0.4.85/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

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

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

Package declares npm scripts.

### 3. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/bin.cjs
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.85/dist/bin.cjs>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L21161: var import_node_path41 = __toESM(require("node:path"), 1);
L21162: var import_node_child_process21 = require("node:child_process");
L21163: var import_node_fs25 = require("node:fs");
```

### 4. Low: Eval
- **Category:** Source
- **Confidence:** 45.0%
- **Path:** dist/bin.cjs
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.85/dist/bin.cjs>)

Package source references a known benign dynamic code generation pattern.

Public source snippet (untrusted):

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

### 5. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** dist/bin.cjs
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.85/dist/bin.cjs>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

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

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

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 9. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/bin.cjs
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.85/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
L55657: // src/agent-version.ts
L55658: var import_node_child_process12 = require("node:child_process");
L55659: var import_semver = __toESM(require_semver2(), 1);
L55660: var SEMVER_RE = /\b\d+\.\d+\.\d+(?:-[A-Za-z0-9.-]+)?\b/;
L55661: var CODEX_PACKAGE = process.env.MRRLIN_CODEX_PACKAGE?.trim() || "@openai/codex";
L55662: var distTagsUrl = (pkg) => `https://registry.npmjs.org/-/package/${encodeURIComponent(pkg)}/dist-tags`;
L55663: function parseCodexVersion(raw) {
```

### 10. High: Credential Redirect Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/bin.cjs
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.85/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:
delete opts.headers.authorization;
if (opts.auth && !options.headers.authorization) {
options.headers.authorization = "Basic " + Buffer.from(opts.auth).toString("base64");
var fs$writeFile = fs15.writeFile;
fs15.writeFile = writeFile5;
function writeFile5(path28, data, options, cb) {
return go$writeFile(path28, data, options, cb);
function go$writeFile(path29, data2, options2, cb2, startTime) {
```

### 11. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** dist/bin.cjs
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.85/dist/bin.cjs>)

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

Public source snippet (untrusted):

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

### 12. High: Obfuscated Payload Loader
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** dist/bin.cjs
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.85/dist/bin.cjs>)

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

Public source snippet (untrusted):

```javascript
L15395: if (!fs14[gracefulQueue]) {
L15396: queue = global[gracefulQueue] || [];
L15397: publishQueue(fs14, queue);
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

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

### 16. Medium: Wildcard Dependency
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest contains a wildcard dependency.

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

Package manifest does not declare a clear license.

### 18. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** scripts/postinstall-restart.cjs\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.85/scripts/postinstall-restart.cjs%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
```

### 19. Critical: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** dist/bin.cjs
- **Public source:** [View source](<https://unpkg.com/@mrrlin-dev/mcp@0.4.85/dist/bin.cjs>)

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 = @mrrlin-dev/mcp@0.4.80
matchedIdentity = npm:QG1ycmxpbi1kZXYvbWNw:0.4.80
similarity = 0.500
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
- **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.6.0 (Dependency)
- @mrrlin-dev/external-agents latest (Dependency)
- @playwright/mcp 0.0.76 (Dependency)
- dotenv ^16.4.5 (Dependency)
- hono ^4.7.2 (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.85
- **Version published:** 2026-09-17T08:37:00.010Z
- **Package first seen:** 2026-07-01T00:19:40.404Z
- **Package last seen:** 2026-10-03T23:09:26.581Z
- **Known versions:** 61
- **Latest version:** 0.4.92
- **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:** 2,841,135 bytes
- **Artifact signatures:** 2
- **Attestations:** No

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