AI Security Review
scanned 2h ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. The plugin can auto-start its own local PM2 gateway when imported if PM2 already exists. Explicit CLI commands can install PM2, register the gateway, update the plugin cache, and execute queued OpenCode tasks. No confirmed outbound exfiltration or foreign AI-agent configuration mutation was found.
Decision evidence
public snapshot- `dist/plugin/supertask.js` calls `ensureGateway()` during plugin initialization and can start a PM2-managed gateway.
- `dist/cli/index.js` `supertask install` installs PM2 globally and registers the gateway with PM2 persistence.
- `dist/worker/index.js` executes user-created queued tasks through `opencode run --agent ... <prompt>`.
- `dist/cli/index.js` `upgrade` invokes `opencode plugin opencode-supertask@latest --global --force`.
- `package.json` has no preinstall, install, postinstall, or prepare lifecycle hook.
- No evaluated `eval` or `new Function` calls were found in executable package code.
- No outbound credential, environment, or file-exfiltration path was found.
- `fetch` uses are dashboard-relative API calls; the gateway binds its dashboard to `127.0.0.1`.
- Filesystem writes are limited to SuperTask's SQLite/config/version state paths and explicit CLI initialization.
Source & flagged code
7 flagged · loading sourcePackage source references child process execution.
dist/web/index.jsView on unpkg · L16291Source writes installer persistence such as shell profile or service configuration.
dist/web/index.jsView on unpkg · L724Source appears to send environment or credential material to an external endpoint.
dist/cli/index.jsView on unpkg · L48A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/cli/index.jsView on unpkg · L48Package source invokes a package manager install command at runtime.
dist/cli/index.jsView on unpkg · L19360Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/plugin/supertask.jsView on unpkg · L724