TL;DR: A newly published npm package linked local AI CLIs to an operator-controlled web platform, passed account keys over plaintext WebSockets, and inherited full process environments, creating a remote-control channel that could expose secrets and transcripts, according to Panther. The case shows that AI agent governance fails when tooling treats borrowed compute as a harmless integration layer instead of an identity boundary.
NHIMG editorial — based on content published by Panther: Lend Me Your Claude: The Cost of Borrowed AI Compute
By the numbers:
- The platform showed 3 connected agents and 336.2k accumulated tokens of relayed AI compute at the time of capture.
- The package iterated across four versions in roughly 33 hours.
Questions worth separating out
Q: What breaks when a local AI CLI is remotely steered through a relay package?
A: The normal user-to-tool relationship breaks, because the operator can inject prompts, read outputs, and persist the connection outside the user's direct control.
Q: Why do AI coding environments create more secret exposure risk than standard developer tools?
A: They can inspect repository context, read dotfiles, and infer where credentials are stored, then act on that information through commands or file changes.
Q: What do teams get wrong about securing AI tool connectors?
A: Teams often assume that authentication alone is enough, but authenticated access can still be too broad or too fast for safe governance.
Practitioner guidance
- Inventory every remote AI relay path Identify packages and wrappers that connect local AI CLIs to external servers, then classify them as governed execution channels rather than ordinary developer tools.
- Isolate AI CLI execution from inherited environments Run remote-steered AI tooling in constrained contexts where process.env does not expose production API keys, cloud credentials, or service tokens.
- Require explicit enrollment and offboarding for agent relays Maintain an owner, purpose, and removal process for every AI relay or connector that can persist state on disk or reconnect automatically.
What's in the full article
Panther's full blog post covers the operational detail this post intentionally leaves for the source:
- Version-by-version package timeline showing when the remote-control logic appeared and how it changed over four releases
- Live indicators from the operator control panel, including connected agents and accumulated relayed compute
- Technical behavior of the WebSocket channel, including the account key flow and the self-healing reconnect logic
- Observed implementation details around execFile inheritance, state-file persistence, and local CLI enumeration
👉 Read Panther's analysis of Lend Me Your Claude: The Cost of Borrowed AI Compute →
AI relay channels and borrowed compute: what IAM teams should watch?
Explore further
Borrowed AI compute becomes an identity problem the moment the operator can steer local execution. This case is not just about suspicious package behaviour. It shows that the real control boundary sits between prompt delegation and command execution, and that boundary is often invisible in developer tooling. Once the operator can relay tasks into local CLIs, the identity model has already shifted from user-owned tooling to externally governed execution.
A few things that frame the scale:
- 1 in 4 organisations are already investing in dedicated NHI security capabilities, with an additional 60% planning to do so within the next twelve months, according to The State of Non-Human Identity Security.
- Only 1.5 out of 10 organisations are highly confident in their ability to secure NHIs, compared to nearly 1 in 4 for securing human identities.
A question worth separating out:
Q: Who is accountable when an AI relay package exposes prompts or credentials?
A: Accountability sits with the team that approved the tooling, the environment owner that allowed sensitive secrets to be present, and the operator that controlled the relay if it was outside the intended trust boundary. Governance frameworks should assign responsibility before the tool is installed, not after data is exposed.
👉 Read our full editorial: Agent-initiated AI relay channels expose a new identity risk