registry  /  @heretyc/subagent-mcp  /  2.10.4

@heretyc/subagent-mcp@2.10.4

MCP server that launches and manages always-interactive Claude Code and Codex sub-agent sessions (no direct Anthropic/OpenAI API).

Static Scan Results

scanned 12d ago · by rust-scanner

Static analysis flagged 11 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoEnvironmentVarsFilesystemShell
Supply chain
HighEntropyStringsMinifiedUrlStrings
ManifestNo manifest risk signals triggered.
scanned 29 file(s), 256 KB of source, external domains: github.com, registry.npmjs.org

Source & flagged code

4 flagged · loading source
package.jsonView file
scripts.postinstall = node scripts/postinstall.mjs
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
scripts.postinstall = node scripts/postinstall.mjs
Medium
Ambiguous Install Lifecycle Script

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

package.jsonView on unpkg
dist/index.jsView file
4import { z } from "zod"; L5: import { spawn, spawnSync, execSync } from "child_process"; L6: import { unlinkSync, existsSync, realpathSync, readFileSync, writeFileSync } from "node:fs"; ... L41: const SPAWN_GRACE_MS = (() => { L42: const raw = process.env.SUBAGENT_SPAWN_GRACE_MS; L43: if (raw === undefined || raw === "") ... L82: try { L83: const parsed = JSON.parse(text); L84: if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) { ... L174: agent.status = "zombie_killed"; L175: agent.exitCode = agent.exitCode ?? -1; L176: agent.exitedAt = agent.exitedAt ?? now;
High
Sandbox Evasion Gated Capability

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

dist/index.jsView on unpkg · L4
dist/advanced-ruleset.pyView file
path = dist/advanced-ruleset.py kind = build_helper sizeBytes = 3017 magicHex = [redacted]
Medium
Ships Build Helper

Package ships non-JavaScript build or shell helper files.

dist/advanced-ruleset.pyView on unpkg

Findings

2 High4 Medium5 Low
HighInstall Time Lifecycle Scriptspackage.json
HighSandbox Evasion Gated Capabilitydist/index.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumEnvironment Vars
MediumShips Build Helperdist/advanced-ruleset.py
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings