ibl.ai's ARTEX build runs an open-source autonomous pentest agent inside a default-deny network lock it cannot change, even as root: one exit on port 443 to named hosts, only the targets you list, and 14 of 14 leak probes blocked. With ibl.ai, you own all the code and the data.
ARTEX was written by Autumn-27 and continued at BaaRai/ARTEX under AGPL-3.0. ibl.ai's engineers add verification and containment and take no credit for the tool itself. It is one of the tools our team uses in the Evaluate stage of AI Security.
The tests below are of the tool and its lock, run on 2026-11-25. None ran a pentest task with a live model.
What does a default-deny network lock around an autonomous pentest agent do?
ibl.ai's ARTEX lock is four containers. netguard owns a network namespace and installs an nftables output chain with policy drop. ARTEX shares that namespace but holds no NET_ADMIN, NET_RAW, SYS_ADMIN or SYS_PTRACE, so even root inside it cannot change the rules.
The only exit is egress, a tinyproxy that connects to hostnames on ALLOW_HOSTS and whose own packet filter opens TCP 443 and nothing else.
The lock fails closed. If netguard is not healthy, ARTEX has no namespace to join and does not start.
What ARTEX can reach inside the lock. Diagram by ibl.ai.
In what order does the ARTEX network lock check each outbound connection?
Every connection from ARTEX's namespace walks seven rules, top to bottom:
- Reject anything to
127.0.0.11, Docker's embedded DNS forwarder. - Accept loopback.
- Accept replies to established inbound connections (the console).
- Accept Postgres on 5432 and the proxy on 8888, by fixed IP.
- Reject
169.254.0.0/16and the stack's own three subnets, whateverALLOW_CIDRSsays. - Accept destinations in
ALLOW_CIDRS. Entries shorter than/8are refused at start-up. - Record the destination in the
deniedset, count it, reject it.
IPv6 has no accept rule and is rejected.
The order each outbound connection is checked. Diagram by ibl.ai.
How do ALLOW_DOMAINS and ALLOW_CIDRS scope an ARTEX penetration test?
Both start empty, so ARTEX reaches only its database and the proxy. ALLOW_CIDRS takes IPv4 ranges and covers every port on them; a /32 is one machine. ALLOW_DOMAINS takes bare hostnames, with no wildcards: example.com does not bring in api.example.com.
ibl/deploy/up.sh resolves each name once, outside the lock, allows each address as a /32 and pins the name in the namespace's hosts file. DNS stays blocked, so a name cannot be re-pointed mid-test.
Protected ranges still win: cloud metadata at 169.254.0.0/16 and the stack's networks 172.30.97.0/24 to 172.30.99.0/24 are refused even if listed. Settings come only from .env.
What did the ARTEX leak test try, and what got out?
Nothing got out. From inside the ARTEX container, as root, with ALLOW_HOSTS=example.com and empty ALLOW_CIDRS, ibl/deploy/leaktest.sh blocked 14 of 14 probes. The first seven rows are those probes; the rest are scope checks from the same run.
| Attempt | Result |
|---|---|
| TCP to 1.1.1.1:443, 8.8.8.8:443, a GitHub IP, a web IP on 80 | Rejected |
| UDP DNS to 1.1.1.1, 8.8.8.8, 9.9.9.9 | Rejected |
| Name lookup through Docker's resolver | Rejected |
| Proxy container on a port other than 8888 | Rejected |
CONNECT to a host not on the allowlist | 403 Filtered |
CONNECT to an allowed host on port 22 | Refused (403) |
Plain GET on port 80 through the proxy | Refused |
ALLOW_CIDRS naming 169.254.169.254 | Still rejected |
ALLOW_CIDRS=0.0.0.0/1 | Firewall refuses to start; ARTEX does not start |
CONNECT example.com:443 | 200, the one intended exit |
The leak test earned its place while the lock was being built. An early draft of the rules blocked direct traffic, but Docker's own resolver at 127.0.0.11 still answered a name lookup. Rule 1 closes that path, and the leak test checks for it on every run.
up.sh runs the leak test each time it starts the stack, and stops the stack if anything gets out.
How does a security team see what ARTEX tried to reach?
The denied set is the tripwire. It holds refused IPv4 TCP and UDP destinations for up to seven days, until netguard is recreated. Read it with ibl/deploy/dc.sh exec netguard nft list set inet netguard denied; ibl/deploy/dc.sh logs egress lists every host the proxy refused.
For a first burn-in, set ALLOW_HOSTS= empty and leave ALLOW_CIDRS empty, then read the set.
Which channels does the ARTEX network lock leave open?
A firewall with an allowlist has exactly the holes you put in it. Our team names five.
- The LLM API. The proxy sees only the hostname, not TLS contents. A local model with
ALLOW_HOSTS=empty removes the internet path, the posture of Air-Gapped AI. - The targets. Anything in
ALLOW_CIDRSis reachable on every port. - The console, on host loopback port 8787.
- Disk: findings, traffic captures and encrypted API keys.
- The kernel, shared with the engine. A dedicated VM adds two more firewalls.
A customer's security team receives the repository in an engagement and can re-run every check, starting with ibl/deploy/leaktest.sh.
What else is in the ARTEX series?
The other three entries cover the rest of the work:
- How an autonomous penetration test runs with ARTEX
- The reproducible build pinned to upstream commit 3cb0638
- Where it runs: a dedicated VM behind three firewalls
ARTEX is one tool inside AI Security, alongside AI red teaming, posture assessment and defensive agents.

