A generated abstract illustration on a pale blue-grey field with a faint technical grid: at the left, a clean column of thin-outlined rectangular blocks stacked in muted slate, and to its right a second column of identical blocks, one of which glows cold amber. A single thin line runs from that one block down through a boundary line to a small outlined port at the floor, where a narrow cone of pale cyan light spreads. No text, numbers, people, brand marks or organisation logos appear. The OrcaRouter logo is composited in the bottom-right corner.
AI Safety Incidents

A copycat ARTEX image gave root to anyone with the secret trigger

Author

Rowan Sterling

Date Published

Latest models · 20View all models →
Back to all posts

On 8 October 2026, hours after the developer of ARTEX withdrew the source of the AI penetration-testing console from GitHub, a Docker Hub account named tomicdd pushed a prebuilt ARTEX image, and a copy of the project, trhhubsd/ARTEX, changed one line in its compose file so that it pulled that image instead of the official one. The source in the copy was clean, so a reviewer comparing code would find nothing. According to the independent researcher BadByte, who published the finding on 4 November, the binary matches the official build except for one added function: when the login form's captcha field carries a secret marker, the server runs the rest of the value as a shell command before checking any password and returns the output — root inside the container, from a request that looks like a failed login. BadByte counted 7,946 pulls of the backdoored image before disclosure and 62 internet-facing consoles serving that build between 2 and 4 November. The record's severity grade, confidence assessment and source list sit in the AI incident archive, alongside the other ARTEX entries filed around it.

One added function, and a login endpoint that ran it

ARTEX is a Chinese-language, open-source autonomous penetration-testing console: a web dashboard in front of a fleet of language-model agents that scan, exploit and write up targets on their own. BadByte's write-up describes what the substitute image did to that console. Read out of the Go build information, the binary at /app/artex was built on 8 October from commit 5c0dbd4 with uncommitted local changes, so no public source contains the difference. Compared against the official v0.3.15 build with the same toolchain, 31,054 functions match. Three things differ: a new 160-byte function, server.verifyCaptcha; a login handler, server.(*Server).authLogin, that grows from 1,600 bytes to 2,112; and a login request struct that gains a fourth field.

That fourth field is the captcha. The official client sends only a username and a password. In the modified build, the handler checks the captcha value immediately after decoding the JSON body, before the username comparison, the password-hash lookup and the bcrypt check. If the value begins with a marker, everything after the marker goes to sh -c through os/exec.Command, the combined output is returned to the caller, and the handler exits without ever looking at the credentials. BadByte published the marker's existence but not the marker itself; the Cloud Security Alliance, in a research note on 6 November, confirmed that the secret prefix has not been published. If the value does not begin with the marker, any other non-empty string gets a plausible localised captcha error with HTTP 200, while an empty one falls through to the normal login path — so a scanner, or the console's own owner testing the login page, sees a working form that simply rejects bad input.

The point is where the code lived. BadByte found the malicious delta entirely inside the prebuilt binary: the image copies dist/amd64/artex in already compiled, the start script is byte-identical to upstream, and the skills directory matches the original shape. Session handling, setup, the traffic proxy, notifications, model calls and log redaction all match the official build, and no new hosts, URLs or IP addresses were added. A reader of the repository would be reading ARTEX. Updating would not have helped either: the binary was compiled without a version string, so it reports itself as dev, and ARTEX refuses one-click updates for non-release versions; the update path that does work runs docker compose pull against the same image.

Nine hours from the withdrawal to a replacement image

The substitution was quick and, on BadByte's account, uncomplicated. At 10:50 UTC on 8 October the ARTEX author posted a notice that the tool had been abused, would go closed source, and would not be updated further; the repository came down. At 18:50 a Docker Hub account called tomicdd was created — no other repositories, no profile. At 19:41 it pushed its only tag, latest, which was never updated again. At 20:33, commit a4f4d38 in the copycat repository changed image: autumn27/artex to image: tomicdd/artex, with the message 「build: 镜像改为 tomicdd/artex」. Two minutes later trhhubsd/ARTEXX was created as a standalone repository with no fork link to the deleted original, and at 20:40 the account starred its own work.

The repository did the rest of the work. BadByte's analysis records that its README was rewritten to present the copy as the maintained successor, the section on building from source was removed, and Docker became the recommended install — which meant tomicdd/artex. Until 18 October the README still told readers the compose file pulled the official autumn27/artex. Then came the stars: the GH Archive records 2,449 star events on trhhubsd/ARTEX, 1,098 of them on 12 and 13 October. The Hacker News reported the same figure on 5 November, and noted that the copy was starred 2,449 times and forked more than 600 times before it disappeared. It did not go unremarked: on 23 October a GitHub user opened issue #3, titled 「注意检查」 ("check this"), reading 「怀疑有后门」 ("suspect a backdoor"), and the repository owner closed it the next day.

A self-built HTML card headed 'Nine hours, one line, and every install afterwards', subtitle 'Timeline of the withdrawal and the substitution, 8 October to 5 November 2026. Times are UTC and come from BadByte's analysis of Docker Hub and GitHub records.' Fifteen rows: 8 October 10:50, the ARTEX author posts an abuse notice and announces the project is going closed source, and the repository comes down; 13:45:50, commit 5c0dbd4, the last upstream source, from which the backdoored binary is later built with local changes; 18:50:38, Docker Hub account tomicdd is created; 19:08:37, repository tomicdd/artex is registered; 19:41:00, the only tag, latest, is pushed and is never updated; 20:33:28, commit a4f4d38 changes the compose image from autumn27/artex to tomicdd/artex; 20:35:22, trhhubsd/ARTEXX is created as a standalone repository with no fork link; 20:40, the account stars its own repository; 12-13 October, 1,098 stars land on the copy in 48 hours; 18 October, a v0.3.15 GitHub release from the copy, 2,681 downloads, whose binaries do not contain the backdoor; 20 October 07:41, congdonglinux/artex is registered with byte-identical digests; 20 October 15:09, the first backdoored install is visible on the internet; 23-24 October, issue 3 saying 'suspect a backdoor' is opened and closed by the owner; 2 November 09:25-09:38, the backdoored image comes up across a 15-host ColoCrossing cluster, one host every few minutes; 5 November, Docker removes both images after BadByte's request. The 8 October rows are highlighted. A dark band reads '10:50: the source comes down. 18:50: an account appears. 19:41: the image is pushed. 20:33: one line of compose points at it.' A footer cites BadByte's report of 4 November 2026 and notes that all but the 18 October release and the 5 November removal are dated to the minute in Docker Hub and GitHub metadata. Hand-built card, not a screenshot of any vendor page.

Who was exposed, and how many

BadByte's census is the most concrete part of the record. Between 2 and 4 November it found 62 ARTEX consoles on the internet serving the backdoored build — 58 IP addresses and four domains behind Cloudflare — and every one of them had been set up and was in use. Most sat on the default port 8787, exactly where the compose file puts it. By 09:55 UTC on 4 November, 46 of the 62 were still serving a backdoored version; four had been rebuilt on a different image, two of them on an official release, and twelve had gone dark. The Hacker News put the same 62 consoles between 2 and 4 November, with the first instance up by 20 October — twelve days after the image was pushed — and gave the top of the geographic split as 26 in the United States, 17 in Hong Kong and seven in China; BadByte's own breakdown puts the remaining twelve in Canada, Singapore, Japan, France, Indonesia, Germany and South Korea.

The denominator matters more than the numerator. On 4 November BadByte found 1,645 hosts serving an ARTEX console of any build, which is a measure of how widely the tool was exposed, not of how many were compromised — the 46 confirmed backdoored consoles are 2.8 per cent of that population. Another 590 live consoles ran an unversioned build of the same source the trojan was compiled from, and BadByte is explicit that from the outside a clean self-build and a rebuilt trojan look identical: telling them apart would mean attacking them. A further 649 consoles ran one of three builds that match no binary the researchers hold, each confined to a single provider and address range, which points to three bulk deployments rather than to the backdoor. Two clusters stood out. Fifteen hosts inside one /24 at ColoCrossing shared an SSH host key that appears nowhere else, had been running bulk-mail nodes since at least 17 September, opened authenticated SOCKS5 proxies on 31 October, and took the backdoored image between 09:25 and 09:38 on 2 November — one owner's fleet, BadByte concluded, though it said it could not determine whether that owner also wrote the backdoor. Seven hosts at a Hong Kong provider shared an SSH key and certificate with about 230 hosts on the same network, which points to a hosting template and to ordinary customers.

The pull counts in circulation differ because they are snapshots. BadByte recorded 7,913 pulls on tomicdd/artex and 33 on the identical re-push congdonglinux/artex by 3 November, and 9,131 and 45 by the time Docker removed both images on 5 November — about 9,176 in total. The Hacker News, working from Docker Hub's own counter on 5 November, rounded that to 9,000; a separate static-analysis write-up published on 4 November recorded 8,817 at 22:00 UTC that day. None of these is a count of distinct deployments, and the Cloud Security Alliance's note makes the point directly: a pull is a pull, and one host can pull many times while a cached image can pull once and be redeployed for weeks.

A self-built HTML card headed 'Seven numbers, and the one that matters least', subtitle noting that every figure is a snapshot taken by BadByte between 3 and 5 November 2026, and that pull counts are not deployment counts. Seven large figures with labels: 7,946 pulls of the backdoored image by 3 November, made up of 7,913 on tomicdd/artex and 33 on congdonglinux/artex; about 9,176 pulls by the removal on 5 November, 9,131 and 45; 62 internet-facing consoles observed serving the backdoored build between 2 and 4 November; 46 of those 62 still serving it at 09:55 UTC on 4 November, with 4 rebuilt on another image and 12 gone dark; 1,645 ARTEX consoles live on the internet on 4 November, of which the 46 are 2.8 per cent; 637 GitHub repositories whose compose file still pointed at the image on 5 November; and 590 live consoles running an unversioned build that cannot be distinguished from outside. A dark band reads '62 consoles were found. 46 were still answering. 1,645 were running ARTEX at all. The count that describes the risk is the second one, not the fourth.' A footer cites BadByte's report of 4 November 2026 and its 5 November update, notes that The Hacker News reported 9,000 pulls and 62 consoles on 5 November, and that a separate static-analysis write-up recorded 8,817 pulls at 22:00 UTC on 4 November. Hand-built card, not a screenshot of any vendor page.

What a root shell in that console was worth

The reason a backdoored image of a niche tool warranted a disclosure is what the tool holds. BadByte catalogued the assets reachable from one shell in the container, and they are the working capital of a penetration-testing business. ARTEX stores its secrets in plaintext: the database superuser password sits in an environment variable in the compose file, and model-provider API keys sit unencrypted in the llm_profiles table. From there the list runs through search API keys, every engagement's target list and scope, the credentials harvested from those targets, findings and their evidence, the full traffic intercepted by the console's man-in-the-middle proxy along with the proxy CA private key, a session signing key at /app/jwt.key that forges seven-day admin tokens for the API, the configured MCP servers with their commands, arguments and tokens, notification webhooks, and the agent prompts, tools and skills that shape what the agents do.

Two consequences follow, and they are different in kind. The first is ordinary: a compromised console hands over the operator's infrastructure and a curated map of exploitable weaknesses in every client environment the operator assessed. The second is specific to agentic tooling. Written state survives a re-pull — BadByte notes that anything under the data and skills directories, or in the database volume, persists — so an intruder who edits prompts, skills, tools or MCP definitions carries those changes into every later engagement, and the console will keep running them after whatever fixed the image. The Cloud Security Alliance, analysing the same architecture, calls this the third dimension of the compromise and labels it an inference from the architecture rather than an observation: an attacker holding the console could widen scope, plant persistence in a client environment, or exfiltrate data under cover of an authorised engagement, and it would be hard to distinguish from legitimate testing in the client's logs.

What the implant did not do is call home. BadByte's analysis found no new hosts, URLs or IP addresses in the binary and describes the mechanism as waiting for a request rather than reaching out. That design choice is part of why the record carries no real harm: nothing in any source reviewed shows whether the trigger was ever used against the 62 consoles' owners or against the environments those consoles were pointed at, and with no beacon there is no traffic log that would settle it.

What is established, and what is not

The mechanism is established to a level this kind of story rarely reaches, because it was recovered by disassembly rather than inferred. BadByte published the image index, manifest and layer digests, the SHA-256 of the 51,210,988-byte binary at /app/artex, the symbol name, the call site, the instruction that compares the first byte of the captcha against the marker, and a YARA rule that matches the backdoored binary and neither the official v0.3.26 amd64 nor arm64 release. A second, static-analysis write-up dated the same day, at github.com/darkfibr/artex-forensics, reproduced the disassembly independently, arrived at the same function signature and the same three deltas, and reached the same conclusion about the decoy branch; it is a re-derivation from the same public artefacts rather than a separate discovery. The Cloud Security Alliance's 6 November note restates the finding and states plainly that it found no independent primary publication by BadByte at the time of writing, so its technical section is drawn from press and secondary analysis.

Independent reporting exists, but it is one hop from the source. The Hacker News reported the backdoor on 5 November from a statement BadByte shared with the outlet by email, quoting the researcher's own description of the hidden function, and added its own check of the Docker Hub download counter. That is corroboration of what the researcher said, not a second examination of the binary — and no news organisation reviewed for this article published an independent forensic examination of the image. Two adjacent threads belong to other records: the CERT-In advisory of 4 November that named ARTEX among the frameworks used by an actor it tracks as Crafty Falcon, and the South Korean bank campaign that preceded the source's withdrawal. The Cloud Security Alliance is careful about the join, noting that public reporting does not connect Crafty Falcon to the backdoored image: the two share a toolkit, and no attribution between them has been demonstrated.

What is not established is who did it and what it cost. BadByte says it cannot determine whether the owner of the ColoCrossing fleet that took the image also wrote the backdoor, and no source reviewed here names an individual, a group or a country behind the tomicdd or trhhubsd accounts. The trigger marker itself is unpublished, which means the consoles still running an unresolved build cannot be tested from outside without attacking them. Whether any console owner noticed a shell being used is unknown: the implant does not beacon, and an intruder with root can delete logs. On the archive's own terms the entry is graded medium severity with confidence B — documented, but from a single primary researcher plus secondary write-ups — with real harm not recorded and the entry not flagged as disputed. That combination is not a contradiction. The exposure was large and the mechanism was real; the harm is unproven, and the archive grades what it can show.

A self-built HTML card headed 'Established, inferred, and absent', subtitle 'Where the claims in this incident record stand, checked on 4 December 2026.' Three columns. The Established column, headed 'Recovered from the artefacts', lists: two Docker Hub images carried a backdoored ARTEX build, with published index, manifest and layer digests; the binary at /app/artex was built from commit 5c0dbd4 with uncommitted local changes, so no public source contains the delta; a 160-byte function server.verifyCaptcha runs the captcha value through sh -c as root from the login handler before any credential check, with a decoy branch returning a captcha error; the copy's compose file was changed in commit a4f4d38 to pull tomicdd/artex; 62 consoles served the build between 2 and 4 November and 46 were still serving it at 09:55 UTC on 4 November; and Docker removed both images on 5 November after BadByte's request. The Inferred column, headed 'Reasonable, not proven', lists: that whoever held the backdoor could steer later engagements by editing prompts, skills and MCP definitions, which is the Cloud Security Alliance's inference from the architecture; that the 46 confirmed consoles are a floor, since builds behind NAT or on cached images would not appear; and that the ColoCrossing cluster of 15 hosts on one SSH key is one owner's fleet, with BadByte unable to say whether that owner wrote the backdoor. The Absent column, headed 'No source establishes', lists: who created the tomicdd and trhhubsd accounts, with no individual, group or country named; whether the trigger was ever used against the 62 console owners or their targets, with no beacon and no traffic log to settle it; the trigger marker itself, which is unpublished; and how many of the 590 unresolved builds are backdoored. A dark band reads 'The mechanism is not in dispute. What it was used for is simply unknown, and the archive records real harm as false.' A footer notes the archive grades the record medium severity, confidence B, not disputed, with real harm not recorded and AI involvement confirmed, and that The Hacker News reported the finding on 5 November from a statement the researcher supplied, which corroborates the account rather than the binary. Hand-built card, not a screenshot of any vendor page.

What changed afterwards

Docker's removal is the only remediation that landed on the distribution channel. On 5 November, following BadByte's request, Docker removed tomicdd/artex and congdonglinux/artex; neither can be pulled by tag or by digest, and the tomicdd account was deleted. Removing the image did not remove the pointers: 637 GitHub repositories still named it in their compose files on 5 November, including a fork network that moved to imxv/ARTEXX when the original copy was deleted, where 630 of 633 forks pull the same line. BadByte's table lists a LazyCat app-store republisher that re-publishes the image to users through a daily auto-update job pinned to the backdoored digest. Those repositories now fail on docker compose up instead of silently pulling the backdoor, which is an improvement only for anyone who reads the error. Any image already pulled, or cached on a third-party mirror, is still backdoored.

The guidance that followed is about provenance rather than patching, because there was nothing to patch. BadByte's own advice is to build agentic security tooling from source you have read and to keep the console off the open internet. The Cloud Security Alliance's note is more prescriptive: search registries, CI logs, Kubernetes manifests and compose files for either image name; treat any host that ran one as fully compromised and rebuild it from known-good media rather than cleaning it; rotate every credential the console stored or could reach, including model-provider keys, database passwords, cloud keys and the session tokens captured during engagements; notify clients whose environments were assessed from an affected console; and re-validate findings produced after the image was pulled. On detection, both note the cheap check — the backdoored build serves a fixed UI build ID, 3aC1db3gGU08O4UHbAt4J, on every page — and the weaker one: any request to the login route whose JSON body carries a captcha key is suspect, because the official client sends only a username and a password. The Cloud Security Alliance adds the caveat that absence of such log entries proves nothing, since an attacker with root can delete them.

Substitution, not a vulnerability

Nothing in this record is a flaw in ARTEX that a patch would close. The attacker did not compromise the upstream maintainer or slip code into a reviewed repository; they waited for the reference point to disappear. Once the canonical source was withdrawn, a copy with a cosmetically clean history and a bought star count became the most visible ARTEX on GitHub, and the only thing a user had to miss was one line in a compose file. The Cloud Security Alliance frames the structural conditions: tags are mutable, so a namespace owner can change an image's contents at will; Docker Hub namespaces are first-come and carry no link to the upstream project; and docker compose up does not show which digest a tag resolved to. Removal of the original also removed the thing an informed user would have compared against.

That is why the counts in this record read the way they do. Nine thousand pulls and 637 repositories measure how far a substituted artefact travelled; 62 consoles and 46 still answering measure where it actually landed; and the archive's real-harm flag, set to false, records that no harm was established. The image is gone from Docker Hub. The builds are not gone from the internet, and the consoles that were pointed at other people's networks are still pointed at them.