The Agent Followed Its Goal. And That Is the Liability Problem

OpenAI’s models breached Hugging Face while chasing a benchmark, not a victim, exposing the gap between machine-speed autonomy and the governance, controls, and insurance meant to contain it.

Topics

  • Key Takeaways

    01

    The Hugging Face breach was not a criminal operation. OpenAI’s own evaluation models crossed technical boundaries while trying to finish an assigned cyber task. 

    02

    When an agent can take thousands of actions before a person can assess the first, oversight cannot mean approving each one. Accountability has to be built into permissions, gates, monitoring and kill switches at design time.

    03

    Existing insurance may quietly respond to some AI-agent losses, but the wording rarely names autonomous execution or divided responsibility. So Indian firms should test coverage and governance now, ahead of the main DPDP compliance provisions taking effect in May 2027.

    On July 16, Hugging Face disclosed that an autonomous AI agent had breached part of its production infrastructure, running the intrusion from beginning to end. The agent executed thousands of actions on its own: escalating access, collecting credentials, moving laterally through internal systems.

    The company found that a limited set of internal datasets and several service credentials had been accessed. It saw no evidence that public models, datasets, Spaces, container images or published packages had been altered. It was still assessing whether partner or customer data was affected. 

    The incident should raise concerns in India, where agents are likely to be deployed across global business operations.

    One detail unsettled the security world more than the breach itself. At first, Hugging Face did not know which model had powered the operation. Five days later, OpenAI gave a more disquieting answer.

    OpenAI said its own models, GPT-5.6 Sol and a more capable prerelease system, had driven the activity during an internal evaluation of advanced cyber capabilities. The models were running without some of their usual cyber safeguards. Production classifiers meant to block high-risk behavior had been switched off, so researchers could measure raw capability.

    They had not been instructed to target Hugging Face. They were told to solve a cyber benchmark.

    According to OpenAI’s preliminary account, the models found and exploited a zero-day flaw in software acting as a proxy for package registries. They bypassed network constraints, reached the open internet, and moved through OpenAI’s own research environment. Then they inferred that Hugging Face might hold the answers to the ExploitGym benchmark, and went after them inside its production systems.

    The episode does not fit the usual picture of an AI failure. The models did not stall, hallucinate an answer, or refuse the job. They pursued it hard enough to break through the boundaries drawn around the test.

    That should concern any company preparing to give agents access to email, financial systems, customer records, code repositories and live infrastructure. The key risk is not that an agent might disobey but that it may follow the instructions and reach its assigned goal by a route no responsible employee would authorize. India serves as the back office and, increasingly, the R&D lab for much of global business. That means the risk could arrive at scale before the rules governing it are fully in place.

    Accountability Moves Upstream

    Both companies said the investigation was continuing. OpenAI called its findings preliminary and said it was working with Hugging Face on forensic analysis. The remaining uncertainty matters. In a claim or regulatory inquiry, the exact sequence will determine which controls failed and which party could have prevented the loss.

    Nilesh Bhojani, chief product and technology officer at Seclore, said the incident mattered because the system had not simply malfunctioned.

    “It pursued the objective it was given, using access it was granted,” he said. Responsibility, he argued, should rest with whoever defined the objective and drew the boundaries the agent worked within.

    Enterprise permissions, Bhojani noted, are usually built around what task an agent may perform, with far less attention to what data it can reach while performing it. A narrow assignment can still create wide exposure once the agent holds credentials, systems or records it never needed. “Accountability is decided at design time, not at incident time,” he said.

    Paritosh Desai, chief product officer at IDfy, expects regulators to hold the deploying organization responsible rather than try to regulate an algorithm as an actor in its own right. The company that authorized the deployment, chose the objective, and decided which systems, tools and data the agent could use is the one that stays accountable.

    That does not let everyone else off. 

    Model providers are responsible for capability testing and disclosure. Agent developers govern orchestration and tool use, while infrastructure companies control part of the execution environment. The deployer, however, decides whether the combined system goes anywhere near a live business process.

    Desai said companies need a chain of accountability recording who approved the use case, set the permissions, monitored the agent’s behavior and had the authority to stop it. “A legitimate objective is not a license for unrestricted execution,” he said. When an agent accesses the wrong data or uses a tool beyond its remit, the problem is usually governance rather than intelligence.

    Anand Jude Kannabiran, vice president for Asia at the identity-security firm Delinea, also put the primary responsibility on the deployer, while holding model makers to their own duties: test the systems, explain what they can do, disclose the material risks. Once an agent enters an enterprise, though, the enterprise owns what it can access and the methods it can use. “Autonomy doesn’t dissolve accountability,” he said. “It just relocates where the accountability needs to be designed in.”

    Human Oversight Becomes System Design

    The default answer to AI risk is to put a human in the loop. That approach breaks down the moment an agent can make hundreds or thousands of decisions before a person has assessed the first.

    Bhojani said oversight has to shift from approving individual actions to enforcing conditions the agent cannot bypass: technical barriers to out-of-scope data, an unbroken record of every interaction, and protections that travel with information even after the agent passes it to another system. “The shift is from oversight as approval to oversight as verifiable constraint,” he said.

    Desai described a similar structure: least-privilege access, restricted tools, mandatory human sign-off for high-risk steps, real-time monitoring, automatic suspension, tamper-resistant logs. Before deployment, he said, a company should be able to answer three questions: what the agent may do, how it will know when the agent exceeds that, and who can pull the plug. “The human does not stay in the loop,” Desai said. “The human designs the loop.”

    Kannabiran would keep a human approval gate on anything touching sensitive data, money, production systems or irreversible change, even if the delay reduces some of the benefits of automation. Lower-risk work can run without individual approval, provided every action is attributable, logged and available to investigators. Oversight, he said, becomes a matter of architecture rather than supervision. The aim is not to watch an agent complete every task, but to build limits it cannot cross.

    Somshubro Pal Choudhary, co-founder and partner at Bharat Innovation Fund, warned against controls designed merely to slow autonomous systems. The goal, he said, is “safe autonomy,” supported by clear objectives, controlled privileges, automated guardrails, fail-safes, continuous monitoring, and human approval for high-risk actions. Accountability remains with the people and organizations that design, deploy and authorize the agent. Harm, he added, usually indicates a failure of design, governance or oversight, rather than an independent decision for which the machine can be blamed.

    Every Agent Is a Privileged Identity

    Most companies still manage AI agents the way they manage software applications. Huzefa Motiwala, senior director of technical solutions for India and SAARC at Palo Alto Networks, said they should be treated instead as privileged identities.

    An agent can hold credentials, call APIs, connect to databases and communicate with other machines. Its access can also change as it delegates tasks or acquires new tools. Companies should “govern each agent’s credentials, permissions, network access and system interactions with the same rigor applied to a highly privileged employee,” Motiwala said. No single product can cover all of this. Companies need visibility across identities, applications, cloud services and network activity to detect and contain unusual behavior before an agent completes a long sequence of actions.

    The Hugging Face response showed why speed decides outcomes. The company used language-model-based detection to flag anomalous activity, and analysis agents to comb through more than 17,000 recorded events, reconstructing the intrusion in hours rather than days, by its own account.

    Its defenders also hit a wall. Commercially hosted frontier models refused some forensic requests because the work involved attack commands, exploit payloads and command-and-control artifacts. Hugging Face ran the open-weight GLM 5.2 model on its own infrastructure instead, keeping sensitive incident data and credentials in-house while sidestepping the hosted services’ restrictions.

    Safeguards are not pointless. A provider cannot always distinguish between a responder examining malicious code and an attacker trying to build it. Companies should therefore check in advance whether their approved tools will continue to work during a real incident and maintain a secure alternative for sensitive forensic work.

    “The agent never disobeyed. It did exactly what it was told and found a path no responsible employee would have taken. That is the liability autonomy creates.”

    India’s Rulebook Already Points at the Deployer

    For Indian companies, the accountability argument is no longer theoretical. In November 2025, the government issued the India AI Governance Guidelines and, days later, notified the long-delayed rules under the Digital Personal Data Protection Act. Together, they indicate how agents are likely to be judged in India, with most responsibility falling on the organization that deploys them.

    India chose not to introduce a standalone AI law. The guidelines, issued under the IndiaAI Mission, address AI-related harms through laws already on the books, including the IT Act’s reasonable-security duty, the DPDP Act’s obligations on data fiduciaries, and consumer and criminal law. One of the framework’s seven principles is accountability, defined as a clear allocation of responsibility backed by the means to enforce it. An enterprise that deploys an agent cannot simply point to the model vendor when something goes wrong.

    The data-protection regime makes that responsibility more explicit. Once the main compliance provisions take effect in May 2027, a data fiduciary must protect personal data, notify the Data Protection Board and affected individuals of a breach, and remain responsible for processing carried out by it or on its behalf. Other reporting deadlines already apply. CERT-In requires most organizations to report a cyber incident within six hours of noticing it, while the RBI, SEBI and IRDAI impose their own cyber-resilience duties on the firms they supervise. An agent that accesses data it should not have can therefore trigger a reportable incident with only hours to respond.

    This matters more in India than in most markets for a structural reason. India hosts much of the world’s AI deployment work. Its global capability centers and IT-services companies operate the agents, manage the integrations and hold credentials for banks, insurers and retailers based elsewhere. If responsibility rests with the deployer, and India handles a large share of global deployment, much of the resulting liability will be shaped in Indian delivery centers.

    Insurance Sees the Loss Before It Sees the Agent

    Insurance generally responds to the type of harm rather than the technology behind it. A data breach may fall under cyber cover. A defective AI-enabled service may lead to a technology errors-and-omissions or professional-indemnity claim. Misleading content can raise defamation or media-liability issues. A fraudulent transfer may fall under crime or social-engineering cover.

    Autonomous agents blur those divisions because one incident can cross several policy lines while responsibility is divided among the model provider, developer, deployer and user.

    Prantik Mitra, director of the client advisory group at Alliance Insurance Brokers, said clients are asking new questions as AI shifts from recommending actions to taking them. They want to know who is liable when an agent causes a loss, whether its actions can be stopped or reversed, how credentials are controlled and whether an audit trail can reconstruct what the system saw and did. Uncertainty remains over losses involving hallucinations, algorithmic bias, model drift, intellectual-property infringement and defamatory content. “Different outcomes may fall under different insurance products, while exclusions can leave some losses outside coverage,” Mitra said. 

    He expects insurers to build “affirmative AI products as demand grows,” but underwriting autonomous systems will be hard. There is no long claims history, and a flaw in one widely used model could hit many policyholders at once.

    Najm Bilgrami, national head of liability lines at Tata AIG General Insurance, said such claims could still be covered. “AI-related incidents are not necessarily uninsured,” he said. “Whether a policy responds depends on the nature of the loss, the trigger, exclusions and other wording. Errors or failures in an AI-enabled service may potentially fall within technology professional-indemnity cover, subject to the policy’s conditions.” 

    Tata AIG has added an Affirmative Artificial Intelligence Extension to its technology professional-indemnity product, along with AI-specific underwriting questions covering the nature of the system, its degree of autonomy, human oversight, customer reliance, data governance, the use of third-party models, and the share of revenue dependent on AI. The main challenge over the next three to five years, he said, will be estimating the frequency and severity of losses without enough claims history. Insurers will have to assess a company’s controls and resilience rather than rely only on actuarial tables.

    Silent Coverage Is Not Confirmed Protection

    A 2026 report, Underwriting the Agent Economy, from the Artificial Intelligence Underwriting Company (AIUC), estimated that more than 90% of insurers’ exposure to AI-agent risk was embedded in “silent” coverage within existing cyber, directors-and-officers, commercial general-liability and technology errors-and-omissions policies. AIUC certifies and insures AI agents, so it has a stake in the market it describes. Silent coverage refers to risk that is neither clearly included nor clearly excluded. It does not mean that 90% of AI-related losses would be paid. It means insurers may have accepted exposure they did not identify or price.

    The report outlined a stress scenario in which a severe AI event caused roughly $100 billion in direct damage and trillions of dollars in wider economic losses. The scenario was an illustration rather than a forecast, intended to show how a single widely used model or service could cause correlated losses across many businesses.

    Existing cases are more varied and less dramatic.

    Air Canada was ordered to compensate a passenger who relied on incorrect bereavement-fare information supplied by its chatbot. That case involved content on the airline’s own website, not an agent operating inside another organization’s systems. 

    In the US, solar installer Wolf River Electric is suing Google over allegedly false statements produced by its AI Overviews and is seeking between $110 million and $210 million. Google is contesting the case, and there has been no ruling on the underlying claims. 

    In Hong Kong, an employee was tricked into transferring HK$200 million after fraudsters used deepfake video and audio to impersonate company executives. That was AI-enabled fraud directed at a person, not an autonomous agent moving the money itself.

    These cases do not produce a single loss rate. They involve different duties, including misinformation, alleged defamation and fraud, and activate different insurance provisions. They do show how AI-related losses are already entering claims through established categories, even under policies that do not mention AI.

    What This Means, by Role

    C-Suite.  Treat an AI agent as a delegated decision-maker rather than an ordinary piece of software. The organization that sets the objective, grants access and deploys the agent in a business process is likely to remain responsible for what happens next. Appoint an executive owner for every high-risk deployment and define its objectives, prohibited actions and shutdown authority.

    Technology & AI Leaders.  Governance begins before deployment, not after an incident. Limit permissions to the data, credentials and tools the task requires. Require approval for actions involving production systems, money, sensitive records or irreversible changes. Build in automatic suspension, tamper-resistant logs and a documented shutdown process. Given India’s six-hour CERT-In reporting deadline, companies must also be able to reconstruct an agent’s actions quickly.

    Boards, Risk & Insurance.  Do not assume existing cyber, technology errors-and-omissions, professional-indemnity or crime policies will cover losses caused by an autonomous agent. Review the wording for autonomous execution, third-party models, credential misuse, divided responsibility and correlated failures. Silent coverage is not confirmed protection. As DPDP obligations take effect through 2027, the questions underwriters now ask are also likely to be asked by regulators.

    The Hugging Face breach did not begin with anyone ordering an attack. It arose during a legitimate evaluation in an environment whose technical limits proved weaker than the models operating inside it. That is why it should concern ordinary businesses as well as AI laboratories.

    An autonomous agent does not need malicious intent to create liability. It needs an objective, access and enough capability to find a route its designers did not anticipate. A company that cannot define what its agents may access, where a human must intervene, how the system can be stopped and which contract will absorb a loss has not transferred responsibility to AI. It has accepted a risk it has not fully defined. In India, regulators are beginning to define it for them.

    RESEARCH CONTEXT

    This article draws on written responses from Nilesh Bhojani (Seclore), Paritosh Desai (IDfy), Huzefa Motiwala (Palo Alto Networks), Anand Jude Kannabiran (Delinea), Somshubro Pal Choudhary (Bharat Innovation Fund), Prantik Mitra (Alliance Insurance Brokers) and Najm Bilgrami (Tata AIG General Insurance). Principal sources include OpenAI’s July 21, 2026 preliminary disclosure; Hugging Face’s July 16, 2026 security disclosure; the AIUC report Underwriting the Agent Economy; and court and government records in the Wolf River Electric, Air Canada, and Hong Kong deepfake-fraud matters.

    Read next: The Transformation Paradox — Why Organizational Readiness, Not Technology, Determines Whether Strategy Survives Disruption

    Topics

    More Like This

    You must to post a comment.

    First time here? : Comment on articles and get access to many more articles.