AI Security Review
scanned 1d ago · by lpm-firewall-aiNo confirmed malicious install/import attack surface was found. The package is an AI coding agent with user-invoked dangerous capabilities: shell execution, custom tool imports, package-owned MCP config writes, plugin/extension loading, and a debug Claude trace proxy.
Decision evidence
public snapshot- src/cli/claude-trace-cli.ts embeds a debug TLS key/cert and local proxy code for capturing Claude /v1/messages traffic
- src/extensibility/custom-tools/loader.ts dynamically imports user/project/plugin tool modules and injects exec capability
- src/tools/bash.ts exposes an agent bash tool capable of running shell commands
- src/utils/shell-snapshot.ts sources user shell rc files and writes private temp snapshots under os.tmpdir()
- package.json has no npm preinstall/install/postinstall/prepare lifecycle hook that runs on consumer install
- MCP writes in src/mcp/config-writer.ts target package-owned .omp/mcp.json config, not foreign .mcp.json or Claude/Codex/Cursor config
- Dynamic tool/extension loading is configuration/session driven, not import-time or install-time execution
- Shell snapshot uses 0600/0700 permissions, deletes snapshots via postmortem, and is runtime shell-context support
- The certificate/key are explicitly debug-only local MITM material, not registry or cloud credentials
- No source evidence of unconsented lifecycle mutation, persistence hooks, credential exfiltration, or remote payload execution
Source & flagged code
11 flagged · loading sourcePackage contains a critical-looking secret pattern.
dist/types/cli/claude-trace-cli.d.tsView on unpkg · L2RSA private key in dist/types/cli/claude-trace-cli.d.ts
dist/types/cli/claude-trace-cli.d.tsView on unpkg · L2Package source references a known benign dynamic code generation pattern.
src/tools/browser/aria/aria-snapshot.tsView on unpkg · L27Package source references dynamic require/import behavior.
src/extensibility/custom-tools/loader.tsView on unpkg · L47Source writes installer persistence such as shell profile or service configuration.
src/utils/shell-snapshot.tsView on unpkg · L4Package ships non-JavaScript build or shell helper files.
src/utils/shell-snapshot-fn-env.shView on unpkgPackage contains source files above the static scanner size ceiling.
dist/cli.jsView on unpkgPackage contains an oversized executable-looking CLI entrypoint.
dist/cli.jsView on unpkgThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
src/tools/bash.tsView on unpkgHardcoded password in src/tools/eval-render.ts
src/tools/eval-render.tsView on unpkg · L248RSA private key in src/cli/claude-trace-cli.ts
src/cli/claude-trace-cli.tsView on unpkg · L50