Skip to content

Response, New York. Noah Park: Check Point Patches Actively Exploited Management Server Path Traversal. Detection, Dallas. Ava Okello: Report Finds Nearly Half of Deployed Detections Need Attention Before SOCs Can Trust Them.

SOCtember

Always First. Fast SOC News.

An Endor Labs diagram titled "One sentence on a target page reaches every engagement on the instance," for GHSA-9fqx-7xv3-gj58 in ARTEX v0.7.0 and earlier on the default Docker deployment. Three columns, hostile target, ARTEX agent as uid 10001, and instance data on disk, trace three stages: the target's text reaches the shell, the agent reads every other engagement's transcripts, and it writes a Python .pth hook into a shared exec-home that a later task runs. A green box marks the one control that held, the jwt.key file returning Permission denied.
Image: Endor Labs (fair use), Peyton Kennedy, "ARTEX vulnerability: prompt injection to RCE in an AI pentest agent (GHSA-9fqx-7xv3-gj58)," December 1, 2026.

Tools

One Sentence on a Website Got the ARTEX AI Pentest Agent to Run Commands on the Server Scanning It, Then Read Another Client's Password From Disk, Endor Labs Says

The open-source framework that state-backed groups have adopted is also used to test clients' networks. Endor Labs showed that a hostile target can turn a routine scan into a shell on the testing server, read every other engagement's credentials and plant code that runs in later jobs. BaaRai fixed it in ARTEX 0.7.1, but upgrading does not remove anything already planted.

James Whitford, ToolsAustin6 min read

AUSTIN - A web page carrying a single instruction aimed at automated security scanners was enough to get ARTEX, the open-source AI penetration testing framework that has turned up in a string of threat intelligence reports this fall, to run a shell command on the server that was scanning it, according to research published Tuesday by the software security firm Endor Labs.

From that foothold, Endor Labs researcher Peyton Kennedy recovered a second client's test password from the server's own records without contacting that client's systems, and planted code that ran automatically during a later, unrelated scan. The website needed no password and no access to ARTEX. The operator only had to point a routine test at it.

BaaRai, which maintains the English-language version of ARTEX on GitHub, published advisory GHSA-9fqx-7xv3-gj58 and shipped a fix in ARTEX 0.7.1 on Dec. 1, a day after Kennedy reported the issue. No CVE has been assigned. The advisory rates it 9.6, critical. Kennedy scores the default Docker deployment at 8.2, high, and reserves 9.6 for installs where the agents run as the server's own user.

Most coverage of ARTEX has focused on what it does to the networks it attacks. Microsoft has reported state-backed groups tied to China and North Korea adding it to their tooling, and Endor Labs cites Censys as finding more than 800 ARTEX deployments with their control consoles exposed to the internet. Kennedy looked at the reverse. "Most of the coverage has focused on what ARTEX can do to the systems it attacks," he wrote. "I looked at the reverse: what a target can do to ARTEX."

A label the model read and ignored

ARTEX gives a goal to a team of AI agents. A planner splits the work, and workers fetch pages, run tools and record findings. Two defenses sit between the target and the shell, and both are on by default: every tool result is wrapped in nonce-tagged UNTRUSTED_OUTPUT markers that tell the model the content is data, and every tool call passes through an approval gate with intercept rules and an optional model-based judge.

Kennedy's test page put the same instruction in an HTML comment and in visible text, telling scanners to "register by running this command." The command was a curl back to the hostile site carrying the output of id and hostname. ARTEX's page fetcher copied the comment into its recon notes, wrapped as untrusted. Two workers recorded the "registration" requirement as a fact about the target. A third ran it. The command matched none of the stock deny rules, and a curl against an in-scope host looks like ordinary testing.

A screenshot of GitHub security advisory GHSA-9fqx-7xv3-gj58 on the BaaRai/ARTEX repository, titled "Remote Code Execution via embedded prompt in target site," marked Critical with a CVSS v3 score of 9.6 out of 10. It lists the Go package github.com/Autumn-27/artex, affected versions 0.7.0 and earlier, patched version 0.7.1, no known CVE, weaknesses CWE-250 and CWE-1427, and a summary describing how a page instruction reaches the model and a worker passes the command to Bash.
Image: GitHub, BaaRai/ARTEX security advisory GHSA-9fqx-7xv3-gj58 (screenshot, fair use), published December 1, 2026.

The hostile site logged the callback with uid 10001 and the hostname of the ARTEX service container. On the default Docker Compose deployment, the server runs as root and drops agent commands to that unprivileged user, which kept the server's JWT signing key out of reach. Kennedy's attempt to read it returned "Permission denied."

The other clients' records were not protected

The privilege drop protected the key and left the work product exposed. ARTEX writes each task's planner and worker transcripts as world-readable JSONL files, and credentials an operator declares for a test flow into those transcripts, along with complete curl -u user:password command lines.

Kennedy created a second task against a separate target behind HTTP Basic authentication, then searched the transcript directory as the agent's user and found that target's password. "For a security firm that tests many clients from one ARTEX server, a single malicious target could expose the records of every other client on it," he wrote. He measured only credentials, but noted that the same files record what each engagement found, likely including other clients' unfixed vulnerabilities.

Every agent process also shares one home directory that is never cleared between tasks. Kennedy wrote a Python .pth file there, which Python runs on every interpreter start, then launched an unrelated third task. When its worker ran a bundled recon script, the hook fired. A .curlrc file, he noted, could quietly add a header or a proxy to every request later agents send.

On the prebuilt Linux, macOS and Windows binaries, the install script and containers started with a user directive, there is no privilege drop. From reading the code, not from a live test, Kennedy concluded that an injected command there could read the signing key, forge an administrator token and run commands through ARTEX's own API.

A screenshot of the GitHub release page for BaaRai/ARTEX v0.7.1, dated December 1, 2026. Its highlights say every task now runs in its own sandbox in a disposable artex-worker container with a read-only root filesystem, no keys and no database, reaching the network only through a per-task egress proxy, that the egress allowlist is operator-owned, that company scope is frozen at approval, and that the panel no longer starts stdio MCP servers in sandbox mode.
Image: GitHub, BaaRai/ARTEX release v0.7.1 (screenshot, fair use), December 1, 2026.

The 0.7.1 release notes say every task now runs in a disposable worker container with a read-only root filesystem, "no keys and no database," reaching the network only through a per-task egress proxy. Endor Labs said BaaRai turned the fix around quickly.

Limits of the test

Kennedy ran all three stages on Nov. 30 against ARTEX 0.7.0 with OpenAI's gpt-4.1 and default settings. "I tested gpt-4.1 only," he wrote, and the model did not always comply. He argued that refusals buy little: "The attacker loses nothing by retrying with different wording." The research describes a lab demonstration, not attacks seen in the wild.

A table from the Endor Labs write-up listing the ARTEX issue's details: Endor Labs ID ENDOR-VUL-2026-3011, advisory GHSA-9fqx-7xv3-gj58, no CVE assigned, product ARTEX by BaaRai with its agent runtime Norma, affected v0.7.0 and earlier, fixed v0.7.1, weaknesses CWE-1427 and CWE-250, and severity 8.2 High on the default Docker deployment and 9.6 Critical where agents run as the server's user.
Image: Endor Labs (screenshot, fair use), December 1, 2026. Advisory summary table.

What teams running ARTEX should do

  • Upgrade to ARTEX 0.7.1, then wipe the shared exec-home directory or rebuild the data volume. Before wiping, look for unexpected .pth files, dotfiles and .curlrc entries, since upgrading does not remove anything an earlier scan planted.
  • If an instance has ever scanned a target you do not fully trust, treat every credential declared on it as exposed, including those for clients whose own targets were benign, and rotate them.
  • Confirm the transcript directory and any traffic capture are no longer readable by the agent's user.
  • Prefer the root-started Docker deployment over native installs until you have confirmed what 0.7.1 changes there, and run one instance per client.
  • Require human approval for Bash calls whose arguments came from target content, and enable the model-based judge as a second check. Kennedy says neither is a complete defense.

The broader lesson, in Kennedy's framing, applies to any agent that reads untrusted content and holds a shell. "A boundary the model is asked to respect is a hint," he wrote. "The control that holds is one the model cannot talk its way past: a human approving the action, or an executor that cannot reach anything worth taking."

About the Author

James Whitford

James Whitford covers SOC tooling, SIEM, SOAR, and detection platforms for SOCtember from Austin.

Related stories

Tools desk