Skip to content
Hacker News front pageantoniomika

Running coding agents with lend without handing over credentials

Running coding agents without handing them my credentials

lend lets a remote coding agent run commands on your laptop through SSH agent forwarding of socket requests, gated by local policy and user approval, so credentials stay on the machine. The author shows Claude Code calling local gh over MCP, injecting secrets from 1Password, and keeping the socket path stable across reconnects. lend supports macOS and Linux but has no sandbox: an approved command that prints secrets or runs arbitrary code can still leak credentials or touch local files.

Why it matters: lend keeps credential handling on the local machine under policy and per-request approval, so remote agents run commands locally and get output back instead of receiving copies of credentials.

Read the original ↗Export Markdown