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 a guarded first-party lifecycle maintenance surface for OpenCLI files and a broad user-invoked browser/site automation surface.
Decision evidence
public snapshot- package.json runs postinstall and preuninstall lifecycle scripts
- scripts/postinstall.js writes shell completions and ~/.opencli/spotify.env on global install
- scripts/fetch-adapters.js can delete stale package-owned overrides under ~/.opencli/clis on global/explicit run
- dist/src/main.js initializes ~/.opencli runtime shims and imports user adapters/plugins at CLI runtime
- Lifecycle writes are guarded to global install or explicit env and stay in shell completion or ~/.opencli namespace
- No lifecycle mutation of Claude/Codex/Cursor/MCP or other foreign AI-agent control surfaces found
- preuninstall only POSTs localhost shutdown to 127.0.0.1:19825
- Network use in clis/* is site-adapter functionality invoked by explicit commands
- child_process usage is for launching local apps, checking/installing external CLIs, and platform tools after user command
- SegmentFault XHR monkeypatch is page-context request signing for its own adapter, not install-time exfiltration
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