Skip to content

When a language model attacks: ARTEX on your own network

· security, network, technology, server

An open tool lets language models look for holes on their own. What it does, what it found in our test — and what that means for a small server.

For some years there have been tools that tap at a server. They work through a list: open ports, old versions, known holes. ARTEX takes a different route. You give it a target and a description of what should be achieved, and a language model decides for itself what to try next.

The name means “autonomous system for penetration tests”. It is written in Go with a Next.js front end, licensed under AGPL-3.0. We installed it in a throwaway VM and let it run.

A project that changed its place

The original lived at github.com/Autumn-27/ARTEX and is no longer reachable on 29 November 2026 — 404. It is continued as a fork of RuoJi6/ARTEX, maintained by the company ChainReactors, with commits up to 27 November 2026. The online demo from the announcement answers with 402.

We tested that continuation. It is not a final stop either: anyone searching for ARTEX today finds several forks and no address that stays.

How it works

Two roles alternate. A planner reads what is known so far, breaks the goal into individual intentions and decides which of them to pursue next. A worker takes exactly one of those intentions, runs real commands and HTTP requests, and writes back what it saw. Then the planner plans again. This goes round in circles until the goal is reached or nothing is left.

Everything that comes out of it lands in two graphs: an inventory that records what exists — domain, subdomain, service, endpoint — and a history that records what was tried and what came of it. The language model does not get the raw output of every command, but a summary of that graph; it fetches details when it needs them. That is the reason such a thing can run for a long time at all without the costs running away.

Three further properties matter more for our context than the technical detail:

The traffic is recorded. What the worker sends and what comes back is stored and can be searched by the planner. A human does the same when testing: they page through the responses, compare, and notice things that were not obvious at first glance.

There is a gate. Rules can stop tool calls: allow, deny, or hold for approval. That is the difference between “runs through the night” and “stops before it does something broken”.

The model is interchangeable. Anthropic, OpenAI or an interface of your own, including local ones. Without a configured model nothing happens — the application stands still, completely.

Our attempt

What such a tool can really do is known only once it has run. So we installed ARTEX in an isolated VM, without access from outside, and connected it to a small model on the same machine. The connection could be checked and worked. Then a run against a test machine on our own network, for two minutes, with the traffic fully recorded.

The result in numbers: 22 commands, no finding. That is not a verdict on the tool but on the model: a small model running on the same machine does not reliably recognise which answer from a web server is interesting. The application itself did what it should — planned, executed, wrote back. Only what came back was worth nothing.

Two things I learned from it that are in no manual. First: the quality of the result depends almost entirely on the language model and hardly at all on the application. Second: such a tool needs a task a human formulates. “Test the server” produces no run, at least no sensible one.

What that means for a small server

A language model that decides for itself what to try next does not change the attack surfaces. It changes the number of attempts someone can direct at them without being present.

Concretely: a tool with a list tries what is on the list. An agent reads the response, notices that the login is named differently than expected, and tries again. It does not get bored after the third failure, and it does not write a fixed identifier into the user agent — the continuation of the project even has a commit of its own for that, which picks random browser identifiers for outgoing requests.

For operations this does not mean the previous advice was wrong. It means something different from what one thinks while reading it:

  • fail2ban slows a program that works in fixed steps. It blocks an address after five failed attempts within ten minutes. An agent that tries slowly enough stays below that — and if it changes the user agent, an exception for “Googlebot” does not help against that either. That is exactly why our article says such an exception is not a good idea.
  • Keys instead of passwords is the measure least touched by all this. Whoever may log in only with a key has no password a model could guess. An agent can only attack the key itself there, and that is a different order of magnitude.
  • Updates become more important, not less. An agent recognises version numbers and looks for what matches them. A server that has not been updated for a year is an open book to it. How to do that automatically is in the same article.
  • A backup you can restore remains the answer to the case where someone does not just look but leaves something behind. No model decides whether you have a copy. What a backup looks like that you can actually open is in the article Passwords do not belong in someone else’s hands.

A project that sets its own limits

The part that occupied me longest is not in the source code but in the README. Under a section of its own, headed “prohibited things”, it states that it is strictly forbidden to use the tool against any website, online service or networked system, regardless of whether permission was given and whether the systems are your own. What is permitted is reading, learning and checking in a local, isolated environment.

That is not a condition of the licence but a rule of the project, and it reaches further than the law: whoever checks their own server does not need to ask anyone for permission. The project therefore restricts permitted use more than the law would with a test system of your own.

The reason is understandable. A system that plans for itself does things nobody foresaw. Whoever lets it loose on a server whose behaviour they do not know carries the consequences — and afterwards cannot say it was not meant that way.

So whoever considers pointing such a thing at their own server: the project says no, in a case where the law would have no objection. What remains is the way via a copy of the environment — a test machine, a container, an isolated network in which a mistake costs nothing.

What we take from it

ARTEX has not refuted our guides. It has confirmed the order in which they are built — first the key, then the firewall, then the services, then the log, as described in From an empty VPS to a secure web server. An agent that cannot log in needs no defence against its login.

What remains open is whether a small model on own hardware delivers usable results. Our run says no. A larger model via an interface would be the next attempt — only that costs money per request, and an agent makes many. An estimate: a run with a few hundred requests comes to a few euros with a commercial model.

For your own server none of this changes the order. It changes the expectation: the attempts do not only become more numerous, they also become more patient.

Sources

All addresses retrieved on 29 November 2026, each answered HTTP 200.

  1. Continuation of the project with licence, architecture and usage rules: https://github.com/RuoJi6/ARTEX
  2. Introduction of the project in July 2026, describing planner, worker, graphs and approval: https://github.com/ruanyf/weekly/issues/10911
  3. Retrieval of the original repository on 29 November 2026: 404 (no entry, because unreachable); evidence of the earlier state: https://web.archive.org/web/20261007142555/https://github.com/Autumn-27/ARTEX
  4. Company maintaining the continuation: https://www.chainreactors.ai
  5. Tool for inventory from which assets can be imported: https://github.com/Autumn-27/ScopeSentry
  6. Ready-made container image for trying it out: https://hub.docker.com/r/ruoji6/artex

← all posts