Hackers Could Hijack AI Penetration Testing Agents and Steal Sensitive Client Credentials

Blog WriterCybersecurity News - Original News Source is cybersecuritynews.com


A flaw in ARTEX, an open-source AI penetration testing platform, could let a malicious website turn a routine security scan against the firm running it.

Endor Labs researcher Peyton Kennedy demonstrated how a malicious page could execute commands inside ARTEX’s container and retrieve a test password from another client’s records, without accessing its systems or stealing real credentials.

Kennedy reported GHSA-9fqx-7xv3-gj58, affecting BaaRai ARTEX versions 0.7.0 and earlier, on November 30, 2026. The maintainer released version 0.7.1 on December 1, with no CVE assigned.

BaaRai maintains a community version of the original ARTEX project, which uses a planner to assign work to AI agents that can fetch pages, run tools, and record findings. The flaw is an example of indirect prompt injection.

Instead of sending instructions directly to the AI, an attacker puts them in content the agent is expected to read. In Kennedy’s test, the attacker needed no ARTEX account. An operator only had to start a scan against the website.

Hackers Hijack AI Penetration Testing Agents

ARTEX labeled the page output as untrusted, but that warning did not stop one worker from acting on it. Two other workers did not execute the command, and Kennedy tested only one model.

On the default Docker Compose setup, the worker ran with limited permissions. That kept the server’s login token signing key out of reach, but it did not protect records from other tests. Those records included passwords supplied for authenticated scans.

Kennedy also showed that code left in a shared worker directory could run during a later, unrelated test. This meant that ending the original scan did not necessarily end its impact.

ARTEX prompt injection to RCE · 3 stages, target, agent, instance data (source : endorlabs )
ARTEX prompt injection to RCE · 3 stages, target, agent, instance data (source: Endorlabs )

Kennedy rated the default Docker setup 8.2 out of 10, or high severity. The advisory lists a critical score of 9.6 for setups where workers run with the same permissions as the ARTEX server.

In those setups, the researcher found that workers could potentially reach the signing key, putting the entire ARTEX instance at risk. That higher-impact scenario came from code review rather than a live test.

Cyber Security News previously covered Microsoft’s findings on threat actors using ARTEX to speed up intrusions. Microsoft documented abuse of the tool itself, not exploitation of this flaw. The Endor Labs research looks at the reverse risk: what a website under test can do to the scanner.

Upgrade to ARTEX 0.7.1 or later. An update does not remove files left behind by an earlier scan. If compromise is suspected, preserve relevant logs and files before rebuilding the affected worker environment.

Rotate credentials supplied to a shared instance that scanned untrusted targets, even for clients whose own sites were not involved. Confirm workers cannot read other clients’ transcripts or captured traffic.

For firms that test multiple clients, use separate ARTEX instances so one scan cannot reach another client’s records. Require human approval for shell actions based on untrusted content, and enforce file permissions outside the AI model.

As Cyber Security News explains in its guide to securing AI agents, limiting what an agent can access reduces the damage it can cause when it follows the wrong instruction.

Give your SOC the alert context on the latest threats to stop incidents quickly -> Integrate Threat Intel from 16K SOCs

The post Hackers Could Hijack AI Penetration Testing Agents and Steal Sensitive Client Credentials appeared first on Cyber Security News.