AI Security Review
scanned 2h ago · by lpm-firewall-aiReview flagged AI-agent configuration or capability changes. This remains warn-only unless evidence shows foreign-agent hijack through preinstall/install/postinstall, hidden persistence, exfiltration, remote code execution, or other concrete malicious behavior.
Decision evidence
public snapshot- `package.json` runs `hooks/postinstall.js` automatically.
- `hooks/sqliteRuntime.js` installs `sql.js` and `better-sqlite3` into the user data directory.
- `hooks/trayRuntime.js` installs `systray2` and deletes legacy runtime copies.
- `app/src/mitm/server.js` is a bundled privileged HTTPS interception/hosts-file component.
- `app/src/lib/updater/updater.js` runs global `npm i -g switchboard-router@latest` when invoked.
- Postinstall only warms pinned runtime dependencies; it does not launch the router or MITM server.
- Runtime installs use npm arguments rather than downloaded shell payloads.
- No source evidence of credential-file harvesting or exfiltration was found in inspected files.
- CLI starts the server only through the user-invoked `switchboard` command.
Source & flagged code
15 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 contains a critical-looking secret pattern.
app/.next-cli-build/server/chunks/3675.jsView on unpkg · L1RSA private key in app/.next-cli-build/server/chunks/3675.js
app/.next-cli-build/server/chunks/3675.jsView on unpkg · L1Package source references child process execution.
app/src/mitm/server.jsView on unpkg · L32A single source file combines environment access, network access, and code or shell execution; review context before blocking.
app/src/mitm/server.jsView on unpkg · L24Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
app/src/mitm/server.jsView on unpkg · L24Package source references dynamic require/import behavior.
app/server.jsView on unpkg · L1Source writes installer persistence such as shell profile or service configuration.
src/cli/tray/autostart.jsView on unpkg · L3Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
cli.jsView on unpkg · L2This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
app/src/lib/updater/updater.jsView on unpkgPackage source invokes a package manager install command at runtime.
app/src/lib/updater/updater.jsView on unpkg · L1Package ships non-JavaScript build or shell helper files.
src/cli/tray/tray.ps1View on unpkgPackage ships high-entropy non-source blobs.
app/.next-cli-build/static/media/73cb51aac9c97f90-s.woff2View on unpkgRSA private key in app/.next-cli-build/server/chunks/9078.js
app/.next-cli-build/server/chunks/9078.jsView on unpkg · L1