AI Security Review
scanned 3d ago · by lpm-firewall-aiNo confirmed malicious attack surface was found. Risky primitives are aligned with an AI coding CLI and require user CLI/tool invocation rather than hidden install/import execution.
Decision evidence
public snapshot- package.json has postinstall: node scripts/postinstall.js
- dist/tools/builtin/terminal.js provides user-invoked shell execution
- dist/tools/builtin/files.js can write/patch project files and run syntax/test helpers
- dist/tools/builtin/eval.js can execute approved user code
- scripts/postinstall.js only creates ~/.daedalus config directory; no network, payload download, or command execution
- dist/index.js bin initializes normal CLI state and calls update/profile/session features, not hidden exfiltration
- dist/tools/builtin/terminal.js strips sensitive env keys before spawned commands and gates install commands
- dist/tools/mcp/stdio.js strips sensitive env keys and rejects shell metacharacters in configured command
- Network endpoints are update checks, local model endpoints, provider endpoints, web/MCP tools, or user-configured URLs
Source & flagged code
9 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 source references child process execution.
dist/tools/mcp/stdio.test.jsView on unpkg · L2Package source invokes a package manager install command at runtime.
dist/tools/builtin/files.jsView on unpkg · L187Package source references dynamic require/import behavior.
dist/tools/executor.jsView on unpkg · L9Package metadata claims a different repository identity while copied source loads a runtime dependency bridge.
dist/tools/builtin/screenshot.jsView on unpkg · L10Package ships non-JavaScript build or shell helper files.
Daedalus.batView on unpkgThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/agents/orchestrator.test.jsView on unpkg