AI Security Review
scanned 6d ago · by lpm-firewall-aiNo confirmed malicious attack surface was established. The package has high-risk router/proxy, OAuth, MITM, updater, and browser automation functionality, but inspected behavior is package-aligned or disabled rather than covert exfiltration or persistence.
Decision evidence
public snapshot- package.json defines postinstall hook cli/hooks/postinstall.js
- cli/hooks/sqliteRuntime.js installs better-sqlite3 into ~/.zevai/runtime
- cli/hooks/playwrightRuntime.js may install playwright and Chromium
- src/app/api/cli-tools/cowork-settings/route.js contains Claude config mutation code, but POST returns 403 before it
- No install-time credential/env harvesting or exfiltration found in inspected hooks
- Runtime npm installs are fixed package-aligned deps for SQLite/tray/browser automation
- Network use is aligned with AI router/OAuth/provider validation functionality
- Cowork config mutation path is unreachable because POST immediately returns disabled 403
- open-sse/translator/index.js dynamic require is a static translator registry
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/42.jsView on unpkg · L1RSA private key in cli/app/.next-cli-build/server/chunks/42.js
cli/app/.next-cli-build/server/chunks/42.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.
cli/app/cli/hooks/sqliteRuntime.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