AI Security Review
scanned 30m ago · by lpm-firewall-aiNo confirmed malicious attack surface was established. The package is an AI coding CLI whose risky primitives are exposed as user-facing runtime tools rather than hidden install-time behavior.
Decision evidence
public snapshot- package.json defines postinstall: node scripts/postinstall.js
- dist/index.js embeds an agent prompt granting terminal, file edit, web, and MCP capabilities
- dist/tools/builtin/terminal.js exposes user-invoked shell execution
- dist/tools/mcp/manager.js can add MCP server configs from registry results
- dist/tools/builtin/web.js and dist/update-check.js perform network fetches
- scripts/postinstall.js only creates ~/.daedalus and does not modify other agent configs
- No install-time code exfiltrates env, reads secrets, downloads payloads, or executes remote code
- Network use is package-aligned: update checks, model/router endpoints, web tool, MCP registry
- Shell/eval/file-write primitives are CLI tools invoked during agent use, with some approval and env sanitization gates
- MCP config mutation is first-party Daedalus config via explicit commands, not a foreign/broad control surface
- No native binaries, bytecode loaders, obfuscated payloads, or destructive import-time behavior found
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 · L2This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/tools/builtin/files.jsView on unpkgPackage 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 unpkg