Malicious Website Could Hijack AI Pen-Test Agent and Steal Other Customers' Passwords
An indirect prompt injection in the open source pen-test platform ARTEX lets a scanned website run commands inside the container of the company performing the scan – and potentially retrieve test passwords from other customers' repositories. The flaw was reported on November 30, 2026 and fixed in version 0.7.1 the following day, but the upgrade does not remove files attackers have left behind.
A routine scan of a malicious website could be turned against the company performing it. That is the core of a vulnerability in ARTEX, an open source platform for AI-driven penetration testing, which Endor Labs researcher Peyton Kennedy reported as GHSA-9fqx-7xv3-gj58 on November 30, 2026. Maintainer BaaRai released version 0.7.1 on December 1. No CVE has been assigned.
In Kennedy's demonstration, a malicious website had commands executed inside the ARTEX container and retrieved a test password from another customer's repository – without gaining access to the company's systems or stealing real credentials. The attacker needed no ARTEX account. All it takes is for an operator to launch a scan against the attacker's site.
How the Attack Works
ARTEX uses a planner that distributes work to AI agents that can fetch web pages, run tools, and record findings. The attack exploits indirect prompt injection: malicious content on the page being scanned is read in as part of the agent's context, and instructions there can get the agent to act on the attacker's behalf.
The platform did in fact label the page output as untrusted. But that labeling did not stop one of the workers from acting on the content anyway. Two other workers refused to execute the command, and Kennedy tested only one model. That means the reliability of the attack across models and configurations is unknown – but that a single successful worker is enough to turn the scanning engagement into an attack on the client that commissioned it.
What the Attacker Could Reach
In the default Docker Compose setup, the worker runs with limited permissions. That kept the server's token-signing key for logins out of reach, but it did not protect other tests' repositories. Among them were passwords that customers have supplied for authenticated scans – credentials a pen-test firm typically stores in order to log into customers' systems during testing.
Kennedy also showed that code left in a shared worker directory could be executed under a later, entirely unrelated test. That means ending the original scan did not necessarily end the attack's effect: the persistence survives the scan and can be triggered again later, by a different engagement.
Severity – With an Important Caveat
Kennedy rated the default Docker setup 8.2 out of 10, i.e. high severity. The advisory lists a critical score of 9.6 for setups where the workers run with the same permissions as the ARTEX server – a scenario with far greater potential damage, but one found through code review, not a live test. The practical exploitability in that scenario is therefore unverified.
It is also worth holding on to what the demonstration actually showed: the retrieval of a test password from another customer's repository took place in a controlled setup, not a real theft of customer data.
What You Should Do
For firms running ARTEX, particularly shared instances serving multiple customers, the reporting points to a concrete action list:
- Upgrade to ARTEX 0.7.1 or later. But note: an update does not remove files left behind by earlier scans. Worker directories must be cleaned manually.
- Rotate credentials supplied to shared instances that have scanned untrusted targets – passwords for authenticated scans must be treated as potentially exposed.
- Run separate ARTEX instances per customer, so that one customer's scan cannot reach another's repositories.
- Require human approval for shell actions that rely on untrusted content, rather than trusting the agent to respect the labeling itself.
The Bottom Line
The case is a concrete example of a broader problem: security tools built on AI agents treat scanned content as data, but the agents act on that same content. A tool made to test other people's defenses itself gains an attack surface through the context it takes in – and when the instance shares a filesystem and credentials across customers, a single scan against untrusted content can become an attack on all of the firm's clients at once.

