registry  /  patchwarden  /  1.1.0

patchwarden@1.1.0

Secure local MCP bridge for ChatGPT and local agents, with workspace-scoped tasks, safe summaries, audits, and Direct editing.

Static Scan Results

scanned 10d ago · by rust-scanner

Static analysis flagged 13 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
ChildProcessCryptoDynamicRequireEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsMinifiedUrlStrings
ManifestNo manifest risk signals triggered.
scanned 199 file(s), 2.60 MB of source, external domains: 127.0.0.1, api.github.com, bugs.chromium.org, bugs.webkit.org, bugzilla.mozilla.org, github.com, registry.npmjs.org, tailwindcss.com, www.w3.org

Source & flagged code

6 flagged · loading source
dist/tools/androidDoctor.jsView file
9*/ L10: import { execSync } from "node:child_process"; L11: import { existsSync, readFileSync, statSync } from "node:fs";
High
Child Process

Package source references child process execution.

dist/tools/androidDoctor.jsView on unpkg · L9
dist/runner/runTask.jsView file
715const shim = /^pnpm/i.test(command) ? "pnpm.cmd" : "npm.cmd"; L716: command = process.env.ComSpec || "cmd.exe"; L717: args = ["/d", "/s", "/c", shim, ...args];
High
Shell

Package source references shell execution.

dist/runner/runTask.jsView on unpkg · L715
dist/smoke-test.jsView file
621"process.env.PATCHWARDEN_CONFIG = configPath;", L622: "import(moduleUrl).then((module) => module.loadConfig()).then(() => process.exit(0)).catch((error) => { console.error(error.message); process.exit(2); });", L623: ].join("");
Medium
Dynamic Require

Package source references dynamic require/import behavior.

dist/smoke-test.jsView on unpkg · L621
scripts/checks/control-center-smoke.jsView file
1010L1011: child = spawn("node", [serverPath], { L1012: cwd: projectRoot, L1013: env: { L1014: ...process.env, L1015: PATCHWARDEN_CONTROL_PORT: String(TEST_PORT), ... L1021: // is exactly the fault-tolerance path we want to exercise. L1022: PATCHWARDEN_CORE_URL: "http://127.0.0.1:18080", L1023: PATCHWARDEN_DIRECT_URL: "http://127.0.0.1:18081",
High
Same File Env Network Execution

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

scripts/checks/control-center-smoke.jsView on unpkg · L1010
14Cross-file remote execution chain: scripts/checks/control-center-smoke.js spawns ui/vendor/tailwindcss-browser.js; helper contains network access plus dynamic code execution. L14: L15: import { spawn, execSync } from "node:child_process"; L16: import http from "node:http"; L17: import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync } from "node:fs"; ... L20: L21: const __dirname = dirname(fileURLToPath(import.meta.url)); L22: const projectRoot = join(__dirname, "..", ".."); ... L40: let childExitInfo = null; L41: let childStderr = ""; L42: let childStdout = ""; ... L128: res.on("data", (chunk) => (data += chunk)); L129: res.on("end", () => resolve({ status: res.statusCode, headers: res.headers, body: data }));
High
Cross File Remote Execution Context

Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.

scripts/checks/control-center-smoke.jsView on unpkg · L14
PatchWarden-Desktop.cmdView file
path = PatchWarden-Desktop.cmd kind = build_helper sizeBytes = 194 magicHex = [redacted]
Medium
Ships Build Helper

Package ships non-JavaScript build or shell helper files.

PatchWarden-Desktop.cmdView on unpkg

Findings

4 High5 Medium4 Low
HighChild Processdist/tools/androidDoctor.js
HighShelldist/runner/runTask.js
HighSame File Env Network Executionscripts/checks/control-center-smoke.js
HighCross File Remote Execution Contextscripts/checks/control-center-smoke.js
MediumDynamic Requiredist/smoke-test.js
MediumNetwork
MediumEnvironment Vars
MediumShips Build HelperPatchWarden-Desktop.cmd
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings