AI Security Review
scanned 2d ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. Install-time setup generates agent-callable skill-pack files under the package's own desktop application data directory. The generated handlers can later invoke the ChainlessChain CLI.
Decision evidence
public snapshot- `package.json` runs `scripts/postinstall.mjs` on install.
- `scripts/postinstall.mjs` imports and invokes `generateCliPacks()` automatically.
- `src/lib/skill-packs/generator.js` writes generated `SKILL.md` and `handler.js` files.
- Generated direct/hybrid handlers invoke the package CLI through `spawnSync` with `shell: true`.
- Generated packs target the package-owned desktop user-data `skills` directory.
- Postinstall performs no network request, credential read, shell command, or foreign-agent configuration write.
- `src/lib/paths.js` scopes generated packs under `chainlesschain-desktop-vue`, not Codex/Claude/Cursor paths.
- The Chrome connector uses loopback-only CDP and is runtime functionality, not install-time execution.
- `src/commands/update.js` self-installs only after the explicit `update` command and confirmation.
- No inspected source establishes exfiltration, remote payload loading, destructive behavior, or stealth persistence.
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 · L6Package 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 · L680This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
src/lib/chrome-connector.jsView on unpkgA single source file combines environment access, network access, and code or shell execution; review context before blocking.
src/lib/chrome-connector.jsView on unpkg · L28Source 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