AI Security Review
scanned 6d ago · by lpm-firewall-aiInstall-time hook warms the CLI by invoking --version and --help, which populates a package-owned V8 cache. Runtime agent, MCP, plugin, OAuth, and provider network features are package-aligned and user-invoked, not confirmed attack behavior.
Decision evidence
public snapshot- package.json defines postinstall: node scripts/postinstall-warmup.mjs
- postinstall-warmup.mjs spawnSync runs bin/claudin --version and --help during install
- bin/claudin creates package-owned ~/.claudin/v8cache via module.enableCompileCache
- CLI includes user-invoked MCP/plugin/agent/provider functionality
- dist/cli.mjs --version/--help return before main, startup update, auth, MCP, plugin, or provider validation imports
- No install-time writes to .mcp.json, CLAUDE.md, .claude, Codex/Cursor settings, or Claude Desktop config found
- scripts/postinstall-warmup.mjs sets CLAUDIN_V8CACHE_GC=0 and stdio ignore; no network code in hook
- MCP/Claude Desktop/plugin code is tied to explicit CLI commands or runtime agent features
- Bundled/minified dist explains obfuscation and large-file scanner noise
Source & flagged code
16 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage contains a possible secret pattern.
dist/chunks/cli-0.7.1-b1q31fh8.mjsView on unpkg · L1Package source references child process execution.
dist/chunks/cli-0.7.1-rt9yw2nh.mjsView on unpkg · L1Source writes installer persistence such as shell profile or service configuration.
dist/chunks/cli-0.7.1-3eywakdr.mjsView on unpkg · L1A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/chunks/cli-0.7.1-jpemgywy.mjsView on unpkg · L1Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/chunks/cli-0.7.1-jpemgywy.mjsView on unpkg · L33Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/chunks/cli-0.7.1-jpemgywy.mjsView on unpkg · L1Source reaches cloud instance metadata or link-local credential endpoints.
dist/chunks/cli-0.7.1-88kwyk7r.mjsView on unpkg · L1Source contains bidi control or invisible Unicode characters associated with Trojan Source attacks.
dist/chunks/index-0.7.1-4xrmd4xj.mjsView on unpkg · L20Source decodes a Base64-obscured HTTP endpoint at runtime.
dist/chunks/defaultActionDeps-0.7.1-xqmrxq95.mjsView on unpkg · L1Package ships high-entropy non-source blobs.
dist/claudin-vscode.vsixView on unpkgPackage ships compressed or archive-like blobs.
dist/claudin-vscode.vsixView on unpkgPackage ships a nested archive or MCP bundle that was inventoried but not recursively analyzed.
dist/claudin-vscode.vsixView on unpkgPackage contains source files above the static scanner size ceiling.
dist/chunks/cli-0.7.1-k3wrch69.mjsView on unpkgThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/chunks/cli-0.7.1-vc1w3czg.mjsView on unpkgHardcoded password in dist/chunks/openaiShim-0.7.1-z2g9xzcq.mjs
dist/chunks/openaiShim-0.7.1-z2g9xzcq.mjsView on unpkg · L11