Urgent.News

What's breaking now, across hundreds of outlets.

AI

Please don’t give the robot my SSH keys: How to keep AI out of trouble

Say a developer asks an AI agent to find out why a Kubernetes pod keeps crashing. The agent needs logs. The post Please don’t give the robot my SSH keys: How to keep AI out of trouble appeared first on The New Stack .

Please don’t give the robot my SSH keys: How to keep AI out of trouble

Developers often seek the assistance of AI agents to troubleshoot issues within their Kubernetes environments. These agents utilize credentials provided by the developer to access vital information and logs. However, granting broad access to these credentials poses significant risks, as a single investigation could inadvertently lead to further incidents or security breaches.

During a discussion at KubeCon + CloudNativeCon, Teleport field CTO Boris Kurktchiev explained the concept of delegated identity as a solution to this challenge. By starting with no access, the agent can request the specific permissions necessary for its task, and the audit trail records the original requestor and subsequent actions taken.

Teleport's core platform offers a unified approach to defining access policies across various systems, including Kubernetes, databases, and CI/CD pipelines. This approach extends to automated workloads and agents, allowing multiple agents to operate concurrently without overwhelming human reviewers. The concept of Teleport's Beams introduces an agent runtime that combines sandboxing, identity, access, and auditing mechanisms.

Kurktchiev emphasizes that the default access configuration should always be set to "zero," limiting the agent's capabilities to only what is explicitly granted. This granular control enables developers to differentiate between the agent's proposed actions and the permissions ultimately awarded. In case of deviations from the planned execution path, various mitigation options are available, ranging from alerting relevant personnel to halting the operation or even redirecting the agent to explore alternative routes.

While the conversation primarily revolves around Teleport, the interview also touches upon industry standards such as SPIFFE and the potential integration with the Model Context Protocol (MCP) for improved agent functionality. These advancements could facilitate seamless agent interactions with diverse tools and data across organizational boundaries, ultimately enhancing the overall security and efficiency of AI-driven troubleshooting processes.

Rewritten by urgent.news; may contain errors — check the original.

Source: thenewstack.io

Read the original at thenewstack.io →

Report a problem with this story

More in AI

More from Tuesday 24 November →