AI Security Review
scanned 2h ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. No confirmed malicious attack surface was established. The package has lifecycle code and agent/browser automation capability, but inspected behavior is first-party OpenCLI setup and user-invoked site automation.
Decision evidence
public snapshot- package.json has postinstall/preuninstall lifecycle hooks
- scripts/postinstall.js writes global-install shell completions and ~/.opencli/spotify.env
- scripts/fetch-adapters.js can delete stale overrides under ~/.opencli/clis and legacy ~/.opencli shims
- dist/src/discovery.js loads user adapters/plugins from ~/.opencli via dynamic import
- dist/src/launcher.js can restart/launch Electron apps with CDP flags after prompt
- Lifecycle scripts are guarded to global install, explicit OPENCLI_FETCH, or best-effort completion setup
- Home writes are in first-party ~/.opencli or shell completion locations, not foreign AI-agent control surfaces
- No credential harvesting or external exfiltration found in lifecycle scripts
- Network use is package-aligned browser/site automation or localhost daemon control
- clis/segmentfault/article.js write action requires --execute and uses logged-in site APIs
Source & flagged code
11 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgPackage source references child process execution.
dist/src/external.jsView on unpkg · L1Package source references a known benign dynamic code generation pattern.
dist/src/browser/article-extract.jsView on unpkg · L1Package source references dynamic require/import behavior.
dist/src/discovery.jsView on unpkg · L1Package source references weak cryptographic algorithms.
clis/flomo/memos.jsView on unpkg · L1Source writes installer persistence such as shell profile or service configuration.
scripts/postinstall.jsView on unpkg · L7A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/src/browser/managed-chrome.jsView on unpkg · L1Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/src/launcher.jsView on unpkg · L1Source mutates builtin networking, serialization, module-loading, or filesystem APIs while forwarding data to an external endpoint.
clis/segmentfault/article.jsView on unpkg · L1Package ships non-JavaScript build or shell helper files.
scripts/check-doc-coverage.shView on unpkg