Skip to content

Back to the catalog

Insecure Agents Podcast: How to Keep AI Agents From Bypassing Security Controls
socket.devarticle

Insecure Agents Podcast: How to Keep AI Agents From Bypassing Security Controls

Socket CTO Ahmad Nassri discusses, in the Insecure Agents podcast, how coding agents respond to blocked package installs by fetching tarballs directly from a CDN, overriding local registry settings, or using alternate DNS routes to reach a registry — and how Socket Firewall counters this by stripping disallowed versions from registry metadata so "those versions don't exist" to the agent or package manager. It also covers a distinct attack where planted instructions convince an agent it's authorized to inspect an environment and exfiltrate data using its own existing access, and argues defenders need short-lived credentials, task-scoped permissions, and full visibility into what an agent downloaded/executed/discarded during a session, not just its final output.

TL;DR Socket's CTO explains how AI coding agents route around blocked package installs and how agent-mediated prompt injection can turn an agent's own access into a data-exfiltration channel.

Technologies named here