Skip to content
Brief Security & Trust ·

Hostile web page can make AI pentest tool ARTEX run commands, Endor Labs says

A lab test shows text on a scanned site can hijack ARTEX agents; version 0.7.1 fixes the flaw.

In brief
  • Endor Labs says a page under test can make ARTEX run commands on the scanning server, despite two default defenses. BaaRai fixed it in version 0.7.1.
  • A label the model must respect is only a hint. A human approval step, or an executor with nothing worth taking, is what holds.

Endor Labs said on 1 December that a booby-trapped web page can make ARTEX, an open-source AI penetration-testing tool, run commands on the server scanning it. In a lab test, one sentence telling scanners to register by running a command was enough. Nothing else was needed beyond the operator pointing ARTEX at the page. BaaRai fixed the flaw in version 0.7.1.

Two defenses were on by default and both failed. A label marks tool output as untrusted, but the model can ignore it. An approval gate passes commands that match no rule, and a curl to the target looks like normal testing. In the lab, the researcher then read the password of a second, self-made target from scan records any agent can read. A planted Python file in a shared, never-cleared home folder ran in a later scan. Both steps were run by hand as the agent's user. Two agents in the run ignored the instruction.

Endor Labs rates the flaw 8.2 High on default Docker. BaaRai's advisory gives 9.6 Critical where agents run as the server's user. A label the model must respect is only a hint. What holds is a human approving actions, or an executor with nothing worth taking. Ask whether one server scans several clients, and whether any agent with a shell reads untrusted content unreviewed. If the server has ever scanned a site you do not fully trust, treat its declared credentials as exposed.

A WebPulse Brief: a short report of an important event, written by the WebPulse Newsroom with AI assistance and checked against the reporting below. When there is more to explain, we follow up with a full story. How we use AI.

Reporting: Endor Labs.