---
title: "ARTEX, Verified: A Reproducible Build of a Pentest Agent"
slug: "artex-reproducible-build-verified-pentest-agent"
date: "2026-11-29"
tag: "Infrastructure"
products: []
summary: "ibl.ai's ARTEX build pins the autonomous penetration-testing platform to upstream commit 3cb0638, vendors about 70 Go modules, compiles with no network and rebuilds byte for byte, with ibl/verify.sh passing 5 of 5 checks."
author: "ibl.ai Engineering"
linkedin: |
  An autonomous pentest agent runs shell commands, holds your LLM API keys and sits inside the network you defend, so ibl.ai's build of ARTEX proves where every byte came from.

  ARTEX is an open-source autonomous penetration-testing platform. Our team keeps a pinned, vendored, reproducibly built copy of it for the Evaluate stage of our AI Security service.

  What shipped:

  Pinned to one upstream commit, 3cb0638, with its full history kept and every changed file listed by name.

  About 70 Go modules vendored and checked against the public Go checksum database.

  A hermetic compile with no network, and byte-identical binaries on every rebuild.

  One script, ibl/verify.sh, that re-derives each claim instead of reporting a stored result: 5 of 5 checks pass on a fresh clone.

  Release binaries whose digests equal the committed hashes, so a security team can rebuild on its own machine and compare.

  The credit for ARTEX belongs to its authors. Ours is the verification and the containment around it.

  With ibl.ai you own all the code and the data, and your security team can check the build instead of trusting it.

  #iblai #AgenticAI #EnterpriseAI #AISecurity #SupplyChainSecurity #ReproducibleBuilds #PenetrationTesting
---

**ibl.ai's engineers shipped a verified build of ARTEX, the open-source autonomous penetration-testing platform, pinned to upstream commit `3cb0638`, with every Go module vendored, a no-network compile and byte-identical rebuilds, so on ibl.ai you own all the code and the data and can re-check every claim.**

ARTEX is one of the tools our team uses in the Evaluate stage of [AI Security](/service/ai-security), a service that also covers AI red teaming, posture assessment and defensive agents.

ARTEX was written by Autumn-27 and continued at BaaRai/ARTEX under AGPL-3.0. ibl.ai adds verification and containment and takes no credit for the tool itself. This entry covers the supply-chain half, as tested on 2026-11-25.

## Why is an autonomous penetration-testing agent a supply-chain risk?

An autonomous pentest agent is close to the ideal trojan. It is built to run shell commands, scan networks, hold your LLM API keys, record traffic through a man-in-the-middle proxy and sit inside the network you defend. A backdoored copy needs no exploit, only an install.

ARTEX makes that concrete. The original repository is no longer public, and what remains are forks. The server pulls about 70 Go modules, one swapped for a personal fork by a `replace` line, and none of that dependency code lives in the upstream repository.

A prebuilt image or binary may not match the source shown beside it. So ibl.ai's ARTEX build does not ask a security team to trust ibl.ai instead: every claim about it is a command the team can run.

## How does ibl.ai prove its ARTEX binary matches the source?

<a href="/images/ai-security/artex-diagram-verify.webp" target="_blank" rel="nofollow noopener noreferrer"><img src="/images/ai-security/artex-diagram-verify.webp" alt="Diagram titled From upstream source to a binary you can check: upstream commit BaaRai/ARTEX pinned at 3cb0638, then the repository with vendored dependencies and changes listed by name, then a hermetic build with pinned toolchain images and no network, then binaries and hashes in ibl/SHA256SUMS, then your own rebuild, with three checks below for same source, same dependencies and same binary." width="1600" height="700" loading="lazy" decoding="async" /></a>

The script `ibl/verify.sh` re-derives each link in that chain rather than reporting a stored result. Its three steps:

<table style="width:100%; border-collapse:collapse; margin:1.5rem 0; font-size:0.95rem;">
  <thead>
    <tr style="background:#f5f5f0; border-bottom:2px solid #2175C5;">
      <th style="text-align:left; padding:0.75rem; color:#5f6368;">Step</th>
      <th style="text-align:left; padding:0.75rem; color:#5f6368;">What it re-derives</th>
    </tr>
  </thead>
  <tbody>
    <tr style="border-bottom:1px solid #e5e7eb;"><td style="padding:0.75rem;"><strong>1. Same source</strong></td><td style="padding:0.75rem;">Commit <code>3cb0638</code> is in the history and published upstream; the files that differ from it are exactly those in <code>ibl/CHANGED-FILES</code>.</td></tr>
    <tr style="border-bottom:1px solid #e5e7eb;"><td style="padding:0.75rem;"><strong>2. Same dependencies</strong></td><td style="padding:0.75rem;"><code>vendor/</code> is what <code>go mod vendor</code> produces from <code>go.sum</code>, every module verified against <code>sum.golang.org</code>.</td></tr>
    <tr style="background:#f0f9ff; border-bottom:1px solid #e5e7eb;"><td style="padding:0.75rem;"><strong>3. Same binary</strong></td><td style="padding:0.75rem;">A fresh build with no network reproduces the checksums in <code>ibl/SHA256SUMS</code>, byte for byte.</td></tr>
  </tbody>
</table>

On a fresh clone, `ibl/verify.sh` passes 5 of 5 checks. Independent builds of the same commit produced byte-identical binaries and frontend files, and the forked module `Autumn-27/norma` is byte-identical to its `BaaRai/Norma v0.4.11` tag.

The release binaries, for Linux amd64 and arm64 and macOS arm64, were downloaded back and their digests equal `ibl/SHA256SUMS`. They are not cryptographically signed: the assurance comes from reproducing the build with `ibl/build-verified.sh`.

## What did ibl.ai change in the ARTEX source code?

About 270 lines of upstream code changed, including one new test, and every file is named in `ibl/CHANGED-FILES`. Upstream's CI workflows are removed, so there is no pipeline to tamper with: the build runs on your own machine from a commit you chose.

The 2026-11-25 review was static, and nothing from the repository ran before it. The ~730 Go runtime files were covered by targeted searches with each hit read in context. It found no backdoor, phone-home, hidden exfiltration, hardcoded credential or obfuscated code.

It did find six weaknesses in ARTEX's own code, written by the open-source project's authors. None was in ibl.ai's platform or written by ibl.ai. All six are closed in ibl.ai's build:

<table style="width:100%; border-collapse:collapse; margin:1.5rem 0; font-size:0.95rem;">
  <thead>
    <tr style="background:#f5f5f0; border-bottom:2px solid #2175C5;">
      <th style="text-align:left; padding:0.75rem; color:#5f6368;">#</th>
      <th style="text-align:left; padding:0.75rem; color:#5f6368;">In the open-source project's code</th>
      <th style="text-align:left; padding:0.75rem; color:#5f6368;">In ibl.ai's build</th>
    </tr>
  </thead>
  <tbody>
    <tr style="border-bottom:1px solid #e5e7eb;"><td style="padding:0.75rem;">1</td><td style="padding:0.75rem;">Console rendered remote images from LLM output</td><td style="padding:0.75rem;">Strict content security policy; images render as inert text</td></tr>
    <tr style="border-bottom:1px solid #e5e7eb;"><td style="padding:0.75rem;">2</td><td style="padding:0.75rem;">API answered with <code>Access-Control-Allow-Origin: *</code></td><td style="padding:0.75rem;">Off unless <code>ARTEX_DEV_CORS=1</code></td></tr>
    <tr style="border-bottom:1px solid #e5e7eb;"><td style="padding:0.75rem;">3</td><td style="padding:0.75rem;">Session token readable by page script</td><td style="padding:0.75rem;"><code>HttpOnly</code>, <code>SameSite=Strict</code> cookie and a logout endpoint</td></tr>
    <tr style="border-bottom:1px solid #e5e7eb;"><td style="padding:0.75rem;">4</td><td style="padding:0.75rem;">Browser extension would send traffic to an <code>http://</code> server</td><td style="padding:0.75rem;"><code>https://</code> or loopback only</td></tr>
    <tr style="border-bottom:1px solid #e5e7eb;"><td style="padding:0.75rem;">5</td><td style="padding:0.75rem;">Installer piped a remote script to a shell; Postgres on <code>0.0.0.0:5432</code></td><td style="padding:0.75rem;">Pipe removed; Postgres on <code>127.0.0.1</code></td></tr>
    <tr style="border-bottom:1px solid #e5e7eb;"><td style="padding:0.75rem;">6</td><td style="padding:0.75rem;">CI sent issue text to a third-party LLM API and ran a release job</td><td style="padding:0.75rem;">Workflows removed</td></tr>
  </tbody>
</table>

Upstream's own server test suite passes 1,013 tests against a database. Six privilege-isolation tests fail, identically on the unmodified code in the same test container.

## What does ibl.ai's ARTEX build not prove?

- **Reviewed is not bug-free.** A clean static review lowers the chance of a planted backdoor; it cannot show none exists. Six further weaknesses in the open-source project's code remain open and are written down in `ibl/AUDIT.md`.
- **The frontend's npm packages are pinned, not reviewed.** They are fixed by integrity hash and installed with lifecycle scripts off.
- **One machine so far.** Byte-identical rebuilds are confirmed on a single arm64 host; a second machine is the next check.
- **Toolchain images are pinned by digest**, which fixes what was used, not who built them.
- **No task has been run with a live model** in the recorded tests.

That is why the build ships inside a [default-deny network lock](/updates/artex-default-deny-network-lock-leak-test): it keeps ARTEX contained even if a claim turns out to be wrong.

## What does a security team get from ibl.ai's verified ARTEX build?

In an [AI Security](/service/ai-security) engagement, your security team receives the repository and can re-run all 5 checks, rebuild with no network and compare hashes on a machine ibl.ai does not control. Our team keeps the pin, the review and the build current as the partnership continues.

The same no-network discipline runs through ibl.ai's [air-gapped deployments](/service/air-gapped-ai).

## What else is in the ARTEX series?

- [How an autonomous penetration test runs end to end with ARTEX](/updates/artex-autonomous-penetration-testing-how-it-works): goals, planner and workers, evidence-backed findings and approval gates.
- [ARTEX's default-deny network lock and its 14-of-14 leak test](/updates/artex-default-deny-network-lock-leak-test): what the agent can reach, and what it cannot.
- [ARTEX on a dedicated VM behind three firewalls](/updates/artex-dedicated-vm-three-firewalls-aws-terraform): the operator's machine, the jump host and the AWS Terraform.
