AI Security Review
scanned 3h ago · by lpm-firewall-aiNo unconsented install-time attack was found, but the package contains a user-invoked remote agent bridge with filesystem and shell tools. It also has a pipeline recovery path that may install missing npm packages based on build errors.
Decision evidence
public snapshot- dist/run-JrEnvaB0.js exposes read_file/write_file/shell/edit/apply_patch tools to direct LLM backends.
- dist/run-JrEnvaB0.js direct backend reads ANTHROPIC_API_KEY/OPENAI_API_KEY/GEMINI_API_KEY and calls provider APIs.
- dist/run-JrEnvaB0.js build-fix path can run `npm install ${missingPkg}` from build output during user-invoked pipeline execution.
- dist/cli/index.js init scaffolds AI-agent files such as CLAUDE.md, AGENTS.md, GEMINI.md, .claude, and .codex content.
- package.json has no preinstall/install/postinstall lifecycle hooks.
- Dangerous primitives are behind explicit CLI commands such as `substrate run`, `factory run --backend direct`, or `substrate init`.
- Network endpoints are AI/provider or local telemetry/health endpoints aligned with an AI orchestration package.
- dist/cli/index.js user-scope Codex install is explicit via `--install-user-scope` and namespaced substrate-* content.
- No credential harvesting or covert exfiltration path found in inspected entrypoints.
Source & flagged code
9 flagged · loading sourcePackage source references child process execution.
dist/upgrade-S1oUMH5P.jsView on unpkg · L1Source exposes local file and command tools to a remote model endpoint.
dist/run-JrEnvaB0.jsView on unpkg · L16Package source invokes a package manager install command at runtime.
dist/run-JrEnvaB0.jsView on unpkg · L15515Package source references a known benign dynamic code generation pattern.
dist/run-JrEnvaB0.jsView on unpkg · L31844This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/cli/index.jsView on unpkgPackage source references dynamic require/import behavior.
dist/cli/index.jsView on unpkg · L1574Package metadata claims a different repository identity while copied source loads a runtime dependency bridge.
dist/dist-BkhYgJWo.jsView on unpkg · L3Package ships non-JavaScript build or shell helper files.
dist/cli/templates/statusline.shView on unpkg