AI Security Review
scanned 1d ago · by lpm-firewall-aiNo confirmed malicious attack surface was established. Risky primitives are runtime CMS/admin features and depend on authenticated admin configuration or local project files.
Decision evidence
public snapshot- dist/packages/core/src/services/flow-engine.js runs admin-defined flow conditions/code in vm with process.env in sandbox.
- dist/cli/index.js has user-invoked `zenithcms plugins` that runs `pnpm add` for selected official plugins.
- dist/packages/core/src/api/system/audit-logs.js can run a template setup script after admin onboarding selection.
- package.json has no install/preinstall/postinstall lifecycle scripts.
- Main entry dist/packages/core/src/index.js starts CMS services only when application code constructs/starts the engine; no import-time exfiltration found.
- Network use is package-aligned: embeddings, OAuth, webhooks, deployment hooks, telemetry, and configured storage providers.
- Dynamic import in dist/packages/core/src/database/adapters/AotBridge.js loads local project `.zenith/adapter` only when runtime app opts into AOT.
- No AI-agent control-surface writes or reviewer/prompt manipulation files found.
- Secrets are mostly validated, masked, or used for configured CMS functions rather than harvested to hardcoded endpoints.
Source & flagged code
7 flagged · loading sourcePackage contains a possible secret pattern.
dist/packages/core/src/api/auth/sso.jsView on unpkg · L36Package source references child process execution.
dist/cli/index.jsView on unpkg · L237Package source references dynamic require/import behavior.
dist/database/adapters/AotBridge.jsView on unpkg · L30Package source executes code through a VM context API.
dist/packages/core/src/services/flow-engine.jsView on unpkg · L121Package source invokes a package manager install command at runtime.
dist/packages/core/src/api/system.jsView on unpkg · L1211This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/packages/core/src/index.jsView on unpkg