AI Security Review
scanned 2d ago · by lpm-firewall-aiNo confirmed malicious attack surface was found. Risky primitives are aligned with a coding-agent CLI: user-invoked shell/tool execution, provider networking, plugin management, local voice runtime, and verified native runtime download.
Decision evidence
public snapshot- src/runtime/memory/lib/runtime-fetcher.mjs can download and extract a native PostgreSQL runtime on memory feature use.
- src/runtime/channels/lib/whisper-server.mjs spawns a local whisper-server child for voice transcription.
- src/standalone/plugin-admin.mjs can clone Git plugins and remove managed plugin directories when user invokes plugin admin flows.
- package.json has no preinstall/install/postinstall lifecycle hooks; only bin mixdog -> src/cli.mjs.
- src/cli.mjs and src/app.mjs only dispatch explicit CLI/TUI/headless commands, with no import-time payload.
- runtime-fetcher verifies bundled manifest SHA-256, rejects unsafe tar paths, and downloads from package GitHub release URLs.
- whisper-server binds only localhost fixed port, fails closed on foreign port ownership, and posts audio only to local /inference.
- hook/MCP/plugin writes are mixdog-owned or explicit user-invoked config flows, not install-time foreign agent hijacking.
- src/runtime/channels/lib/format.mjs invisible character is used to escape nested code fences, not control-flow obfuscation.
Source & flagged code
13 flagged · loading sourcePackage contains a possible secret pattern.
scripts/compact-smoke.mjsView on unpkg · L388Package source references child process execution.
scripts/smoke-loop.mjsView on unpkg · L2Package source references dynamic require/import behavior.
scripts/ingest-pure-conversation-smoke.mjsView on unpkg · L12Package source references weak cryptographic algorithms.
src/standalone/plugin-admin.mjsView on unpkg · L1Source writes installer persistence such as shell profile or service configuration.
src/runtime/agent/orchestrator/tools/shell-snapshot.mjsView on unpkg · L13A single source file combines environment access, network access, and code or shell execution; review context before blocking.
src/runtime/channels/lib/whisper-server.mjsView on unpkg · L35Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
src/runtime/memory/lib/runtime-fetcher.mjsView on unpkg · L1Source contains bidi control or invisible Unicode characters associated with Trojan Source attacks.
src/runtime/channels/lib/format.mjsView on unpkg · L129Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
scripts/boot-smoke.mjsView on unpkg · L1Package ships non-JavaScript build or shell helper files.
scripts/build-runtime-linux.shView on unpkgThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
src/runtime/memory/lib/embedding-worker.mjsView on unpkgHardcoded password in scripts/session-ingest-smoke.mjs
scripts/session-ingest-smoke.mjsView on unpkg · L59