AI Security Review
scanned 8d ago · by lpm-firewall-aiNo confirmed malicious attack surface. The install hook prewarms V8 cache by invoking safe fast-path CLI flags; runtime network and credential storage are user-invoked AI provider features.
Decision evidence
public snapshot- package.json defines postinstall hook: node scripts/postinstall-warmup.mjs
- bin/claudin can write ~/.claudin/v8cache and re-exec with heap/allocator env changes
- dist is bundled/minified and ships dist/claudin-vscode.vsix archive
- scripts/postinstall-warmup.mjs only spawnSyncs bin/claudin --version and --help with stdio ignored and 15s timeouts
- dist/cli.mjs handles --version directly and --help by reading dist/help*.txt before startup update/auth/provider network paths
- scripts/v8cache-gc.mjs only deletes stale files under the provided v8cache directory
- Network/OAuth code inspected is aligned with AI CLI features: Anthropic, GitHub Copilot, Codex, xAI, DuckDuckGo, provider APIs
- No install-time credential harvesting, external exfiltration endpoint, persistence, destructive project writes, or AI-agent control-surface mutation confirmed
- Trojan-source hint in index chunk appears from bundled entity/encoding tables containing invisible character references, not hidden control flow
Source & flagged code
17 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage contains a possible secret pattern.
dist/chunks/cli-0.6.14-x5c5tsdg.mjsView on unpkg · L1Package source references child process execution.
dist/chunks/cli-0.6.14-0h1s6fwr.mjsView on unpkg · L1Package source references weak cryptographic algorithms.
dist/chunks/hookChains-0.6.14-pqje8ftz.mjsView on unpkg · L1Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/chunks/cli-0.6.14-zs6qf39k.mjsView on unpkg · L1Source writes installer persistence such as shell profile or service configuration.
dist/chunks/cli-0.6.14-zs6qf39k.mjsView on unpkg · L1This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/chunks/cli-0.6.14-hwwpzjf6.mjsView on unpkgA single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/chunks/cli-0.6.14-hwwpzjf6.mjsView on unpkg · L1Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/chunks/cli-0.6.14-hwwpzjf6.mjsView on unpkg · L1Source reaches cloud instance metadata or link-local credential endpoints.
dist/chunks/index-0.6.14-8zzk0q1e.mjsView on unpkg · L1Source contains bidi control or invisible Unicode characters associated with Trojan Source attacks.
dist/chunks/index-0.6.14-grrxerr7.mjsView on unpkg · L20Source decodes a Base64-obscured HTTP endpoint at runtime.
dist/chunks/defaultActionDeps-0.6.14-576scmq8.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.6.14-sfan5yg2.mjsView on unpkgHardcoded password in dist/chunks/openaiShim-0.6.14-da1kj5v4.mjs
dist/chunks/openaiShim-0.6.14-da1kj5v4.mjsView on unpkg · L11