AI Security Review
scanned 3h ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. This is a first-party ClawLink host gateway with explicit setup of a persistent service that can run local AI agent CLIs for remotely claimed jobs. The capability is high impact but transparent and package-aligned, with no install-time activation.
Decision evidence
public snapshot- scripts/install.js explicitly installs persistent launchd/systemd/Windows scheduled-task service on user command
- src/worker.js polls ClawLink bridge for remote jobs and dispatches them to local agent runtimes
- src/adapters/base.js spawns configured local CLIs; codex/claude adapters can use stronger write/shell permissions for trusted writable turns
- scripts/install.js can copy package into ~/.clawlink-host/app and write baseline agent files into workspaces
- package.json has no preinstall/install/postinstall lifecycle hooks
- bin/cli.js only activates setup/install/run behavior through explicit CLI commands
- networking is package-aligned: ClawLink host bridge, link redemption, localhost OpenClaw, attachment URLs
- src/adapters/base.js uses argv arrays on POSIX and filters known auto-approve flags in args_template
- src/logger.js redacts configured tokens; config.js stores tokens under ~/.clawlink-host/config.json mode 0600
- No eval/vm, credential harvesting, destructive payload, or unconsented broad AI-agent config mutation found
Source & flagged code
6 flagged · loading sourcePackage source references dynamic require/import behavior.
native/index.jsView on unpkg · L6This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
scripts/install.jsView on unpkgPackage source invokes a package manager install command at runtime.
scripts/install.jsView on unpkg · L36Source writes installer persistence such as shell profile or service configuration.
scripts/install.jsView on unpkg · L8Package ships native binary artifacts.
native/harness-core.darwin-arm64.nodeView on unpkg