AI Security Review
scanned 8d ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. No confirmed malicious attack surface was established by source inspection. The install hook generates first-party ChainlessChain skill packs in the app userData directory and prints an optional SQLite note; risky agent and shell capabilities are runtime/user-invoked CLI features.
Decision evidence
public snapshot- postinstall only calls src/lib/skill-packs/generator.js and optional sqlite module detection
- skill packs write under ChainlessChain Electron userData skills namespace, not Claude/Codex/MCP configs
- generated handlers validate command names and reject shell metacharacters before spawnSync shell:true
- runtime child_process uses are user-invoked CLI features such as update, npm auth, agent shell tools
- network URLs are package-aligned LLM/update/push/integration endpoints, not install-time exfiltration
- no evidence of credential harvesting or lifecycle mutation of foreign agent control surfaces
Source & flagged code
12 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.
src/auth/npm-auth.jsView on unpkg · L6This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
src/runtime/agent-core.jsView on unpkgPackage source references a known benign dynamic code generation pattern.
src/lib/plugin-ecosystem.jsView on unpkg · L86Package source references dynamic require/import behavior.
scripts/postinstall.mjsView on unpkg · L6Package source references weak cryptographic algorithms.
src/harness/prompt-compressor.jsView on unpkg · L680A single source file combines environment access, network access, and code or shell execution; review context before blocking.
src/lib/mcp-oauth.jsView on unpkg · L30Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
src/lib/mcp-oauth.jsView on unpkg · L30Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
src/commands/init.jsView on unpkg · L58Package source invokes a package manager install command at runtime.
src/commands/update.jsView on unpkg · L2