AI Security Review
scanned 2h ago · by lpm-firewall-aiNo confirmed malware or exfiltration was found. Residual risk is an unconsented postinstall mutation of a dependency file plus a broad AI-agent platform surface that is mostly user-invoked.
Decision evidence
public snapshot- package.json defines postinstall: node scripts/brand-oauth-page.mjs
- scripts/brand-oauth-page.mjs resolves @earendil-works/pi-ai/oauth and rewrites its oauth-page.js during install
- dist/workspace/bootstrap.js can seed AGENTS.md and other persona files under Brigade workspace
- Package exposes an AI agent platform with skills, extensions, MCP, gateway, and channel integrations
- postinstall does not fetch network data, execute remote code, collect credentials, or write shell/VCS/agent configs
- postinstall target is a dependency OAuth callback page, not Claude/Codex/Cursor/MCP user control config
- workspace/persona files are created by runtime onboarding/bootstrap under ~/.brigade workspace, not npm install
- extension installs are explicit CLI actions with compatibility and static scan acknowledgement
- dist/security/injection-patterns.js Trojan-source hint is a regex scanner for invisible Unicode, not hidden control flow
Source & flagged code
22 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/ui/onboarding.jsView 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 · L75Package 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