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 `postinstall` automatically.
- `cli/hooks/postinstall.js` installs runtime components into `~/.zevai/runtime`.
- `cli/hooks/playwrightRuntime.js` installs Playwright and downloads Chromium.
- `src/app/api/cli-tools/codex-settings/route.js` writes `~/.codex/config.toml` and `auth.json` on POST.
- `src/app/api/cli-tools/cline-settings/route.js` writes Cline configuration and API-key storage on POST.
- `src/mitm/manager.js` can manage a local MITM service, DNS/hosts entries, and trust settings.
- No lifecycle hook writes Codex, Cline, or other agent configuration.
- Agent configuration changes occur only in runtime POST handlers.
- `src/dashboardGuard.js` protects `/api/*` and local-only gates sensitive MITM and credential-import routes.
- Postinstall targets package-owned `~/.zevai/runtime`, not a foreign agent control surface.
- No source evidence of secret harvesting followed by an attacker-controlled exfiltration endpoint.
- Network code is consistent with the package's AI-router, provider, and browser-automation features.
Source & flagged code
18 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage declares a runtime dependency whose name matches a Node built-in module.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgPackage contains a critical-looking secret pattern.
cli/app/.next-cli-build/server/chunks/2540.jsView on unpkg · L1RSA private key in cli/app/.next-cli-build/server/chunks/2540.js
cli/app/.next-cli-build/server/chunks/2540.jsView on unpkg · L1Package source references child process execution.
open-sse/handlers/ttsProviders/localDevice.jsView on unpkg · L1Package source references shell execution.
open-sse/handlers/ttsProviders/localDevice.jsView on unpkg · L35Package source references dynamic require/import behavior.
open-sse/translator/index.jsView on unpkg · L32Package source references weak cryptographic algorithms.
src/mitm/cert/install.jsView on unpkg · L2Source writes installer persistence such as shell profile or service configuration.
cli/src/cli/tray/autostart.jsView on unpkg · L3A single source file combines environment access, network access, and code or shell execution; review context before blocking.
cli/app/src/mitm/server.jsView on unpkg · L24Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
cli/app/src/mitm/server.jsView on unpkg · L24Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
cli/cli.jsView on unpkg · L2Package source invokes a package manager install command at runtime.
cli/app/src/lib/updater/updater.jsView on unpkg · L1Package ships non-JavaScript build or shell helper files.
cli/src/cli/tray/tray.ps1View on unpkgPackage ships high-entropy non-source blobs.
cli/app/.next-cli-build/static/media/ba9851c3c22cd980-s.woff2View on unpkgThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
src/app/api/cli-tools/cline-settings/route.jsView on unpkgRSA private key in cli/app/.next-cli-build/server/chunks/8971.js
cli/app/.next-cli-build/server/chunks/8971.jsView on unpkg · L1