AI Security Review
scanned 2d ago · by lpm-firewall-aiNo confirmed malicious attack surface was established. The package is a user-invoked remote coding-agent bridge with expected daemon, relay, updater, and agent-permission plumbing.
Decision evidence
public snapshot- dist/daemon.js creates a user launchd agent for daemon persistence when the user starts Kraki on macOS SEA.
- dist/adapters/pi.js materializes a Pi extension and auto-approves tools in execute/delegate modes as part of remote agent control.
- dist/adapters/copilot.js creates a shadow Copilot config and empty permissions-config.json under Kraki state to route approvals through Kraki.
- package.json has no preinstall/install/postinstall lifecycle hooks; execution is via user-invoked kraki CLI/bin.
- README.md describes the package as a coding-agent bridge to watch/steer sessions from another device.
- dist/setup.js and dist/cli.js perform interactive/headless setup before saving relay/auth config or starting the daemon.
- dist/update.js updater is an explicit kraki update command using GitHub releases/npm, with checksum support for binaries.
- Credential reads are local and package-aligned: gh auth token, saved GitHub token, or user-provided Anthropic key for configured agents.
- No source-inspected path shows covert exfiltration, destructive install-time behavior, or remote payload execution outside the declared bridge/update flows.
Source & flagged code
7 flagged · loading sourceSource writes installer persistence such as shell profile or service configuration.
dist/daemon.jsView on unpkg · L7Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/update.jsView on unpkg · L9Package source invokes a package manager install command at runtime.
dist/update.jsView on unpkg · L4Package metadata claims a different repository identity while copied source loads a runtime dependency bridge.
dist/adapters/copilot.jsView on unpkg · L266This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/adapters/pi.jsView on unpkg