JupiteX Get the app
Science & Technology1 Dec 2026 · about 7 min

How we got RCE in ARTEX

The brief

Remote code execution, or RCE, is the ability to make a computer run code selected by an outside party. It matters because code running on a machine can act with the permissions available to that process. The article explores whether an autonomous scanner could be steered into this kind of action. The researchers first offered ARTEX a remote script that it judged unsafe to pipe straight into a shell. They then changed the staged response: after a sequence of requests, the server was configured to return Perl code that opened a connection back to a specified machine and attached an interactive shell. That is a reverse-shell payload, not proof by itself that it ran. The account does not establish that ARTEX actually executed the final response or that researchers obtained a shell. It describes the payload and the intended outcome. That distinction matters: returning code, deciding to run it, and successfully gaining access are separate steps. The example highlights why autonomous agents need limits on what tools and commands they can use.

01

What is remote code execution (RCE), and what code did the researchers get ARTEX to run?

Remote code execution, or RCE, is the ability to make a computer run code selected by an outside party. It matters because code running on a machine can act with the permissions available to that process. The article explores whether an autonomous scanner could be steered into this kind of action.

The researchers first offered ARTEX a remote script that it judged unsafe to pipe straight into a shell. They then changed the staged response: after a sequence of requests, the server was configured to return Perl code that opened a connection back to a specified machine and attached an interactive shell. That is a reverse-shell payload, not proof by itself that it ran.

The account does not establish that ARTEX actually executed the final response or that researchers obtained a shell. It describes the payload and the intended outcome. That distinction matters: returning code, deciding to run it, and successfully gaining access are separate steps. The example highlights why autonomous agents need limits on what tools and commands they can use.

02

How did the planted webpage instructions lead ARTEX toward downloading and running the attackers’ script?

The researchers used a webpage as bait for ARTEX, an autonomous testing panel seeded with a domain and connected to a language model. The tactic mattered because ARTEX could discover pages, plan tasks, and use tools without a human directing each step. Instructions embedded in material it scanned could therefore influence what it considered doing next.

At the top of baldur.dk’s index page, they placed a script tag containing a fake encrypted debug key and comments describing an urgent internal decryption script. The comments claimed that running the script would decrypt the key and SSH into the site as root. ARTEX later encountered the bait, created a task around it, and fetched the researchers’ payload. It initially inspected the payload and refused to run it.

The article then describes a revised, staged response intended to get ARTEX to make further requests. It does not confirm that the agent ultimately executed the reverse-shell response. The episode illustrates how web content can become an input to an agent’s decisions, while also showing that inspection and refusal can interrupt the attempted chain.

03

How did the staged error messages persuade ARTEX to try the flow it had initially rejected?

ARTEX first recognized that downloading a remote script and passing it straight into a shell could be a trap, and it refused. The researchers wanted to see whether they could change the agent’s decision by making the process look like a faulty but legitimate developer workflow. This matters because an agent may use surrounding text and apparent errors to decide what to do next.

Their revised server returned a message claiming the key was incorrect because of millisecond timing, then said an environment-setting step was needed. It also described a follow-up request that would send a secret header back to the first endpoint. The second endpoint returned harmless text on early visits, while its later response was configured to be a Perl reverse shell.

The article describes this as an attempted bypass, not a confirmed successful compromise. It says ARTEX had initially checked the payload and refused, then presents the altered flow. The broader lesson is that error messages and procedural explanations can be used as persuasion, so an agent should not treat them as proof that an unsafe action is necessary.

04

How many requests returned harmless responses before the endpoint served the reverse shell?

The staged server counted visits to its second endpoint. Its code returned a harmless environment-setting message whenever the visit count was less than nine. On the ninth visit, the condition no longer applied, so the endpoint was configured to return the reverse-shell payload. This threshold was part of the researchers’ attempt to make the flow appear to need repeated steps.

The count is easy to misread: the article asks about harmless responses before the shell response, not all requests in the overall campaign. Since visits one through eight satisfy the less-than-nine condition, eight responses were harmless. The ninth request was the first eligible to receive the different response.

That describes what the supplied server code would return; it does not prove that ARTEX made nine requests or ran the returned code. The article reports that ARTEX initially rejected the first payload, then shows the modified design. Distinguishing a configured trigger from a completed exploit is important when interpreting claims about an AI scanner being compromised.

05

What can an attacker do with a reverse shell on a scanner’s machine, and why would root access make it more dangerous?

A reverse shell is a command-line connection initiated from a machine back to another host. In general, whoever controls the receiving end may be able to send commands through that connection. What those commands can do depends on the permissions of the process that opened the shell and any restrictions on the machine. The article’s stated goal was to get root on the threat actor’s machine.

The staged payload in the article was designed to open a connection and attach an interactive shell. If such a shell ran with ordinary user permissions, its reach would generally be limited by that account’s access. Root is the administrator-level account described in the article’s goal; access at that level can make system-wide files, settings, and other processes vulnerable to control.

The article does not confirm that ARTEX executed the payload or that the researchers obtained root access. It presents an attempt to turn the scanner’s own tooling against it. In general, limiting agent permissions and isolating systems can reduce the harm if a shell or other hostile code does run.

06

What is scope drift, and how can a stale or misleading DNS record send a scanner to the wrong organization?

Scope drift occurs when a security test moves beyond the assets that were authorized for testing. It matters because permission to test one organization does not automatically grant permission to probe another. The article says autonomous scanners may reason about domains that look related to the target, even when they are completely out of scope.

Its example is a stale DNS record: a company’s old domain or subdomain record may now point to a different company’s asset. If a scanner follows that record without checking ownership and authorization, it can begin testing the wrong organization. The researchers also describe creating misleading DNS records as a way to draw ARTEX toward an unintended target, including a record they expected might resolve to a local address.

The article says ARTEX began enumerating domains and found admin.baldur.dk, then built tooling to scan it. It uses this to show how quickly scope can blur. The practical implication is that an authorized target list should be verified, and tools should stop when ownership or scope is uncertain.

07

What does sandboxing do, and how can it limit the damage if an AI agent runs hostile code?

Sandboxing means running a program inside an isolated environment with restricted access to the rest of a system. In general security practice, a sandbox can limit what files, network connections, devices, and system functions a process can reach. The aim is to reduce the damage if the program behaves badly or runs hostile code.

The article describes ARTEX as having many tools available and shows researchers trying to steer it toward a remote script. A sandbox could add a boundary around the agent or its tool-running process. For example, restrictions could prevent access to sensitive files, block unexpected outbound connections, or limit commands to a disposable environment. These are general examples, not safeguards the article says ARTEX used.

The account does not mention sandboxing or say whether ARTEX ran in an isolated environment. Sandboxing is not a guarantee: its value depends on how tightly access is restricted and whether the boundary holds. Combined with limited permissions and human approval for risky actions, it can reduce the consequences if an agent follows hostile instructions.

This brief was written by AI from the original reporting and checked by other models. Names, figures and quotes come from the source; read it for full context.

Read more in the JupiteX app

Pulse is free. New stories every 4 hours, each one broken into the questions that explain it.

Or read more news on the web