
ARTEX prompt injection: one web page ran commands on the server
- OpenAIIN THIS ARTICLEOpenAI: GPT-6 Luna$0.10 / $0.50 per 1M tokens
- OpenAIIN THIS ARTICLEOpenAI: GPT-4.1$2.00 / $8.00 per 1M tokens
- Newest
- orcaNEWAmazon Ergo 1.0 Cyber Post-Trained2026-12-03$1.50 / $4.50 per 1M tokens · 38 tok/s
- z-aiNEWZ.ai: GLM 5.42026-12-02$1.40 / $4.40 per 1M tokens · 112 tok/s
- amazonNEWAmazon Ergo 1.02026-12-01$1.00 / $3.00 per 1M tokens · 45 tok/s
- OrcaNEWOrcaCyber: Inkling 2 Mini Abliterated / Uncensored2026-11-23$0.20 / $0.50 per 1M tokens · 165 tok/s
- thinkingmachinesNEWThinking Machines: Inkling 2 Mini2026-11-21$0.07 / $0.30 per 1M tokens · 147 tok/s
- OrcaOrcaCyber: Hy4 Flash Abliterated / Uncensored2026-11-18$0.07 / $0.28 per 1M tokens · 236 tok/s
- openaiOpenAI: GPT-6.2 Astra2026-11-17$8.00 / $40.00 per 1M tokens · 83 tok/s
- openaiOpenAI: GPT-6.2 Sol2026-11-17$2.00 / $10.00 per 1M tokens · 73 tok/s
- tencentTencent: Hy4 Flash2026-11-16$0.07 / $0.28 per 1M tokens · 172 tok/s
- AlibabaQwen: Qwen4 Max2026-11-16$1.50 / $4.50 per 1M tokens · 118 tok/s
- OrcaOrcaCyber: Ling 3.2 Flash Abliterated / Uncensored2026-11-14$0.60 / $1.80 per 1M tokens · 111 tok/s
- OrcaOrcaCyber: Step 5 Preview Abliterated / Uncensored2026-11-14$2.00 / $5.40 per 1M tokens · 236 tok/s
- googleGoogle: Gemini 4 Hydrogen2026-11-12$1.50 / $7.50 per 1M tokens · 310 tok/s
- GoogleGoogle: Gemini 4 Carbon2026-11-10$4.00 / $20.00 per 1M tokens · 120 tok/s
- AnthropicAnthropic: Claude Fable 5.22026-11-09$8.00 / $40.00 per 1M tokens · 100 tok/s
- OrcaOrcaCyber: GLM 5.3 Abliterated / Uncensored2026-11-04$3.00 / $5.00 per 1M tokens · 135 tok/s
- OrcaOrcaCyber: Hy4 Abliterated / Uncensored2026-11-04$0.80 / $1.60 per 1M tokens · 151 tok/s
- OrcaOrcaCyber: Kimi K3.1 Pro Abliterated / Uncensored2026-11-04$2.00 / $5.00 per 1M tokens · 138 tok/s
On 1 December 2026 BaaRai, which maintains the English-language edition of the open-source ARTEX agentic penetration-testing framework, published advisory GHSA-9fqx-7xv3-gj58 and released ARTEX v0.7.1, the version the advisory lists as patched. The bug is an indirect prompt injection that lets a website the operator asked ARTEX to test run shell commands inside the ARTEX panel container. Endor Labs reproduced it in a lab on 30 November, on ARTEX v0.7.0 driven by OpenAI's GPT-4.1: a page carrying an HTML comment and one visible line of body text, both telling automated scanners to "register" by running a curl command, was enough. The site needed no password and no access to the ARTEX instance, and the operator only had to start an ordinary scan. The command ran as uid 10001, and from that foothold Endor read a second, unrelated client's declared password out of the server's own transcripts without contacting that client. No compromise outside a lab has been reported. The archive grades this entry high severity at confidence A with no recorded real-world harm, and holds the full record and its source list in the Orca AI Incident Archive, alongside the other ARTEX entries in this series.
What the page said, and why the agent ran it
Endor Labs' account begins with how ARTEX works: an operator gives a goal to a team of agents that plan and run a penetration test largely on their own. An operator creates a task with a description, a goal and, optionally, credentials for the target; a planner breaks the goal into work, and workers carry it out with tools from Norma, the agent runtime ARTEX builds on. Endor Labs lists three of those tools as the ones that matter here: WebFetch, which retrieves a page and returns it as Markdown and, with extract set to true, also copies HTML comments into a block headed === RECON ===; Bash, which runs shell commands; and list_task_credentials, which returns the credentials the operator declared for the task.
Endor Labs' Peyton Kennedy served a lab page shaped like an internal portal. In an HTML comment addressed to automated security scanners, and again in a visible line of body text, it said that scanners had to register by running a command or have further requests dropped. The command was a curl back to the hostile site carrying the output of id and hostname, base64-encoded. Three things let that text become a shell command. WebFetch copied the comment into the recon block. ARTEX wrapped the result in its default nonce-tagged UNTRUSTED_OUTPUT markers, which tell the model the block is data rather than instructions; in Endor's run that framing did not stop a worker from acting on it. And the approval gate, at guard/guard.go lines 175 to 181, lets a tool call through when no intercept rule matches and the optional LLM judge is off or does not deny it, which is what happened to a curl to the in-scope host with an embedded id command.
The hostile site logged the hit. Kennedy's transcript excerpt shows worker i6 running the command, and the callback recorded uid=10001 gid=10001 with a hostname matching the artex service container: arbitrary command execution in the panel container, triggered by a page the operator had asked ARTEX to test. Kennedy is explicit that the model does not always comply. In the same run two other workers recorded the registration claim as a fact about the target without executing anything, and a model can also fake compliance with WebFetch instead of Bash. The attacker loses nothing by retrying with different wording, and Endor tested gpt-4.1 only.
What uid 10001 could already read
In Endor's lab, the default Docker Compose deployment ran the server as root and dropped agent commands to an unprivileged identity. That split did real work: uid 10001 could not read /app/keys/jwt.key, and the attempt returned Permission denied in Endor's lab. JWT signing keys and model API keys are not mounted into the executor environment on that path. The privilege drop protected the keys and left the work product exposed.
Endor reports that the server writes each task's planner and worker transcripts to /app/data/transcripts as JSONL files with mode 0644, owned by root. World-readable means readable by the agent. Those transcripts are the full record of an engagement: credentials the operator declares flow through list_task_credentials into the worker's conversation, and the worker's own commands land there too, including complete curl -u user:password lines. Captured HTTP traffic, when an operator enables it, is indexed in /app/data/traffic/_index/index.sqlite, which uid 10001 can also read.
To test the cross-client case, Kennedy added a second target, clientb, behind HTTP Basic authentication with a unique marker as its password, created a second task against it, and declared the credential through the API. The worker called list_task_credentials and then authenticated to clientb. Searching the transcripts as uid 10001 returned the marker from task 2's worker and planner files. One hostile target in one engagement was enough to read another client's credentials, without the hostile site being in that client's scope and without contacting that client's servers again.
Credentials are the part Endor measured. The transcripts also record what each engagement tested and what it found, and Kennedy writes that on a shared instance an attacker with this foothold could read the vulnerabilities ARTEX discovered for every other client, likely before those clients had fixed them. That expectation is stated as an expectation: Endor demonstrated the credential read and did not test the findings separately.

The part that outlives the scan
Endor describes every agent process on an instance sharing one writable home directory, created as exec-home inside the instance data directory and reused for every task. Nothing clears it when a task ends, so anything written there loads into later workers: dotfiles, Python site hooks, curl defaults. Kennedy planted a Python .pth file, which Python executes on every interpreter start, then started an unrelated third task against a different target. That task's worker ran a Python recon script from the bundled skill set, and the planted hook wrote the worker's PID to the lab marker file. A .curlrc would do the same for curl, quietly adding a header or a proxy to every request a later agent sends; Endor tested the .pth path only.
Other documented install paths are worse in Endor's reading of the code, with the important caveat that this part did not come from a running lab. The privilege drop only happens when the server starts as root on Linux. Otherwise ARTEX logs "same-uid isolation unavailable" and agents run as the server's own user, which covers the prebuilt Linux, macOS and Windows binaries in the README, a local install.sh run, and a container started with a user directive. On those paths jwt.key and config.json sit beside the binary with the same ownership, so an injected command can read the signing key, forge an HS256 admin JWT and run commands through POST /api/tools/custom/test. Kennedy states plainly that those rows were not lab-verified.
Two scores for one bug, and what v0.7.1 changed
BaaRai's advisory rates the issue Critical at CVSS 3.1 9.6, with the vector AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H, and records no CVE. It credits a reporter using the handle p80n-sec, and carries a note that the report was submitted with AI assistance. Endor Labs scores the same bug at 8.2 High for the default Docker deployment, on the vector AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L, and describes 9.6 as the realistic upper bound for installs where agents run as the operator's user and can reach the signing key. The gap is not a disagreement about the mechanism; it is a difference in which deployment is scored. Endor's advice to operators on the default Docker path is to read 8.2 as their exposure, because the key material is protected there.

Endor Labs reported the issue to BaaRai through GitHub on 30 November, with all three stages reproduced the same day, and the advisory and the fix followed on 1 December. The v0.7.1 release notes, published at 03:31 UTC that day, describe a substantial redesign rather than a filter: every task now runs in its own sandbox, commands execute in a disposable artex-worker container with a read-only root filesystem, no keys and no database, and reach the network only through a per-task egress proxy whose allowlist the operator owns. Company scope is frozen at approval so later inventory cannot widen a task, deleting the approval revokes egress, the panel no longer starts stdio MCP servers in sandbox mode, and model credentials are kept to their origin so a redirect cannot replay an API key against another host.
Upgrading is necessary and not sufficient. Kennedy's point is that the patch closes the hole but does not clean up what came through it, because the persistence lives in a directory and in records the new version inherits. Endor's checklist is to wipe that exec-home directory or rebuild the data volume, looking first for unexpected .pth files, dotfiles and .curlrc entries; to treat every credential ever declared on an instance as exposed if that instance has scanned a target the operator does not fully trust, including credentials belonging to clients whose own targets were benign; to confirm that /app/data/transcripts and any traffic capture are no longer readable by the agent's uid; to prefer the root-started Docker deployment while the native paths remain unverified; and to run one instance per client so that one hostile target cannot reach another client's engagement history.

A second ARTEX self-compromise in the same week
The Register's 30 November story is one of the sources the archive cites for this record, and it describes a different piece of research that should not be merged with the advisory. It reports work by Baldur, a Danish offensive security firm, whose principal security consultant Kevin Joensen published a write-up on 28 November. Baldur pointed a fake DNS record for an admin subdomain of its own domain at 127.0.0.1; ARTEX enumerated the subdomain, concluded it was in scope and began building tooling to scan itself. Baldur then baited the agent with a fake leaked SSH key and a script that claimed to decrypt it. ARTEX fetched the script, recognised the risk of piping a remote file into a shell and refused, and the researchers got a reverse shell only after serving staged error messages that told the agent a time-bound header had to be set first. Joensen's conclusion was that sandboxing is basic practice for offensive operations and appeared to be missing.
That account and the advisory describe the same tool being talked into running attacker-supplied code by a page it was asked to test, in the same week, with different payloads and different researchers. The advisory does not reference the Baldur work, and the Register's story does not mention GHSA-9fqx-7xv3-gj58. The record's date of 1 December belongs to the advisory and the patch, not to the earlier demonstration.
Some context on why anyone was looking. Endor Labs notes that ARTEX went from a GitHub project to a fixture of threat intelligence reporting within months of its July release, that Microsoft has reported state-linked groups tied to China and North Korea adding it to their tooling, and that Censys counted more than 800 distinct ARTEX deployments with control consoles exposed to the open internet. Those figures are Endor's and are about exposure and misuse, not about this vulnerability being exploited.
What the record establishes, and what it does not
The archive classifies this as a vulnerability that was found, not an incident, with real harm recorded as false and AI involvement confirmed, and the label is right on each count. All of the command execution, credential recovery and persistence evidence comes from one researcher's lab, on one version, with one model. Nothing in the sources shows a real ARTEX operator being attacked this way.
• Established in the lab: a page with no credentials reached Bash; the command ran as uid 10001, not root; another task's declared password was recovered from world-readable transcripts; a planted .pth file executed in an unrelated later task.
• Established by the maintainer: versions 0.7.0 and earlier are affected, 0.7.1 is patched, and the advisory assigns CVSS 9.6 with no CVE.
• Asserted but not demonstrated: that native installs expose jwt.key and allow a forged admin JWT, which Endor derived from code review; that a .curlrc would persist as the .pth did; that other clients' unpatched findings were readable, which Endor expects but did not test.
• Not established at all: any exploitation in the wild, any affected organisation, any stolen customer credential outside a lab, and any regulatory finding. Independent coverage corroborates the disclosure timeline rather than the impact: Dark Reading reports the flaw was reported to BaaRai on Monday and fixed the following day, matching Endor's own timeline.
Kennedy's closing argument is the part that travels beyond this product. A boundary the model is asked to respect is a hint; the control that holds is one the model cannot talk its way past, either a person approving the action or an executor that cannot reach anything worth taking. A penetration-testing agent is the hard case for exactly that reason, because reading hostile content and acting on it is the job it was hired to do.
