← Semua berita

Artikel diterbitkan dalam bahasa Inggeris.

Threat IntelligenceAI SecurityGovernance AI

One Sentence on a Web Page Made an AI Pentest Agent Run a Shell Command, Then Read Another Client's Password. Its Output Was Already Labelled Untrusted. What Can Your AI Agents Reach When They Read Something Hostile?

Obiguard Research Team·3 Disember 2026·8 min read

A researcher at Endor Labs has shown that a website being scanned by ARTEX, the open-source AI penetration-testing framework, can make the agent run a shell command of the site's choosing, and from there read passwords belonging to other clients tested on the same installation. The maintainer shipped a fix, version 0.7.1, on 1 December 2026. Our account comes from Endor Labs' write-up by Peyton Kennedy and Cyber Security News' report of 2 December. We could not open the advisory itself (GHSA-9fqx-7xv3-gj58), so its severity rating below is as relayed by those two sources. We have not independently verified the findings.

We have written about ARTEX twice, both times as a tool in attackers' hands: the first intrusions attributed to it on 3 November, and the FBI's warning on 17 November. This article is about the opposite direction: what happens to the people running the agent when the target answers back.

What is reported

  • The setup. ARTEX splits work between a planning agent and several worker agents. Workers can fetch web pages and run shell commands. An operator points it at a target and it gets on with the job.
  • The attack. In Endor's lab test, the target page carried a short instruction, in a hidden HTML comment and in visible text, telling scanners to register by running a curl command in their shell. The attacker needs no ARTEX account. The operator only has to start a routine scan against the site.
  • The label did not hold. ARTEX wrapped the fetched page in markers identifying it as untrusted output. One of the three workers ran the command anyway. The other two did not. Endor tested with a single model, so the rate would differ with others.
  • The approval step did not stop it. As Endor describes it, shell calls that match no interception rule go through unless a separate AI judge denies them.
  • Stage two: other clients' passwords. The server writes agent transcripts to disk in files any local user can read. When a worker logs into a client's system during a test, the command line, password included, lands in the transcript. From the foothold, Endor recovered a password belonging to a second, unrelated client on the same instance.
  • Stage three: persistence. All tasks share one working home directory that is never cleared. Endor planted a Python start-up file there and saw it run during a later, unrelated task.
  • Affected and fixed. Versions 0.7.0 and earlier. Cyber Security News says Kennedy reported the issue on 30 November and version 0.7.1 followed the next day. Neither source describes what the fix changed.
  • Severity. Endor scores the default Docker deployment 8.2 (high), based on its lab test. Both sources say the advisory lists 9.6 (critical) for installations where workers run with the server's own permissions, such as the native installers. Endor notes that higher figure comes from reading the code, not from a live test.
  • No CVE, no known attacks. No CVE has been assigned, and neither source reports this flaw being used in the wild.
  • Who is exposed. Endor cites Censys finding more than 800 ARTEX deployments with control consoles reachable from the internet. BleepingComputer cited more than 1,600 in early November, as we noted in our FBI article. The two figures come from different sources at different times and may not count the same thing. Console exposure is also not a requirement for this attack, which arrives through the page being scanned.

Why this matters beyond pentest firms

Most organisations do not run ARTEX. Many now run something with the same shape: an AI agent that reads content written by strangers, can run commands or call tools, and shares a machine with data from other jobs. A coding agent reading a pull request, a support agent reading an inbound email and a research agent browsing the web all fit that description.

Three lessons carry over.

A label is not a boundary. ARTEX did the thing most agent frameworks do: it told the model which text was untrusted. The model still acted on it one time in three. Endor's summary is blunt: "A boundary the model is asked to respect is a hint." Controls that depend on the model choosing correctly will fail some fraction of the time, and an attacker can simply retry.

The damage came from ordinary file permissions. The injected command by itself only revealed a user name and host name. What turned it into a breach of client confidentiality was that transcripts containing passwords were readable by the same account the agent ran as. That is a decades-old class of mistake, and it is fixed outside the model.

Agent transcripts are a credential store. Agents log what they do, and what they do includes typing passwords and tokens into commands. Those logs are rarely treated with the care given to a secrets vault.

A further point is specific to this case. Endor says a Microsoft report of 25 November describes state-backed groups using ARTEX. A tool that can be turned by its target is a risk for anyone running it, and in a legitimate pentest firm, the party harmed is the client whose password was in the next file along.

What to check now

If you run ARTEX:

  1. Upgrade to 0.7.1 or later.
  2. Clean the shared working directory. Both sources say the upgrade does not remove files an earlier scan left behind. Look for unexpected dotfiles, .pth files and .curlrc before wiping it, or rebuild the data volume.
  3. Rotate every credential that was supplied to an instance which has scanned a target you do not control.
  4. Use one instance per client, so one engagement's records are never on the same disk as another's.
  5. Require a person to approve shell commands built from content the target supplied.

If you run any AI agent with tools:

  1. List what each agent can read from outside (web pages, email, tickets, documents, repositories) and what it can do (shell, file writes, outbound network, API calls). The agents with both are the ones to look at first.
  2. Check what the agent's account can read on its host. Logs, transcripts and other jobs' working files are the usual surprises.
  3. Give each job a fresh workspace. A home directory shared between tasks lets one bad input affect every later one.
  4. Keep secrets out of command lines where the tooling allows, and treat agent transcripts as sensitive.
  5. Limit where the agent's host can connect out to. The first step in this attack was a request to a server the attacker controlled.

Where Obiguard Governance AI fits

An agent like this makes two kinds of traffic: the commands it runs on its host, and the requests it sends to a language model. Everything the agent reads, including a hostile web page, reaches the model inside one of those requests. That second stream is the part Obiguard Governance AI covers.

Governance AI is a gateway between your applications and agents and the model providers they call. When an agent's model calls are routed through it, guardrails evaluate each request before it reaches the model, so content that reads as an instruction aimed at the agent, or a prompt carrying a password, can be flagged or blocked under your policy at a point the agent does not control. The audit ledger keeps a record of those requests and the guardrail results, which gives a reviewer a starting point for the question "what did this agent read just before it did that?"

The limits are worth stating plainly. Governance AI sees model traffic sent through it and nothing else. It does not sit between the agent and its shell, so it would not have stopped the curl command from running once a model had asked for it. It does not set file permissions, separate one client's data from another's, or clean a shared directory. Guardrails that detect injected instructions reduce how often one gets through; they do not bring it to zero, for the same reason the untrusted label did not. The steps in the checklist above are still needed. What the gateway adds is one place, outside each agent's own code, where the content going to the model is checked and recorded.

The question to take away

Pick the AI agent in your organisation with the most access. If the next document it reads tells it to run a command, what stops it, other than the model deciding not to?

Read about Obiguard Governance AI or get in touch.

Sources

Bagaimana Obiguard membantu

Jadikan ini dasar yang dikuatkuasakan, bukan sekadar kesedaran.

Obiguard berada di hadapan setiap permintaan AI organisasi anda — menyaring gesaan dan output berdasarkan pagar pengadang, rangka kerja pematuhan dan jejak audit yang diperlukan oleh kisah seperti ini.

Lihat cara ia berfungsi →