AI Security Review
scanned 2h ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. The user-invoked tunnel launcher provisions a PatchWarden tunnel profile, loads an explicitly supplied tunnel key, and starts a tunnel client. Task execution can invoke configured local coding agents within a selected workspace.
Decision evidence
public snapshot- `scripts/control/start-patchwarden-tunnel.ps1` explicitly creates/updates a `tunnel-client` profile and starts its executable.
- The same explicit launcher accepts or prompts for `CONTROL_PLANE_API_KEY` and stores a DPAPI-encrypted local cache.
- `dist/runner/runTask.js` can spawn locally configured Codex/OpenCode agents for user-created tasks.
- `package.json` has no `preinstall`, `install`, `postinstall`, or `prepare` lifecycle hook.
- `dist/index.js` only starts an MCP stdio server after the user invokes its CLI.
- `dist/runner/agentInvocation.js` uses configured commands and argument-array spawning, not shell evaluation.
- `dist/security/commandGuard.js` rejects unsafe configured executables and allowlists verification commands.
- `dist/httpServer.js` and `dist/control/server.js` bind their HTTP services to loopback.
- No source evidence of credential exfiltration, remote payload download/execution, or foreign AI-agent config mutation.
Source & flagged code
6 flagged · loading sourcePackage source references child process execution.
dist/tools/androidDoctor.jsView on unpkg · L9A 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 · L1442Source 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 · L14Package ships non-JavaScript build or shell helper files.
PatchWarden-Desktop.cmdView on unpkgThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/doctor.jsView on unpkg