AI Security Review
scanned 6d ago · by lpm-firewall-aiNo confirmed malicious attack surface was established. Risky primitives are part of an agent runtime CLI: local server bridge, agent launch, setup/update, and prompt-context injection.
Decision evidence
public snapshot- dist/core/auto-update.js can spawn background npm self-update only when user config sets auto_update.crtr='apply'.
- dist/clients/web/server.js exposes local exec/file/http bridge through web UI, gated by same-origin on loopback and token on non-loopback.
- dist/core/runtime/bearings.js reads AGENTS.md/CLAUDE.md and environment context for agent bearings, an AI-agent prompt surface but package-aligned.
- scripts/postinstall.mjs only prints setup guidance and exits; no install-time network, shell, or file mutation beyond stdout.
- bin/crtr and bin/crouter only import dist/cli.js; bin/crtrd imports daemon entrypoint.
- dist/core/self-update.js npm install and git pull operations are user-invoked update/content-update primitives.
- dist/clients/web/web-cmd.js browser opener is behind --open and spawns only open/cmd/xdg-open with generated local URL.
- High-entropy files are shipped fonts under dist/web-client/assets, not executable payloads.
- No credential harvesting or exfiltration endpoint found in inspected entrypoints.
Source & flagged code
10 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.
dist/clients/web/web-cmd.jsView on unpkg · L12Package source references shell execution.
dist/clients/attach/slash-commands.jsView on unpkg · L362Package source references dynamic require/import behavior.
dist/clients/attach/config-load.jsView on unpkg · L124Package source references weak cryptographic algorithms.
dist/builtin-pi-packages/pi-crtr-extensions/extensions/crouter-help.tsView on unpkg · L1Package source invokes a package manager install command at runtime.
dist/core/self-update.jsView on unpkg · L23Package ships high-entropy non-source blobs.
dist/web-client/assets/martian-mono-latin-wght-normal-5W32yIyr.woff2View on unpkgPackage contains source files above the static scanner size ceiling.
dist/clients/attach/attach-cmd.jsView on unpkgThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/core/runtime/bearings.jsView on unpkg