FailSafe Rebuilds ARTEX After a Backdoored Docker Image Exposed Remote Code Execution
A source-built fork of the ARTEX multi-agent pentester strips out a known backdoor and locks the console to localhost by default.
Takeaways
- FailSafe published a source-built fork of ARTEX, a multi-agent autonomous pentester written in Go.
- The upstream prebuilt tomicdd/artex image contained an unauthenticated command-execution backdoor discovered in November 2026.
- The fork compiles from the audited v0.3.15 tag, binds the console to localhost, and unpublishes the recording proxy.
- Base images are pinned by digest, the Playwright MCP launcher is pinned, and one-click self-update is disabled.
- A
make verifytarget checks implant indicators and prints binary and image hashes for reproducibility. - Authorized testing only: the agent runs as root, executes shell commands, and sends real network traffic.
FailSafe has released a source-built ARTEX distribution after its audit found an unauthenticated command-execution backdoor in the prebuilt tomicdd/artex Docker image. The audit dates the discovery to November 2026. Because ARTEX can execute shell commands, automate a browser, and contact network targets, the backdoor gave a remote party code execution inside the container and potential access to test credentials, mounted files, and reachable systems. The code and build files are available in the source repository.
The replacement compiles the pinned v0.3.15 source tag while retaining the full runtime: Node 22, Playwright, Chromium, browser tooling, and nmap. Researchers can inspect the inputs, build the image locally, and compare the resulting artifact with the documented audit.
The image that forced a rebuild
ARTEX is an open-source harness that coordinates multiple agents during authorized offensive-security testing. Those agents can run commands, browse applications, send requests, and use reconnaissance tools. An unauthenticated command endpoint is especially consequential in that environment because the surrounding application already has the permissions and network access needed to conduct a test.
FailSafe’s remediation discards the prebuilt image contents and creates a new artifact from pinned source and dependencies. Its security audit documents the known implant indicators, build process, deployment changes, and remaining risks.
Five controls narrow exposure
The distribution preserves ARTEX’s API, web interface, skills, browser Model Context Protocol integration, and browser-driven reconnaissance. Its changes focus on how the software is built and exposed:
| Control | Implementation | Security effect |
|---|---|---|
| Local console | The supplied Compose configuration publishes the web interface on 127.0.0.1:8787. |
Remote hosts cannot reach the console under the default configuration. |
| Private recording proxy | Port 8788 is unpublished by default. |
The traffic-recording service has no default host-facing port. |
| Restricted privilege gains | The container enables no-new-privileges while retaining Docker’s default capability set. |
Processes cannot acquire additional privileges through mechanisms such as setuid execution. |
| Pinned build inputs | Base images use immutable digests, and the browser MCP launcher uses a fixed playwright-mcp version. |
Builds avoid floating image tags and runtime package resolution through npx. |
| No self-update path | The one-click updater is removed. | Running containers cannot replace their own application code through that mechanism. |
The container still runs as root to preserve upstream capabilities. Operators should use a dedicated host or disposable virtual machine, avoid mounting the Docker socket or sensitive host directories, restrict outbound traffic to approved targets and required providers, and supply narrowly scoped credentials. Loopback publishing reduces network exposure while leaving local access and container isolation as separate concerns.
How ARTEX finds and verifies bugs
ARTEX divides an engagement into subtasks and assigns them to concurrent workers. The workers use a browser, shell tools, and a Model Context Protocol bridge that lets the model control browser actions. A multi-model pool can inspect the same target from different sessions, while identity diffing compares responses across user accounts to detect authorization failures such as Broken Object Level Authorization (BOLA) and Insecure Direct Object Reference (IDOR).
Findings become reviewable through recorded request and response traffic. A tester can modify and resend captured requests in the Repeater pane, then inspect the server’s response. ARTEX can also use out-of-band application security testing (OAST), where an external service records DNS or HTTP callbacks generated by the target. Those callbacks can confirm blind server-side request forgery or out-of-band command execution that produces no visible application response.
Build the full runtime locally
The full container build requires Docker Engine, Docker Compose v2, and roughly 5 GB of free disk space for the browser stack. The environment file contains database and model-provider credentials, so it should remain outside version control with permissions limited to its owner.
cp .env.safe.example .env.safe
chmod 600 .env.safe
# Edit .env.safe and set POSTGRES_PASSWORD.
# Add an LLM provider key if required.
docker compose --env-file .env.safe -f docker-compose.safe.yml up -d --build
The supplied configuration serves the first-run console at http://127.0.0.1:8787, where the remaining provider and workspace settings can be completed.
A bare-binary build is also available through go build with the embedui build tag. That artifact omits Node, Playwright, Chromium, and the reconnaissance command-line tools. The Docker image is therefore required for the complete upstream feature set.
Verification has clear limits
The repository includes a verification target that can be run after the build:
make verify
The target performs three practical checks:
- Scans for the known implant indicators
verifyCaptcha,tomicdd, andcongdonglinux. - Prints the compiled binary’s SHA-256 digest.
- Lists the resulting container image ID.
Coverage remains limited to build provenance and known-indicator detection. Go modules are validated through go.sum, and the browser stack remains the largest third-party dependency surface. The image currently lacks a cryptographic signature and an attached software bill of materials (SBOM). Dependency vulnerabilities, unknown implants, compromised build hosts, and runtime attacks require additional controls and analysis.
Keep the operating boundary tight
Authorized red-team engagements and controlled research environments are the intended settings for this distribution. Suitable uses include:
- Testing owned web applications and APIs from an isolated host.
- Studying multi-agent offensive behavior with inspectable Go source.
- Finding BOLA and IDOR flaws by comparing requests across identities.
- Reproducing agent findings with captured traffic and OAST records.
Environments without explicit testing permission, strong host isolation, or human review fall outside that boundary. ARTEX executes commands and generates network traffic autonomously, and its reports still require manual validation before remediation or disclosure.
A baseline for autonomous security tools
Autonomous security tools combine high-risk capabilities in one runtime: model-directed command execution, browser control, credentials, and network access. Prebuilt images and floating dependencies make that runtime an efficient supply-chain target. Reviewed source, digest-pinned inputs, local-only management ports, restricted updates, signed artifacts, SBOMs, and isolated execution provide a practical baseline. FailSafe’s distribution implements several of those controls, with image signing and SBOM publication remaining as documented gaps.