AI Security Review
scanned 5d ago · by lpm-firewall-aiNo confirmed malicious attack surface was established. The risky primitives are tied to an explicit local AI-agent management CLI and server runtime.
Decision evidence
public snapshot- package.json defines install-time postinstall and CLI bins constella/constellai
- scripts/postinstall.mjs chmods bin/constella.mjs and bin/worker.mjs on POSIX
- bin/constella.mjs uses child_process to run dependency CLIs, system probes, migrations, Next, and worker
- bin/constella-update.mjs can run npm install -g constellai@latest during explicit update
- bin/worker.mjs sends local worker-secret HTTP POSTs and watches ~/.constella/organizations workspaces
- postinstall only changes executable bits and does not fetch, spawn shell, or harvest data
- Network endpoints are package-aligned: npm registry update check, localhost worker routes, optional Tailscale install in vps mode
- Update installer is reached by constella update/in-app update, not automatic install-time execution
- Worker blocks sending its secret to non-loopback BASE unless explicit opt-in env is set
- No credential exfiltration, persistence implant, destructive hidden behavior, or AI-agent control-surface mutation found
Source & flagged code
11 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.
bin/constella-update.mjsView on unpkg · L26Package source invokes a package manager install command at runtime.
bin/constella-update.mjsView on unpkg · L11A single source file combines environment access, network access, and code or shell execution; review context before blocking.
bin/constella.mjsView on unpkg · L318Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
bin/constella.mjsView on unpkg · L19Package metadata claims a different repository identity while copied source loads a runtime dependency bridge.
bin/constella.mjsView on unpkg · L65Package ships non-JavaScript build or shell helper files.
scripts/vps-update.shView on unpkgPackage ships compressed or archive-like blobs.
skills/front-end/web-artifacts-builder/scripts/shadcn-components.tar.gzView on unpkgPackage ships high-entropy non-source blobs.
skills/design/theme-factory/theme-showcase.pdfView on unpkg