Skip to content

News

An Attacker Turned Off the Hermes AI Agent's Approval Prompt

On July 23, 2026 the threat-intelligence firm Hunt.io reported an attacker running Hermes, a widely used open-source AI agent, in YOLO mode against Thailand's Ministry of Finance. Because that setting clears the approval checks on dangerous commands, nobody watched each step.

Johannes KeienburgCEO & Founder

One Setting Removed the Approval Step

An attacker working against Thailand's Ministry of Finance ran an open-source AI agent with its approval checks switched off. The threat-intelligence firm Hunt.io reported the operation on July 23, 2026, after finding the agent's own logs on a server the attacker had left exposed. The agent is Hermes, running a setting called YOLO mode.

Hermes output logs show the operator ran the agent in unattended or YOLO mode, bypassing approval prompts for commands that could be considered dangerous.

Hunt.io

Between July 9 and July 13 Hunt.io archived three open directories on a Hong Kong server. They held 585 files and 470 MB of attack code and stolen credentials, along with the agent's logs. Five of those logs record what the agent did. It scanned for kernel vulnerabilities, enumerated services, listed the programs that run with elevated privileges (SUID and SGID binaries) and walked the file system. The fifth covers a ministry web directory holding personnel records going back to 2012. Hunt.io saw no sign that any of those files left the network.

A Person Still Chose the Target

The operator instructed the agent, handed it a privilege-escalation script customized for ministry systems and let it work without stopping to ask. Hunt.io describes an operator who invested significant preparation into penetrating a single government target. Hunt.io also notes the project passed 140,000 GitHub stars by July 2026 and is among the most widely deployed publicly available agent frameworks.

Most of the tools here are ones we have seen before. The combination is what stands apart: an AI agent coordinating the work, a cross-platform implant holding access, and scripts written for this specific target.

Hunt.io

The approval prompt is a weaker control than it sounds. Hermes defaults to what its documentation calls smart approvals, where an auxiliary model rates each flagged command, clears what it reads as low risk, denies what it reads as clearly dangerous and passes only the uncertain cases to a person. A mode that asks about every dangerous command exists, though someone has to turn it on. YOLO mode drops the prompts entirely for that session. Both the agent and its approval logic ran on infrastructure the operator controlled. Nothing on the ministry's side registered a decision. Those control panels are not hard to find. One Hunt.io banner query returned 5,900 events for exposed Hermes panels in a single month. Any company running an agent framework can check its own approval mode tonight and whether its panel answers from the public internet.

Because this attack ran on infrastructure the operator controlled, no company control sat in its path. What transfers is where the approval sits. Inside a company an agent acts for a named person and holds no standing access, only what the task needs. The gateway evaluates every action as it happens. One record holds what was allowed, denied or escalated. Put that evaluation between the agent and the app and no setting on the agent's side can clear it.

Gil RöderCPO & Co-Founder

Get started

Talk to Us First, Then Test Cakewalk on Your Stack

Book a Demo
  1. We explore

    We start with a call about your setup

    In a first call, we look at the AI agents and apps that already run in your company and where their access sits. We help you sort out the agent chaos and the scattered access, and together we find out whether Cakewalk fits.

  2. You try

    You try Cakewalk for free on your own stack

    We connect Cakewalk to your company's real systems and hand it over. You'll quickly know if your team will use it.

  3. We roll out

    If Cakewalk helps, we roll it out together

    The same team you met in the first call stays with you while we onboard the rest of your company. After that, we meet your team for regular check-ins and support you whenever you need us.

Book Your Cakewalk Demo

Take Control of Your AI Agents & Human Identities.

I understand that by submitting the form, Cakewalk will use the information collected above to schedule a meeting in accordance with our Privacy Policy.

You'll see how to

30 min
  • Find every AI agent and human identity already running across your stack

  • Grant or revoke access in seconds, for both agents and employees

  • Pass your next audit with evidence for every access decision, AI or human

Limited Spots Left

Govern Access for Every AI Agent.

Cakewalk controls what every AI agent can access across your stack, scoped to each task and revoked the moment it's done.

By submitting this form, you agree to receive other communications from Cakewalk per our Privacy Policy. Learn how we store, process and use your data.

  • 300+

    Integrations and agent platforms

  • Zero Standing Permissions

    Every agent starts each task with no access

  • Just-in-Time Access

    Agents get only what the task needs, then lose it

  • Full Audit Trail

    Every agent action is logged and replayable