AI Security Review
scanned 3d ago · by lpm-firewall-aiNo confirmed malicious attack surface was established. The main risk is an install-time cosmetic rewrite of a dependency OAuth callback page, but it does not collect secrets, contact a remote host, or alter agent instructions.
Decision evidence
public snapshot- package.json defines postinstall: node scripts/brand-oauth-page.mjs
- scripts/brand-oauth-page.mjs writes a dependency OAuth callback page under @earendil-works/pi-ai
- CLI contains user-invoked network/update/package-manager flows in scripts/install-convex.mjs, scripts/convex-push.mjs, dist/cli/commands/update.js
- brigade.mjs only checks Node version, filters warnings, enables compile cache, and imports dist/entry.js
- dist/entry.js dispatches CLI commands; no credential harvesting or install/import-time exfiltration found
- postinstall script is idempotent cosmetic branding using bundled assets and exits silently if target dependency page is absent
- dist/security/injection-patterns.js is a defensive scanner for prompt injection/exfil patterns; Trojan-source-like characters are in regex literals/comments, not hidden control flow
- Network endpoints observed are package-aligned: local Convex, GitHub Convex releases, Slack/Telegram channel APIs, npm update check
Source & flagged code
21 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage source references child process execution.
dist/ui/onboarding.jsView on unpkg · L14Source writes installer persistence such as shell profile or service configuration.
dist/core/daemon/systemd.jsView on unpkg · L8Package source references a known benign dynamic code generation pattern.
dist/agents/org/pride-image.jsView on unpkg · L90Package source references dynamic require/import behavior.
brigade.mjsView on unpkg · L54Package source references weak cryptographic algorithms.
dist/agents/tool-loop-detector.jsView on unpkg · L1A single source file combines environment access, network access, and code or shell execution; review context before blocking.
scripts/convex-dev.mjsView on unpkg · L16Source reaches cloud instance metadata or link-local credential endpoints.
dist/infra/net/fetch-guard.jsView on unpkg · L4Source contains bidi control or invisible Unicode characters associated with Trojan Source attacks.
dist/security/injection-patterns.jsView on unpkg · L58Package source invokes a package manager install command at runtime.
scripts/convex-push.mjsView on unpkg · L53Package ships non-JavaScript build or shell helper files.
skills/video-frames/scripts/frame.shView on unpkgPackage ships high-entropy non-source blobs.
scripts/assets/brigade-favicon.icoView on unpkgPackage contains source files above the static scanner size ceiling.
dist/ui/brand-frames-cli.jsView on unpkgPackage contains an oversized executable-looking CLI entrypoint.
dist/ui/brand-frames-cli.jsView on unpkgHardcoded password in dist/agents/channels/bluebubbles/account-config.d.ts
dist/agents/channels/bluebubbles/account-config.d.tsView on unpkg · L28Hardcoded password in dist/agents/channels/bluebubbles/account-config.d.ts
dist/agents/channels/bluebubbles/account-config.d.tsView on unpkg · L34Hardcoded password in dist/agents/channels/bluebubbles/account-config.d.ts
dist/agents/channels/bluebubbles/account-config.d.tsView on unpkg · L35Hardcoded password in dist/agents/channels/bluebubbles/account-config.js
dist/agents/channels/bluebubbles/account-config.jsView on unpkg · L28Hardcoded password in dist/agents/channels/bluebubbles/account-config.js
dist/agents/channels/bluebubbles/account-config.jsView on unpkg · L34Hardcoded password in dist/agents/channels/bluebubbles/account-config.js
dist/agents/channels/bluebubbles/account-config.jsView on unpkg · L35