registry  /  @heretyc/subagent-mcp  /  2.12.1

@heretyc/subagent-mcp@2.12.1

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

Static Scan Results

scanned 9d ago · by rust-scanner

Static analysis flagged 12 finding(s) at 93.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.; previous stored version diff introduced dangerous source

Decision evidence

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

Source & flagged code

5 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"; ... L27: const deadlockWindow = createDeadlockWindow(); L28: const STDOUT_RING_BYTES = 2 * 1024 * 1024; L29: // Advanced-ruleset gate: per-process latch with exactly the deadlock-window ... L40: const SPAWN_GRACE_MS = (() => { L41: const raw = process.env.SUBAGENT_SPAWN_GRACE_MS; L42: if (raw === undefined || raw === "") ... L81: try { L82: const parsed = JSON.parse(text); L83: if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) {
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
matchType = previous_version_dangerous_delta matchedPackage = @heretyc/subagent-mcp@2.10.4 matchedIdentity = npm:QGhlcmV0eWMvc3ViYWdlbnQtbWNw:2.10.4 similarity = 0.778 summary = stored previous version shares package body but lacks this dangerous source file
High
Previous Version Dangerous Delta

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

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

Package ships non-JavaScript build or shell helper files.

dist/advanced-ruleset.pyView on unpkg

Findings

3 High4 Medium5 Low
HighInstall Time Lifecycle Scriptspackage.json
HighSandbox Evasion Gated Capabilitydist/index.js
HighPrevious Version Dangerous Deltadist/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