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

# @mcptask/cli@0.3.53 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 14 findings warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Credential exfiltration
- **Selected version:** 0.3.53
- **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 install-time downloader forwards an optional GitHub token to redirect destinations without validating their host, which is a credential-handling vulnerability. The download and checksum workflow serve the package's stated purpose, so the evidence supports a warning rather than a malicious-package block.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 86.0%
- **Started:** 2026-11-21T22:44:52.628Z
- **Finished:** 2026-11-21T22:45:25.414Z
- **Download time:** 509 ms
- **Static scan time:** 57 ms
- **AI review time:** 32219 ms
- **Total time:** 32786 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 install-time downloader may forward a GitHub credential to an unchecked redirect destination.

- **Trigger:** Package installation runs the postinstall hook; forwarding occurs if a GitHub token environment variable is set and a download responds with a redirect.

- **Impact:** A redirect response influenced by an attacker could expose the GitHub token to that destination. The reviewed source does not show a fixed unrelated collector or establish that this happens in ordinary release downloads.

- **Evidence paths:** package.json, install.js, README.md

- **Review source:** ai\_review

- **Reviewed:** 2026-11-21T22:45:25.414Z

### AI review details

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

- **Mechanism:** The downloader adds MCPTASK\_GITHUB\_TOKEN or GITHUB\_TOKEN to each request, then recursively requests the response's Location without restricting its host.

- **Rationale:** The install-time downloader forwards an optional GitHub token to redirect destinations without validating their host, which is a credential-handling vulnerability. The download and checksum workflow serve the package's stated purpose, so the evidence supports a warning rather than a malicious-package block.

- **Files touched:** install.js, package.json, package/vendor/\<platform binary\>, OS temporary directory entry prefixed mcptask-

- **Network endpoints:** github.com (release download URL), HTTP redirect Location (host is not validated)

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 86.0%

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

- **Intent class:** Critical Vulnerability

- **False-positive risk:** Medium

- **Evidence for warning:** The package runs install.js automatically through its postinstall hook., The downloader reads MCPTASK\_GITHUB\_TOKEN or GITHUB\_TOKEN and adds the value as a Bearer authorization header., On an HTTP redirect, get recursively requests the response's Location without validating its host, and attaches the token again., The initial release downloads use a GitHub URL built from the repository setting.

- **Evidence against:** The README describes the postinstall binary download and checksum verification as part of the package's purpose., The downloaded archive is checked against checksums.txt before extraction., The credential is only sent when one of the two token environment variables is set; no unrelated fixed collector appears in the reviewed source.

## Affected versions and remediation

This report applies to @mcptask/cli@0.3.53.

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

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node install.js
```

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

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

Public source snippet (untrusted):

```json
scripts.postinstall = node install.js
```

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

Package declares npm scripts.

### 4. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** bin/mcptask\_runner.js
- **Public source:** [View source](<https://unpkg.com/@mcptask/cli@0.3.53/bin/mcptask_runner.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L13: const fs = require('node:fs')
L14: const { spawnSync } = require('node:child_process')
L15:
```

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

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 8. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** install.js
- **Public source:** [View source](<https://unpkg.com/@mcptask/cli@0.3.53/install.js>)

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

Public source snippet (untrusted):

```javascript
L14: const fs = require('node:fs')
L15: const https = require('node:https')
L16: const os = require('node:os')
L17: const path = require('node:path')
L18: const { execFileSync } = require('node:child_process')
L19: 
L20: const REPO = process.env.MCPTASK_RELEASE_REPO || 'jchsoft/mcptask-releases'
L21: const BINARY = process.platform === 'win32' ? 'mcptask_runner.exe' : 'mcptask_runner'
```

### 9. High: Install Named Payload File
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** install.js
- **Public source:** [View source](<https://unpkg.com/@mcptask/cli@0.3.53/install.js>)

Install-named source file stages remote content through filesystem writes and execution.

Public source snippet (untrusted):

```javascript
L14: const fs = require('node:fs')
L15: const https = require('node:https')
L16: const os = require('node:os')
L17: const path = require('node:path')
L18: const { execFileSync } = require('node:child_process')
L19: 
L20: const REPO = process.env.MCPTASK_RELEASE_REPO || 'jchsoft/mcptask-releases'
L21: const BINARY = process.platform === 'win32' ? 'mcptask_runner.exe' : 'mcptask_runner'
L22: const VENDOR = path.join(__dirname, 'vendor')
L23: 
...
L26: // a pre-release installable without republishing the package.
L27: const version = process.env.MCPTASK_VERSION || `v${require('./package.json').version}`
```

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

Package source contains URL literals.

### 11. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 85.0%

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

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

Package manifest does not declare a clear license.

### 13. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** install.js
- **Public source:** [View source](<https://unpkg.com/@mcptask/cli@0.3.53/install.js>)

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

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = @mcptask/cli@0.3.50
matchedPath = install.js
matchedIdentity = npm:QG1jcHRhc2svY2xp:0.3.50
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 14. High: Known Malware Source Fingerprint Signature
- **Category:** Supply Chain
- **Confidence:** 94.0%
- **Path:** install.js
- **Public source:** [View source](<https://unpkg.com/@mcptask/cli@0.3.53/install.js>)

Source fingerprint signature matches a known malicious package signature; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = malicious_source_fingerprint_signature
signature = 648dcf5fbc0a0b85
signatureType = suspicious_hashes
sourceLabel = final_verdict:malicious
matchedPackage = @mcptask/cli@0.3.50
matchedPath = install.js
matchedIdentity = npm:QG1jcHRhc2svY2xp:0.3.50
similarity = 1.000
shingleOverlap = 3
summary = package final verdict is malicious
```

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

## Package metadata
- **Package:** @mcptask/cli
- **Ecosystem:** npm
- **Version:** 0.3.53
- **License:** UNLICENSED
- **Version published:** 2026-11-21T22:43:10.474Z
- **Package first seen:** 2026-08-13T06:50:42.405Z
- **Package last seen:** 2026-11-21T22:45:25.414Z
- **Known versions:** 39
- **Latest version:** 0.3.53
- **Appeal under review:** No
- **Description:** mcptask runner — drives a coding CLI (Claude Code, Codex CLI) through the tasks on mcptask.online
- **Maintainers:** chmel
- **Runtime engines:** node: \>=18
- **Supported OS:** darwin, linux, win32
- **Supported CPU:** x64, arm64
- **Artifact files:** 4
- **Artifact unpacked size:** 11,003 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@mcptask/cli/v/0.3.53>)
- [Repository](<https://github.com/jchsoft/mcptask-releases>)
- [Homepage](<https://mcptask.online/>)
- [Issues](<https://github.com/jchsoft/mcptask-releases/issues>)
