This branch is the English archive, not the current product. In-app updates stay off unless ARTEX_UPDATES=1, the release workflow can no longer publish :latest, Terraform rejects a world-open admin CIDR, and CI rejects the known-bad prebuilt images. |
||
|---|---|---|
| .github/workflows | ||
| agent | ||
| cmd/artex | ||
| config | ||
| db | ||
| docs | ||
| enrich | ||
| evidence | ||
| guard | ||
| infra | ||
| intercept | ||
| llmpool | ||
| llmrec | ||
| mcphttp | ||
| notify | ||
| program | ||
| report | ||
| screenshots | ||
| scripts | ||
| selfupdate | ||
| server | ||
| sidequestion | ||
| skills | ||
| traffic | ||
| web | ||
| .dockerignore | ||
| .env.example | ||
| .gitattributes | ||
| .gitignore | ||
| build.sh | ||
| CHANGELOG.md | ||
| config.example.json | ||
| dev.sh | ||
| docker-compose.bench.yml | ||
| docker-compose.cloud.yml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| install.sh | ||
| LICENSE | ||
| README.md | ||
| reset-password.sh | ||
| SECURITY.md | ||
| start.bat | ||
| start.sh | ||
| update.sh | ||
ARTEX English
Archive line, do not expose. This branch is the natural-English edition of upstream v0.3.14. That release has a publicly reported console authentication bypass. Later maintained lines fixed it. Do not put this build on a network, and do not treat it as the current product.
The current line is
next, based on BaaRai/ARTEX v0.7.0, with this fork's cloud installer and a defender pack. Read SECURITY.md. In-app updates on this archive are off unlessARTEX_UPDATES=1.
An English-language fork of Autumn-27/ARTEX, an autonomous security research system with a Go backend, PostgreSQL storage, and a Next.js interface. The original repository was deleted on 2026-10-08. The last open upstream tag, v0.3.15, is archived at Hinln/ARTEX. This repository is not ThreatBook RedAgents and it is not an official continuation by the original author.
The interface contains task planning, agent sessions, findings, asset graphs, traffic evidence, approval records, model configuration, and system settings. The hosted preview uses simulated data. A functioning local installation requires PostgreSQL and an LLM configuration.
This fork translates the interface, preview data, built-in agent prompts, backend messages, and documentation. Existing installations keep previously saved prompts until an administrator resets them to the built-in defaults.
Interface
These are the English preview screens. They use simulated data. The original repository showed the same screens in Chinese; those image files were not carried into this fork.
| Dashboard | Tasks |
|---|---|
![]() |
![]() |
| Task session | Exploration graph |
|---|---|
![]() |
![]() |
| Findings | Assets |
|---|---|
![]() |
![]() |
| Asset coverage |
|---|
![]() |
| Traffic | Chat |
|---|---|
![]() |
![]() |
| Agents | LLM configuration |
|---|---|
![]() |
![]() |
| Interception rules | Logs |
|---|---|
![]() |
![]() |
Preview and deployment
Two deployments exist, and they are not interchangeable.
The hosted preview at artex-english.vercel.app is the Next.js interface with NEXT_PUBLIC_MOCK=1. It uses simulated tasks, assets, and findings. It does not run the Go backend, PostgreSQL, or an agent. Import this repository into Vercel with these settings:
| Setting | Value |
|---|---|
| Root directory | web |
| Framework | Next.js |
| Build command | NEXT_PUBLIC_MOCK=1 npm run build |
The build command is included in web/vercel.json. A Vercel deployment of web/ provides the frontend preview only.
To run that same preview locally:
cd web
npm ci
NEXT_PUBLIC_MOCK=1 npm run dev
Open the address printed by Next.js. The mock preview requires no database or model credentials.
A functioning deployment runs the Go server and PostgreSQL together. Locally, copy .env.example to .env, set POSTGRES_PASSWORD, and run docker compose up -d --build, then open http://localhost:8787. In the cloud, use the Terraform stack for one virtual machine on AWS, Google Cloud, or Azure. Set tier to free, small, standard, or work. standard is the default and the size that can build the application on the VM. free selects each provider's smallest published free shape. Google Cloud is the one that can stay inside an always-free allowance. Each stack installs Docker, builds this fork, and starts Postgres, the application, and Caddy. SSH and the website start limited to an admin IP you supply.
| Path | Where it runs | Data |
|---|---|---|
Vercel, or NEXT_PUBLIC_MOCK=1 npm run dev |
Next.js only | Simulated, in the browser |
docker compose up |
Your machine, http://localhost:8787 |
Local Postgres |
| infra/aws, infra/gcp, or infra/azure | One cloud VM behind Caddy | Postgres on that VM |
Every variable, the DNS and HTTPS rules, backups, and update steps are in infra/README.md. Review the upstream author's usage conditions below before provisioning or using the software.
Build the English application
The default Docker Compose configuration builds the frontend and backend from this fork's source. Copy the example environment file, set a strong database password, and start the services:
cp .env.example .env
# Edit POSTGRES_PASSWORD in .env.
docker compose up -d --build
Open http://localhost:8787 to complete administrator setup. Add an LLM provider through the interface or the supported environment variables, including ANTHROPIC_API_KEY or OPENAI_API_KEY.
For a native build, install the versions of Go and Node.js specified by go.mod and web/package.json, and provide a PostgreSQL instance. Build the static interface and embed it in the Go binary:
cd web
npm ci
npm run build:static
cd ..
mkdir -p server/webui/dist
cp -R web/out/. server/webui/dist/
CGO_ENABLED=0 go build -tags embedui -o artex ./cmd/artex
cp config.example.json config.json
./start.sh
Set the database connection in config.json or ARTEX_PG_DSN. start.sh manages restarts requested by the in-app updater. The updater checks releases from this fork.
Application structure
| Directory | Role |
|---|---|
agent/ |
Agent roles, prompts, and tools |
db/ |
PostgreSQL storage and schema |
server/ |
HTTP API, authentication, and event streams |
traffic/ and evidence/ |
Traffic capture and evidence storage |
web/ |
Next.js interface and simulated preview data |
skills/ |
Agent skill instructions |
The backend coordinates a planner and workers around an exploration graph and a shared asset graph. The interface presents tasks, session traces, discoveries, asset coverage, and approval decisions. See the architecture guide for the data model and execution flow.
Development checks
go test ./...
cd web
npm ci
npx tsc --noEmit
NEXT_PUBLIC_MOCK=1 npm run build
For integrated local development, ./dev.sh starts the Go backend, traffic proxy, and Next.js development server. The cloud deployment guide covers virtual machines, DNS, HTTPS, and operations.
License and use conditions
ARTEX is licensed under the GNU Affero General Public License, version 3. Preserve the license, source disclosure obligations, and attribution when distributing modified versions or offering them over a network. If you run this program as a network service, AGPL requires you to offer the corresponding source to users of that service.
Run it only in a lab you control, against systems you own or have explicit written authorization to test. Do not expose the console or the recording proxy to the internet. A public census in November 2026 found on the order of a thousand ARTEX consoles reachable from the internet.
The original author published a stricter notice, which this build still shows at login and which remains in git history: personal study and local technical verification, and a prohibition on scanning or attacking networked systems. That notice is not erased here. The deleted upstream README is not a living link. Use the v0.3.15 archive at Hinln/ARTEX when you need the last open upstream tree.
This fork acknowledges Autumn-27 and the upstream contributors. Its English text is a translation and adaptation for accessibility. Git history preserves the upstream source and its original wording.












